This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
010texfoo.tex
174 lines (148 loc) · 4.29 KB
/
010texfoo.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
\documentclass[11pt,a4paper,oneside,liststotoc,listsleft,abstract=true]{scrartcl}
% selectively in/exclude pieces of text
\usepackage{comment}
\includecomment{longversion}
% have koma type headings in rm font
%\addtokomafont{sectioning}{\rmfamily}
%%%% package imports (order matters)
\usepackage{lineno}
% specifies the encoding of this file (and \include or \input files)
\usepackage[latin1]{inputenc}
% in pdfTeX an active font can only refer to 256 glyphs at a time;
% select the std. T1 mapping for this document
\usepackage[T1]{fontenc}
% activate hyphenation
\usepackage[english]{babel}
% activate character protruding for margin kerning,
% i.e. try to get a 'smoother' margin
%\usepackage[activate]{pdfcprot}
\usepackage[protrusion=true,expansion,kerning=true]{microtype}
% activate some symbols, e.g. \textmusicalnote (and more 'important' ones...)
\usepackage{textcomp}
% activate 'pretty' code listings
\usepackage{listings}
% activate ip alphabet
\usepackage{tipa}
% activate the Almost European computer modern font (cf. http://www.ctan.org/tex-archive/fonts/ae/)
%\usepackage{ae}
% XOR
% TeX Gyre (cf. http://www.tug.dk/FontCatalogue)
\usepackage{tgheros}
\usepackage{tgtermes}
% XOR
% activate springer's minion and myriad font
%\pdfmapfile{+springer.map}
%\renewcommand{\sfdefault}{fmy}
%\renewcommand{\rmdefault}{fmnx}
%\renewcommand{\ttdefault}{lmtt}
% allow for inclusion of pdf documents
\usepackage{pdfpages}
%
%\usepackage[right=7cm,left=2.5cm,top=2cm,bottom=3.5cm]{geometry}
\usepackage[top=3.0cm,bottom=4.0cm]{geometry}
\usepackage{setspace}
\usepackage{epic,eepic}
\usepackage{graphicx}
\graphicspath{{./}{./images/}}
% this will produce a warning:
% LaTeX Warning: Command \@makecol has changed.
% seems to occur in combination with the setspace package.
\usepackage[stable, bottom]{footmisc}
%\usepackage{fullpage}
\usepackage{url}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tabularx}
%\usepackage[pdftex]{color}
\usepackage[
pdftex,
final=true,
pdfstartview=FitH
]{hyperref}
%%%% hyper & options
\definecolor{fuchsia}{rgb}{1,0,1}
\definecolor{myblue}{rgb}{0.25,0.25,0.75}
\definecolor{darkblue}{rgb}{0,0,0.75}
\definecolor{darkred}{rgb}{0.4,0,0}
\hypersetup{%
colorlinks=true,
bookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=2,
pdftitle={\mypdftitle},
pdfauthor={\myauthor},
pdfsubject={\mytitle},
pdfkeywords={\mykeywords},
pdfproducer={pdflatex, inkscape, gnuplot},
frenchlinks=true,
pdfborder=0 0 0,
linkcolor=myblue,
%pagecolor=darkblue,
urlcolor=myblue,
citecolor=darkred,
setpagesize=true
}
%
% align numbering in TOC on the left side, i.e.
% 1
% 1.1
% 1.1.1
% ...
%\usepackage{tocloft}
%\usepackage{chngcntr}
%\setlength{\cftchapnumwidth}{\cftsubsubsecnumwidth}
%\setlength{\cftsecnumwidth}{\cftsubsubsecnumwidth}
%\setlength{\cftsubsecnumwidth}{\cftsubsubsecnumwidth}
%\setlength{\cftsubsubsecnumwidth}{\cftsubsubsecnumwidth}
%\setlength{\cftsecindent}{0pt}
%\setlength{\cftsubsecindent}{0pt}
%\setlength{\cftsubsubsecindent}{0pt}
%%%% fancy & options
%\usepackage{fancyhdr}
%\pagestyle{fancy}
%\renewcommand{\footrulewidth}{0.5pt}
%\renewcommand{\headrulewidth}{0.5pt}
%\setlength{\headheight}{25pt}
%\setlength{\headsep}{20pt}
%\renewcommand{\chaptermark}[1]{\markboth{\quad #1}{\quad #1}}
%\renewcommand{\sectionmark}[1]{\markright{#1}}
%\fancyhf{}
%\fancyfoot[CE]{\myauthor}
%\fancyfoot[CO]{\myStitle}
%\fancyhead[LE,RO]{\bfseries\thepage}
%\fancyhead[RE]{\bfseries\leftmark }
%\fancyhead[LO]{\bfseries\rightmark }
% do not reset footnote count or every chapter
%\counterwithout*{footnote}{chapter}
%%%% indexing options
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
%\newcounter{lofdepth}
%\setcounter{lofdepth}{3}
%%%% new commands
\DeclareMathOperator{\project}{project}
\DeclareMathOperator{\CC}{CC}
\DeclareMathOperator{\NCC}{NCC}
\newcommand{\src}[1]{\texttt{#1}}
\newcommand{\fref}[1]{\src{#1} (c.f. \ref{#1})}
\newcommand{\email}[1]{\href{mailto:#1}{#1}}
\newcommand{\grad}[0]{^\circ}
\newcommand{\fig}[4]
{%
\begin{figure}[h]
\centering
\includegraphics[width=#1\textwidth]{#2}
\caption{#3}
\label{#4}
\end{figure}
}
%\renewcommand*{\raggedsection}{}
\renewenvironment{abstract}{%
\addsec*{\abstractname}
}
%%%% typesetting options
\unitlength10mm
\renewcommand*{\tabularxcolumn}[1]{>{\small}m{#1}}
%\usepackage{natbib}
%\bibliographystyle{plainnat}