aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex30
1 files changed, 1 insertions, 29 deletions
diff --git a/default.latex b/default.latex
index e12002651..d244ef7b9 100644
--- a/default.latex
+++ b/default.latex
@@ -1,10 +1,4 @@
-\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$]{$documentclass$}
-$if(theme)$
-\usetheme{$theme$}
-$endif$
-$if(colortheme)$
-\usecolortheme{$colortheme$}
-$endif$
+\documentclass[$if(fontsize)$$fontsize$,$endif$]{$documentclass$}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\ifxetex
@@ -58,8 +52,6 @@ $if(url)$
$endif$
$if(graphics)$
\usepackage{graphicx}
-$if(beamer)$
-$else$
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
@@ -70,15 +62,6 @@ $else$
\let\Oldincludegraphics\includegraphics
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
$endif$
-$endif$
-$if(beamer)$
-% Comment these out if you don't want a slide with just the
-% part/section/subsection/subsubsection title:
-\AtBeginPart{\frame{\partpage}}
-\AtBeginSection{\frame{\sectionpage}}
-\AtBeginSubsection{\frame{\subsectionpage}}
-\AtBeginSubsubsection{\frame{\subsubsectionpage}}
-$else$
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
@@ -91,7 +74,6 @@ $else$
linkcolor=blue]{hyperref}
\fi
\hypersetup{breaklinks=true, pdfborder={0 0 0}}
-$endif$
$if(strikeout)$
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:
@@ -129,25 +111,15 @@ $endif$
\begin{document}
$if(title)$
-$if(beamer)$
-\frame{\titlepage}
-$else$
\maketitle
$endif$
-$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
-$if(beamer)$
-\begin{frame}
-\tableofcontents[hideallsubsections]
-\end{frame}
-$else$
\tableofcontents
-$endif$
$endif$
$body$