pp + so started
[lectures/latex.git] / physics_compact / phys_comp.tex
index 8a9760a..b4d5e66 100644 (file)
@@ -12,7 +12,7 @@
 \usepackage{ae}
 \usepackage{aecompl}
 \usepackage[dvips]{graphicx}
-\graphicspath{{../img/}}
+\graphicspath{{./img/}}
 \usepackage{subfigure}
 \usepackage{color}
 \usepackage{pstricks}
@@ -38,7 +38,7 @@
 \usepackage{miller}
 
 % in use?
-\usepackage{slashbox}
+%\usepackage{slashbox}
 
 % smaller captions ...
 \usepackage[small,bf]{caption}
@@ -48,7 +48,7 @@
 
 % theorem environment
 \usepackage{framed}
-\usepackage[framed,thref,amsmath,hyperref]{ntheorem}
+\usepackage[framed,thref,thmmarks,amsmath,hyperref]{ntheorem}
 
 % hyperlinks
 \usepackage[colorlinks=true,linkcolor=black,citecolor=black]{hyperref}
 \newcommand{\dista}[1]{\unit[#1]{\AA}{}}
 \newcommand{\perc}[1]{\unit[#1]{\%}{}}
 
+\newcommand{\bra}[1]{\langle #1 |}
+\newcommand{\ket}[1]{| #1 \rangle}
+\newcommand{\braket}[2]{\langle #1 | #2 \rangle}
+
 % (re)new commands
 \newcommand{\printimg}[5]{%
  \begin{figure}[#1]%
@@ -95,9 +99,9 @@
 \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{ctheorem}{0.85 0.85 0.95}
+\newrgbcolor{cdefinition}{0.95 0.85 0.85}
+\newrgbcolor{cremark}{0.97 0.97 0.97}
 \newrgbcolor{cproof}{0.95 0.92 0.95}
 
 % roman numbers
 \theoremstyle{plain}
 \theoremseparator{:}
 \theorembodyfont{\normalfont}
+\theoremsymbol{}
 % 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}
+\newtheorem{proof}{Proof}
 
 % author & title
 \author{Frank Zirkelbach}