-
Notifications
You must be signed in to change notification settings - Fork 0
/
thelatexheader.tex
58 lines (53 loc) · 1021 Bytes
/
thelatexheader.tex
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
53
54
55
56
57
58
\pagestyle{headings}
\usepackage{pdfswitch}
\usepackage{a4wide}
\usepackage{alltt}
%\usepackage{color}
\usepackage[british]{babel}
\usepackage{figlatex}
\usepackage{lmodern}
\usepackage{makeidx}
\renewcommand{\indexname}{General index}
\makeindex
\title{\theTitle}
\author{\theAuthor}
\date{\today}
\ifpdf
\renewcommand{\NWlink}[2]{\hyperlink{#1}{#2}}
\renewcommand{\NWtarget}[2]{\hypertarget{#1}{#2}}
\renewcommand{\NWsep}{$\diamond$\rule[-1\baselineskip]{0pt}{1\baselineskip}}
\else
\usepackage{html}
\renewcommand{\NWlink}[2]{\hyperlink{#1}{#2}}
\renewcommand{\NWtarget}[2]{\hypertarget{#1}{#2}}
\fi
%
% Settings
%
\raggedbottom
%
\makeatletter
\if@oldtoc
\renewcommand\toc@font[1]{\relax}
\else
\renewcommand*\toc@font[1]{%
\ifcase#1\relax
\chaptocfont
\or\slshape
\or\rmfamily
\fi}
\fi
\makeatother
%
\newcommand{\chaptocfont}{\large\bfseries}
\newcommand{\pdfpsinc}[2]{%
\ifpdf
\input{#1}
\else
\input{#2}
\fi
}
%%%Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: