Skip to content
Snippets Groups Projects
Commit 1afd5cfe authored by Sascha Brandt's avatar Sascha Brandt
Browse files

Added 'submission' option to exclude frontmatter

parent 003f7657
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ tmp
*.cb
*.cb2
.*.lb
*.idx
*.ilg
*.ind
## Bibliography auxiliary files (bibtex/biblatex/biber):
......
No preview for this file type
......@@ -3,9 +3,17 @@
% sample root file for a "seminar paper"
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{amsmath} % Removes warning: "Unable to redefine math accent \vec"
\documentclass{svmult}
\usepackage{seminar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Use the 'submission' option for the submission of a single seminar paper
% This basically just removes the entire frontmatter.
% For the final proceedings just remove the option.
\usepackage[submission]{seminar}
%\includeonly{SI/SI} % Use this to only include a single seminar paper
%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{makeidx} % allows index generation
\usepackage{graphicx} % standard LaTeX graphics tool when including figure files
......@@ -58,31 +66,10 @@ Advisor 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
% Metadata for the PDF
\makeatletter
\usepackage[pdftex, hypertexnames=false, colorlinks=true, citecolor=red, linkcolor=black, bookmarksnumbered=true, bookmarksopen=true, bookmarksopenlevel=1,%
pdfkeywords={\@seminarterm},%
pdfsubject={\@seminartitle}, %
pdftitle={\@seminartitle}, %
pdfauthor={\@seminarcontact}]{hyperref}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%
\pdfmetadata % Metadata for the PDF
\makeindex % used for the subject index
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%
% Title page
\frontmatter%
\maketitlepage
\include{preface}
%\include{cblist}
\contributorlist
\tableofcontents
\mainmatter%
\makefrontmatter % Title page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Include your seminar paper here
......
......@@ -118,4 +118,27 @@ Advisor: \textbf{\csname advisorlist\arabic{index}\endcsname}
\medskip\noindent\email{\@seminaremail}
}
\newcommand\pdfmetadata{
\usepackage[pdftex, hypertexnames=false, colorlinks=true, citecolor=red, linkcolor=black, bookmarksnumbered=true, bookmarksopen=true, bookmarksopenlevel=1,%
pdfkeywords={\@seminarterm},%
pdfsubject={\@seminartitle}, %
pdftitle={\@seminartitle}, %
pdfauthor={\@seminarcontact}]{hyperref}
}
\newcommand\makefrontmatter[1][preface]{%
\frontmatter%
\maketitlepage%
\include{#1}%
\contributorlist%
\tableofcontents%
\mainmatter%
}
\DeclareOption{submission}{%
\renewcommand\makefrontmatter[1][]{}
}
\ProcessOptions\relax
\endinput
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment