User Tools

Site Tools


info:latex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
info:latex [2011/02/07 15:27] – created moritzinfo:latex [2011/07/22 13:09] (current) – [Miscellaneous] fix markup moritz
Line 1: Line 1:
 ====== Latex ====== ====== Latex ======
 Collected ideas... 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: <code latex>\so{Author Name}</code>
 +
 +===== Bib and localization =====
 +
 +Include the package babel and babelbib in the preamble:
 +<code latex>\usepackage{babel}
 +\usepackage{babelbib}</code>
 +
 +Use the following command to produce the bibliography:
 +<code latex>\bibliographystyle{babalpha}
 +\bibliography{bibliography_file}</code>
 +
 +===== 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:
 +<code latex>\hypersetup{
 +  pdfauthor={Author Name <name@domain.tld>}, pdfstartview={FitV}
 +}</code>
 +
 +===== Math extensions =====
 +Some often used operators and functions:
 +<code latex>\providecommand{\abs}[1]{\lvert#1\rvert}
 +\providecommand{\norm}[1]{\lVert#1\rVert}
 +
 +\DeclareMathOperator*{\argmax}{arg\,max}</code>
 +
 +==== 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 //a<sub>i</sub>//.
 +
 +===== Miscellaneous  =====
 +
 +Disable all graphics:
 +<code latex>
 +\renewcommand{\includegraphics}[1][]{\url}
 +</code>
  
  
  
info/latex.1297088830.txt.gz · Last modified: 2011/02/07 15:27 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki