more math
[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{amssymb}
12 \usepackage{ae}
13 \usepackage{aecompl}
14 \usepackage[dvips]{graphicx}
15 \graphicspath{{../img/}}
16 \usepackage{subfigure}
17 \usepackage{color}
18 \usepackage{pstricks}
19 \usepackage{pst-node}
20 \usepackage{rotating}
21 \usepackage{fancyhdr}
22
23 % custom sections
24 \usepackage{titlesec}
25
26 % cites
27 \usepackage[numbers,sort,compress]{natbib}
28
29 % list of publications
30 \usepackage{multibib}
31 %\usepackage[resetlabels]{multibib}
32 \newcites{pub}{List of publications}
33
34 % box around verbatim text
35 \usepackage{fancyvrb}
36
37 % miller
38 \usepackage{miller}
39
40 % in use?
41 \usepackage{slashbox}
42
43 % smaller captions ...
44 \usepackage[small,bf]{caption}
45
46 % units
47 \usepackage{units}
48
49 % shortcuts
50 \newcommand{\si}{Si$_{\text{i}}${}}
51 \newcommand{\ci}{C$_{\text{i}}${}}
52 \newcommand{\cs}{C$_{\text{s}}${}}
53 \newcommand{\degc}[1]{\unit[#1]{$^{\circ}$C}{}}
54 \newcommand{\degk}[1]{\unit[#1]{K}{}}
55 \newcommand{\distn}[1]{\unit[#1]{nm}{}}
56 \newcommand{\dista}[1]{\unit[#1]{\AA}{}}
57 \newcommand{\perc}[1]{\unit[#1]{\%}{}}
58
59 % (re)new commands
60 \newcommand{\printimg}[5]{%
61  \begin{figure}[#1]%
62  \begin{center}%
63  \includegraphics[#2]{#3}%
64  \caption{#4}%
65  \label{#5}%
66  \end{center}%
67  \end{figure}%
68 }
69
70 \pagestyle{fancy}
71
72 \renewcommand{\chaptermark}[1]{
73  \markboth{\thechapter.\ #1}{}
74 }
75 \renewcommand{\sectionmark}[1]{
76  \markright{\thesection.\ #1}
77 }
78 \fancyhf{}
79 \fancyhead[LE,RO]{\thepage}
80 \fancyhead[LO]{\nouppercase\rightmark}
81 \fancyhead[RE]{\nouppercase\leftmark}
82
83 % hyphenation
84 \hyphenation{}
85
86 % colors
87 \newrgbcolor{hb}{0.75 0.77 0.89}
88 \newrgbcolor{lbb}{0.75 0.8 0.88}
89 \newrgbcolor{lachs}{1.0 .93 .81}
90
91 % roman numbers
92 \newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1{}}}
93
94 % vectors are simply represented by bold font characters
95 \renewcommand{\vec}[1]{{\bf #1{}}}
96
97
98 \newtheorem{theorem}{Theorem}[section]
99 \newtheorem{lemma}[theorem]{Lemma}
100 \newtheorem{proposition}[theorem]{Proposition}
101 \newtheorem{corollary}[theorem]{Corollary}
102
103 \newenvironment{proof}[1][Proof]{\begin{trivlist}
104 \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
105 \newenvironment{definition}[1][Definition]{\begin{trivlist}
106 \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
107 \newenvironment{example}[1][Example]{\begin{trivlist}
108 \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
109 \newenvironment{remark}[1][Remark]{\begin{trivlist}
110 \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
111
112 \newcommand{\qed}{\nobreak \ifvmode \relax \else
113 \ifdim\lastskip<1.5em \hskip-\lastskip
114 \hskip1.5em plus0em minus0.5em \fi \nobreak
115 \vrule height0.75em width0.5em depth0.25em\fi}
116
117 % author & title
118 \author{Frank Zirkelbach}
119 \title{Physics compact}
120
121 \begin{document}
122
123 % english
124 \selectlanguage{english}
125
126 \frontmatter{}
127 \include{title}
128 \include{contents}
129 %\include{lists}
130
131 \mainmatter{}
132 \include{intro}
133 \include{math}
134 \include{mech}
135 \include{qm}
136 \include{stat}
137 \include{solid}
138 \include{sim}
139
140 \appendix{}
141 \part{Appendices}
142 \include{math_app}
143
144 \backmatter{}
145 \include{literature}
146 \include{ack}
147
148 \end{document}