Skip to content
Permalink
Browse files
Removed Beamer Stuff from Template File
  • Loading branch information
aa9863 committed Sep 20, 2018
1 parent fbf3c49 commit d0f1ab052b0abc70293a2fc77b795e4f45b50790
Showing 1 changed file with 21 additions and 104 deletions.
@@ -5,15 +5,6 @@ $if(colorlinks)$
$endif$
%
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
% $if(beamer)$
% \setbeamertemplate{caption}[numbered]
% \setbeamertemplate{caption label separator}{: }
% \setbeamercolor{caption name}{fg=normal text.fg}
% \beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
% $endif$
% $if(beamerarticle)$
% \usepackage{beamerarticle} % needs to be loaded first
% $endif$

%DG - Remove font familty stuff
$if(fontfamily)$
@@ -148,17 +139,9 @@ $highlighting-macros$
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
$if(beamer)$
\usepackage{caption}
% These lines are needed to make table captions work with longtable:
\makeatletter
\def\fnum@table{\tablename~\thetable}
\makeatother
$else$
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
$endif$
$endif$
$if(graphics)$
\usepackage{graphicx,grffile}
\makeatletter
@@ -170,43 +153,6 @@ $if(graphics)$
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
$endif$
%% $if(beamer)$
%% % Prevent slide breaks in the middle of a paragraph:
%% \widowpenalties 1 10000
%% \raggedbottom
%% $if(section-titles)$
%% \setbeamertemplate{part page}{
%% \centering
%% \begin{beamercolorbox}[sep=16pt,center]{part title}
%% \usebeamerfont{part title}\insertpart\par
%% \end{beamercolorbox}
%% }
%% \setbeamertemplate{section page}{
%% \centering
%% \begin{beamercolorbox}[sep=12pt,center]{part title}
%% \usebeamerfont{section title}\insertsection\par
%% \end{beamercolorbox}
%% }
%% \setbeamertemplate{subsection page}{
%% \centering
%% \begin{beamercolorbox}[sep=8pt,center]{part title}
%% \usebeamerfont{subsection title}\insertsubsection\par
%% \end{beamercolorbox}
%% }
%% \AtBeginPart{
%% \frame{\partpage}
%% }
%% \AtBeginSection{
%% \ifbibliography
%% \else
%% \frame{\sectionpage}
%% \fi
%% }
%% \AtBeginSubsection{
%% \frame{\subsectionpage}
%% }
%% $endif$
%% $endif$
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
@@ -224,10 +170,7 @@ $if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
$endif$
$if(beamer)$
$else$
$if(subparagraph)$
$else$
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
@@ -238,7 +181,6 @@ $else$
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
$endif$
$endif$
$if(pagestyle)$
\pagestyle{$pagestyle$}
$endif$
@@ -341,63 +283,45 @@ $if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
$endif$
\date{$date$}
$if(beamer)$
$if(titlegraphic)$
\titlegraphic{\includegraphics{$titlegraphic$}}
$endif$
$if(logo)$
\logo{\includegraphics{$logo$}}
$endif$
$endif$

\begin{document}
\frontmatter
$if(title)$
$if(beamer)$
\frame{\titlepage}
$else$
\maketitle
$endif$
\maketitle
$endif$
%
$if(PDF-ethics)$
\includepdf[pages=-]{$PDF-ethics$}
$endif$
$if(PDF-ethics)$
\includepdf[pages=-]{$PDF-ethics$}
$endif$
%
$if(TEX-declaration)$
%\input{"/tmp/02-Originallity_Statement.tex"}
\input{$TEX-declaration$}
$endif$

$if(TEX-declaration)$
\input{$TEX-declaration$}
$endif$
%
$if(PDF-declaration)$
\includepdf[pages=-]{$PDF-declaration$}
$endif$
$if(PDF-declaration)$
\includepdf[pages=-]{$PDF-declaration$}
$endif$
%
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
%
%
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
$if(beamer)$
\begin{frame}
\tableofcontents[hideallsubsections]
\end{frame}
$else$
{
$if(colorlinks)$
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
$endif$
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
$if(colorlinks)$
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
$endif$
\setcounter{tocdepth}{$toc-depth$}
\tableofcontents
}
$endif$
$endif$
$if(lot)$
\listoftables
$endif$
@@ -419,14 +343,7 @@ $else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
$if(beamer)$
\begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue
$endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$if(beamer)$
\end{frame}
$endif$

$endif$
$endif$

0 comments on commit d0f1ab0

Please sign in to comment.