X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=physics_compact%2Fphys_comp.tex;h=3d2423db1afc773989e77f23fbea10ee5c71a702;hp=e826f980cf60a809b69dc73cb5bf1b0cbea811b8;hb=5cf9c85d580fb9d18c1f0ab3b6647edcca0b0cf1;hpb=02f3a27ab8302fdb4255d9bb65dd7532a67b7d46 diff --git a/physics_compact/phys_comp.tex b/physics_compact/phys_comp.tex index e826f98..3d2423d 100644 --- a/physics_compact/phys_comp.tex +++ b/physics_compact/phys_comp.tex @@ -1,46 +1,146 @@ -\documentclass[oneside]{book} - +\pdfoutput=0 +\documentclass[twoside,a4paper,11pt,openany]{book} +%\documentclass[twoside,a4paper,11pt,draft]{book} +\usepackage[activate]{pdfcprot} \usepackage{verbatim} -\usepackage[german]{babel} +\usepackage[a4paper,textheight=636pt,textwidth=442pt,includeheadfoot]{geometry} +\usepackage[english,german]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{ae} \usepackage{aecompl} - \usepackage[dvips]{graphicx} -\graphicspath{{./img/}} - +\graphicspath{{../img/}} +\usepackage{subfigure} \usepackage{color} - \usepackage{pstricks} \usepackage{pst-node} +\usepackage{rotating} +\usepackage{fancyhdr} + +% custom sections +\usepackage{titlesec} + +% cites +\usepackage[numbers,sort,compress]{natbib} + +% list of publications +\usepackage{multibib} +%\usepackage[resetlabels]{multibib} +\newcites{pub}{List of publications} + +% box around verbatim text +\usepackage{fancyvrb} + +% miller +\usepackage{miller} + +% in use? +\usepackage{slashbox} + +% smaller captions ... +\usepackage[small,bf]{caption} + +% units +\usepackage{units} +% shortcuts +\newcommand{\si}{Si$_{\text{i}}${}} +\newcommand{\ci}{C$_{\text{i}}${}} +\newcommand{\cs}{C$_{\text{s}}${}} +\newcommand{\degc}[1]{\unit[#1]{$^{\circ}$C}{}} +\newcommand{\degk}[1]{\unit[#1]{K}{}} +\newcommand{\distn}[1]{\unit[#1]{nm}{}} +\newcommand{\dista}[1]{\unit[#1]{\AA}{}} +\newcommand{\perc}[1]{\unit[#1]{\%}{}} + +% (re)new commands +\newcommand{\printimg}[5]{% + \begin{figure}[#1]% + \begin{center}% + \includegraphics[#2]{#3}% + \caption{#4}% + \label{#5}% + \end{center}% + \end{figure}% +} + +\pagestyle{fancy} + +\renewcommand{\chaptermark}[1]{ + \markboth{\thechapter.\ #1}{} +} +\renewcommand{\sectionmark}[1]{ + \markright{\thesection.\ #1} +} +\fancyhf{} +\fancyhead[LE,RO]{\thepage} +\fancyhead[LO]{\nouppercase\rightmark} +\fancyhead[RE]{\nouppercase\leftmark} + +% hyphenation \hyphenation{} +% colors +\newrgbcolor{hb}{0.75 0.77 0.89} +\newrgbcolor{lbb}{0.75 0.8 0.88} +\newrgbcolor{lachs}{1.0 .93 .81} + +% roman numbers +\newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1{}}} + +% vectors are simply represented by bold font characters +\renewcommand{\vec}[1]{{\bf #1{}}} + + +\newtheorem{theorem}{Theorem}[section] +\newtheorem{lemma}[theorem]{Lemma} +\newtheorem{proposition}[theorem]{Proposition} +\newtheorem{corollary}[theorem]{Corollary} + +\newenvironment{proof}[1][Proof]{\begin{trivlist} +\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} +\newenvironment{definition}[1][Definition]{\begin{trivlist} +\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} +\newenvironment{example}[1][Example]{\begin{trivlist} +\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} +\newenvironment{remark}[1][Remark]{\begin{trivlist} +\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} + +\newcommand{\qed}{\nobreak \ifvmode \relax \else +\ifdim\lastskip<1.5em \hskip-\lastskip +\hskip1.5em plus0em minus0.5em \fi \nobreak +\vrule height0.75em width0.5em depth0.25em\fi} + +% author & title \author{Frank Zirkelbach} -\title{Theoretische Physik kompakt - von der klassischen Mechanik bis zur modernen Festk"orperphysik} +\title{Physics compact} \begin{document} +% english +\selectlanguage{english} + \frontmatter{} -\include{titel} -\include{inhalt} -\include{listen} +\include{title} +\include{contents} +%\include{lists} \mainmatter{} -\include{einleitung} +\include{intro} \include{mech} -\include{edyn} \include{qm} \include{stat} -\include{fk} +\include{solid} +\include{sim} \appendix{} -\include{app} +\part{Appendices} +\include{math} \backmatter{} -\include{literatur} -\include{danksagung} +\include{literature} +\include{ack} \end{document}