====== Latex ====== Collected ideas... ===== Formatting Authors ===== When citing authors, the [[http://www.ctan.org/tex-archive/macros/latex/contrib/soul/|soul]] package is useful. It provides small caps with additional spacing. Use it as: \so{Author Name} ===== Bib and localization ===== Include the package babel and babelbib in the preamble: \usepackage{babel} \usepackage{babelbib} Use the following command to produce the bibliography: \bibliographystyle{babalpha} \bibliography{bibliography_file} ===== Hyperref setup ===== Setup [[http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/|hyperref]] to include correct author name and opening mode for PDF files: \hypersetup{ pdfauthor={Author Name }, pdfstartview={FitV} } ===== Math extensions ===== Some often used operators and functions: \providecommand{\abs}[1]{\lvert#1\rvert} \providecommand{\norm}[1]{\lVert#1\rVert} \DeclareMathOperator*{\argmax}{arg\,max} ==== Better Vectors ==== The standard ''\vec'' command produces in some situations bad looking vectors. That problem can be avoided by using the package [[http://www.ctan.org/tex-archive/macros/latex/contrib/esvect/|esvect]] and the command ''\vv{a}'' to produce the vector //a// or ''\vv*{a}{i}'' to produce the vector //ai//. ===== Miscellaneous ===== Disable all graphics: \renewcommand{\includegraphics}[1][]{\url}