User Tools

Site Tools


info:latex

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
info:latex [2011/02/07 15:32] – babelbib moritzinfo:latex [2011/07/22 13:09] (current) – [Miscellaneous] fix markup moritz
Line 4: Line 4:
 ===== Formatting Authors ===== ===== 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.+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 ===== ===== Bib and localization =====
Line 15: Line 15:
 <code latex>\bibliographystyle{babalpha} <code latex>\bibliographystyle{babalpha}
 \bibliography{bibliography_file}</code> \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.1297089153.txt.gz · Last modified: 2011/02/07 15:32 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki