summaryrefslogtreecommitdiffstats
path: root/manual/preamble.tex
blob: bc19c9e7c937d36bfb6415c9b79c06c93e39d720 (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
53
54
55
56
\documentclass[a4paper,11pt]{report}
\usepackage[latin1]{inputenc}
\usepackage{times}
%\renewcommand{\familydefault}{\sfdefault}

\usepackage{float}
\floatstyle{ruled}

\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref}
\usepackage{xspace}
\usepackage{optional}

\input{platform/\platform.tex}

\newcommand{\playername}{\playerman \playertype}

\newcommand{\fname}[1]{\textbf{#1}}
\newcommand{\tabeltc}[1]{{\centering #1 \par}}
\newcommand{\tabelth}[1]{{\centering \textbf{\textit{#1}} \par}}

\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{lscape}
\usepackage{makeidx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fancyvrb}
\usepackage{enumerate}
\usepackage{subfigure}
\usepackage{color}
\usepackage{booktabs}
%\usepackage{url}
%\urlstyle{same}

\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhead{}
\fancyfoot{}
\fancyhead[RO]{\iffloatpage{}{\rightmark}}
\fancyhead[LE]{\iffloatpage{}{\leftmark}}
\fancyhead[LO,RE]{\iffloatpage{}{\raisebox{-3pt}}}
\fancyfoot[RO,LE]{\iffloatpage{}{\thepage}}

\fancyfoot[CO,CE]{}
\renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}
\renewcommand{\footrulewidth}{\iffloatpage{0pt}{0.4pt}}
\setlength{\headheight}{18.5pt}
\newcounter{example}[chapter]
\newenvironment{example}
    {\stepcounter{example}\paragraph{Example \theexample:}}
    {\hfill$\Box$
    
    \bigskip
    \noindent}