start | find | index | login or register | edit
latex-notes
by earl, 6116 days ago
some quick notes that result from using LaTeX :) they might save you time and anger, or they might make you laugh. both reactions welcome, improvments and suggestions are even more welcome.

Quick References
TOC mangling (add chapter* to toc, bib to toc, etc.)
- http://www.lyx.org/help/tocloft/TOC.php
Hyperref Manual (config options!):
- http://www.tug.org/applications/hyperref/manual.html

Other Resources
- http://www.phil.cam.ac.uk/teaching_staff/Smith/LaTeX/

Full Books avail online
Norman Walsh: "Making TeX Work"
- http://makingtexwork.sourceforge.net/mtw/

-- How To use the Harvard Referencing Style --

- http://gking.harvard.edu/files/natnotes.pdf

\usepackage{natbib}

natbib ist wesentlich stabiler als harvard. harvard hat auch probleme mit hyperref, also lieber nur natbib verwenden und lernen. irgendwo im document (nicht in der preamble!!):

\bibliographystyle{agsm}

und das .bib file referenzieren:

\bibliography{filename-without-extension}

wichtig auch, dass man alle urls in den bibtex entries am besten sauber jeweils in ein \url{} schmeisst.

-- How To embed file listings --

package listings runterladen, und dann in der preamble:

\usepackage{listings}

wo das listing dann hinsoll:

\lstinputlisting[caption={Caption},label={Label}]{path/to/filename}

evtl in die preamble (damit das auch gscheit ausschaut):

\lstset{%
showstringspaces=false,
frame={tb},
lineskip=-1pt,
extendedchars=true,
basicstyle=\footnotesize\ttfamily,
numbers=left,
tabsize=8,
breaklines}

-- How To use a spacing line betw paragraphs --

\setlength{\parindent}{0pt}
\setlength{\parskip}{10pt}

-- How To include PDF documents into --

[dump]
packages: pdfpages, ms
usepackage pdfpages
includepdf file

-- How To make nice looking slides --

using latex-beamer: http://latex-beamer.sourceforge.net/

or, using foiltex: http://www.ctan.org/tex-archive/macros/latex/contrib/supported/foiltex/
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8452 days • c'est un vanilla site