X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=physics_compact%2Fphys_comp.tex;h=8a9760ab2e8161709c4b7f04d249e60e35cd9b23;hb=4069f849b1973e2eb9020fa2e190f93b56537c60;hp=a7b42a5563d179dd236f6b55a364c10169329793;hpb=eb7c28aab8fa8bd2f0639625aeecfb9c3e2d94f8;p=lectures%2Flatex.git diff --git a/physics_compact/phys_comp.tex b/physics_compact/phys_comp.tex index a7b42a5..8a9760a 100644 --- a/physics_compact/phys_comp.tex +++ b/physics_compact/phys_comp.tex @@ -1,5 +1,5 @@ \pdfoutput=0 -\documentclass[twoside,a4paper,11pt]{book} +\documentclass[twoside,a4paper,11pt,openany]{book} %\documentclass[twoside,a4paper,11pt,draft]{book} \usepackage[activate]{pdfcprot} \usepackage{verbatim} @@ -8,6 +8,7 @@ \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} +\usepackage{amssymb} \usepackage{ae} \usepackage{aecompl} \usepackage[dvips]{graphicx} @@ -45,6 +46,13 @@ % units \usepackage{units} +% theorem environment +\usepackage{framed} +\usepackage[framed,thref,amsmath,hyperref]{ntheorem} + +% hyperlinks +\usepackage[colorlinks=true,linkcolor=black,citecolor=black]{hyperref} + % shortcuts \newcommand{\si}{Si$_{\text{i}}${}} \newcommand{\ci}{C$_{\text{i}}${}} @@ -86,6 +94,11 @@ \newrgbcolor{hb}{0.75 0.77 0.89} \newrgbcolor{lbb}{0.75 0.8 0.88} \newrgbcolor{lachs}{1.0 .93 .81} +% +\newrgbcolor{ctheorem}{0.9 0.9 0.95} +\newrgbcolor{cdefinition}{0.95 0.9 0.9} +\newrgbcolor{cremark}{0.95 0.95 0.9} +\newrgbcolor{cproof}{0.95 0.92 0.95} % roman numbers \newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1{}}} @@ -93,6 +106,31 @@ % vectors are simply represented by bold font characters \renewcommand{\vec}[1]{{\bf #1{}}} +% +% theorem environment +% +% common +\theoremstyle{plain} +\theoremseparator{:} +\theorembodyfont{\normalfont} +% theorem +\theoremsymbol{\ensuremath{\diamondsuit}} +\shadecolor{ctheorem} +\newshadedtheorem{theorem}{Theorem}[section] +% definition +\theoremsymbol{\ensuremath{\clubsuit}} +\shadecolor{cdefinition} +\newshadedtheorem{definition}[theorem]{Definition} +% remark +\theoremsymbol{\ensuremath{\diamondsuit}} +\shadecolor{cremark} +\newshadedtheorem{remark}[theorem]{Remark} +% proof +\theoremstyle{nonumberplain} +\theoremsymbol{\rule{1ex}{1ex}} +\shadecolor{cproof} +\newshadedtheorem{proof}{Proof} + % author & title \author{Frank Zirkelbach} \title{Physics compact} @@ -105,19 +143,22 @@ \frontmatter{} \include{title} \include{contents} -%\include{lists} \mainmatter{} \include{intro} +\include{math} \include{mech} \include{qm} \include{stat} \include{solid} +\include{sim} \appendix{} -\include{app} +\part{Appendices} +\include{math_app} \backmatter{} +\include{lists} \include{literature} \include{ack}