User Tools

Site Tools


info:latex

This is an old revision of the document!


Latex

Collected ideas…

Formatting Authors

When citing authors, the 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 hyperref to include correct author name and opening mode for PDF files:

\hypersetup{
  pdfauthor={Author Name <name@domain.tld>}, 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 esvect and the command \vv{a} to produce the vector a or \vv*{a}{i} to produce the vector ai.

Miscellaneous

Disable all graphics: <code latex> \renewcommand{\includegraphics}[1][]{\url} </code

info/latex.1297090562.txt.gz · Last modified: 2011/02/07 15:56 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki