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
Last revisionBoth sides next revision
info:latex [2011/02/07 15:33] – [Formatting Authors] example moritzinfo:latex [2011/02/07 15:56] – [Math extensions] esvect moritz
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.txt · Last modified: 2011/07/22 13:09 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki