var meth
[lectures/latex.git] / physics_compact / phys_comp.tex
1 \pdfoutput=0
2 \documentclass[twoside,a4paper,11pt,openany]{book}
3 %\documentclass[twoside,a4paper,11pt,draft]{book}
4 \usepackage[activate]{pdfcprot}
5 \usepackage{verbatim}
6 \usepackage[a4paper,textheight=636pt,textwidth=442pt,includeheadfoot]{geometry}
7 \usepackage[english,german]{babel}
8 \usepackage[latin1]{inputenc}
9 \usepackage[T1]{fontenc}
10 \usepackage{amsmath}
11 \usepackage{ae}
12 \usepackage{aecompl}
13 \usepackage[dvips]{graphicx}
14 \graphicspath{{../img/}}
15 \usepackage{subfigure}
16 \usepackage{color}
17 \usepackage{pstricks}
18 \usepackage{pst-node}
19 \usepackage{rotating}
20 \usepackage{fancyhdr}
21
22 % custom sections
23 \usepackage{titlesec}
24
25 % cites
26 \usepackage[numbers,sort,compress]{natbib}
27
28 % list of publications
29 \usepackage{multibib}
30 %\usepackage[resetlabels]{multibib}
31 \newcites{pub}{List of publications}
32
33 % box around verbatim text
34 \usepackage{fancyvrb}
35
36 % miller
37 \usepackage{miller}
38
39 % in use?
40 \usepackage{slashbox}
41
42 % smaller captions ...
43 \usepackage[small,bf]{caption}
44
45 % units
46 \usepackage{units}
47
48 % shortcuts
49 \newcommand{\si}{Si$_{\text{i}}${}}
50 \newcommand{\ci}{C$_{\text{i}}${}}
51 \newcommand{\cs}{C$_{\text{s}}${}}
52 \newcommand{\degc}[1]{\unit[#1]{$^{\circ}$C}{}}
53 \newcommand{\degk}[1]{\unit[#1]{K}{}}
54 \newcommand{\distn}[1]{\unit[#1]{nm}{}}
55 \newcommand{\dista}[1]{\unit[#1]{\AA}{}}
56 \newcommand{\perc}[1]{\unit[#1]{\%}{}}
57
58 % (re)new commands
59 \newcommand{\printimg}[5]{%
60  \begin{figure}[#1]%
61  \begin{center}%
62  \includegraphics[#2]{#3}%
63  \caption{#4}%
64  \label{#5}%
65  \end{center}%
66  \end{figure}%
67 }
68
69 \pagestyle{fancy}
70
71 \renewcommand{\chaptermark}[1]{
72  \markboth{\thechapter.\ #1}{}
73 }
74 \renewcommand{\sectionmark}[1]{
75  \markright{\thesection.\ #1}
76 }
77 \fancyhf{}
78 \fancyhead[LE,RO]{\thepage}
79 \fancyhead[LO]{\nouppercase\rightmark}
80 \fancyhead[RE]{\nouppercase\leftmark}
81
82 % hyphenation
83 \hyphenation{}
84
85 % colors
86 \newrgbcolor{hb}{0.75 0.77 0.89}
87 \newrgbcolor{lbb}{0.75 0.8 0.88}
88 \newrgbcolor{lachs}{1.0 .93 .81}
89
90 % roman numbers
91 \newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1{}}}
92
93 % vectors are simply represented by bold font characters
94 \renewcommand{\vec}[1]{{\bf #1{}}}
95
96 % author & title
97 \author{Frank Zirkelbach}
98 \title{Physics compact}
99
100 \begin{document}
101
102 % english
103 \selectlanguage{english}
104
105 \frontmatter{}
106 \include{title}
107 \include{contents}
108 %\include{lists}
109
110 \mainmatter{}
111 \include{intro}
112 \include{mech}
113 \include{qm}
114 \include{stat}
115 \include{solid}
116 \include{sim}
117
118 \appendix{}
119 \part{Appendices}
120 \include{math}
121
122 \backmatter{}
123 \include{literature}
124 \include{ack}
125
126 \end{document}