summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/slidenotes/slidenotes.cfg
blob: 952e9f82953c0aba5979abc557cfe09ff73f40b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% EXAMPLE OF CFG-FILE -- SHOWS CUSTOMIZING
%
% fontchanges; e.g. instead of Computer Modern either Lucida or MathTime:
%\RequirePackage[expert]{lucbr}
%\RequirePackage{mathtime}
%
% Copyright notice found here:
\providecommand{\Copyright}{%
	\InputIfFileExists{\commonfolder copyrightnotice.tex }%
	{\mbox{}}{\mbox{}}}
%
% Allow more stretch in the lines,
% encourage pagebreaking at paragraphs,
% more strongly discourage widows
%
\tolerance=2000 \hbadness=2000
\emergencystretch=1mm
\interlinepenalty=1000
\widowpenalty 1000
%
% squeeze displayed math in slides
\addtokstring{\everyslide}{\addtokstring{\everymath}{%
	\setlength{\abovedisplayskip}{0pt}
	\setlength{\belowdisplayskip}{0pt}}}
%
% spacing between items in sheets
\newcommand{\spacer}[1][\bigskipamount]{\par\addvspace{#1}}
%
% see lost characters (possibly wrong font/encoding)
\tracingonline=1 \tracinglostchars=1
%
% adapted titlepage
\if@titlepage
\renewcommand{\maketitle}{%
\begin{titlepage}
  \begin{center}
    \vspace*{1cm}%
    \mbox{}\rule{2cm}{0.4pt}\mbox{}\par
    \addvspace{1cm}%
    \begin{Large}\textbf{\Collection}\\[10mm]\end{Large}
    \begin{large}\@title\\[5mm]\@author\\[5mm]\@date\\[10mm]\end{large}
    \mbox{}\rule{2cm}{0.4pt}\mbox{}\par
    \addvspace{2cm}\vfill\vfill
  \end{center}%
\begin{flushleft}\Copyright\end{flushleft}%
  \addvspace{2cm}\mbox{}%
\end{titlepage}
\let\maketitle=\relax}
\else\let\maketitle=\relax
\fi
%
\endinput