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:29] – soul 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 ===== 
 + 
 +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.1297088969.txt.gz · Last modified: 2011/02/07 15:29 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki