X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=physics_compact%2Fphys_comp.tex;h=59746198192c6109d20617acaf760100fdcfa1f5;hp=674c88e6d366113ceb65c8b8e69ebf35203a7e72;hb=93808b285afe6d16ac131af43108b975a0cc9042;hpb=713e8cc2baf5a76b14377cbb36266c0d0a51a5df diff --git a/physics_compact/phys_comp.tex b/physics_compact/phys_comp.tex index 674c88e..5974619 100644 --- a/physics_compact/phys_comp.tex +++ b/physics_compact/phys_comp.tex @@ -9,10 +9,11 @@ \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amssymb} +\usepackage{bm} \usepackage{ae} \usepackage{aecompl} \usepackage[dvips]{graphicx} -\graphicspath{{../img/}} +\graphicspath{{./img/}} \usepackage{subfigure} \usepackage{color} \usepackage{pstricks} @@ -38,7 +39,7 @@ \usepackage{miller} % in use? -\usepackage{slashbox} +%\usepackage{slashbox} % smaller captions ... \usepackage[small,bf]{caption} @@ -63,6 +64,10 @@ \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]% @@ -104,7 +109,7 @@ \newcommand{\RM}[1]{\MakeUppercase{\romannumeral #1{}}} % vectors are simply represented by bold font characters -\renewcommand{\vec}[1]{{\bf #1{}}} +\renewcommand{\vec}[1]{{\bm #1{}}} % % theorem environment