X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=physics_compact%2Fphys_comp.tex;h=a7b42a5563d179dd236f6b55a364c10169329793;hp=e826f980cf60a809b69dc73cb5bf1b0cbea811b8;hb=eb7c28aab8fa8bd2f0639625aeecfb9c3e2d94f8;hpb=5491d54805556e860bfc1e1b3944c301079c4f4b diff --git a/physics_compact/phys_comp.tex b/physics_compact/phys_comp.tex index e826f98..a7b42a5 100644 --- a/physics_compact/phys_comp.tex +++ b/physics_compact/phys_comp.tex @@ -1,46 +1,124 @@ -\documentclass[oneside]{book} - +\pdfoutput=0 +\documentclass[twoside,a4paper,11pt]{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{}}} + +% 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} \appendix{} \include{app} \backmatter{} -\include{literatur} -\include{danksagung} +\include{literature} +\include{ack} \end{document}