Latex tips
By ET
I tried to search for a tip to mark the changes in latex, and found the following page, very neat.
Copied from Latex tips.
List compiled by Kevin Leyton-Brown and Kevin Murphy
%% keep figures from going onto a page by themselves
renewcommand{topfraction}{0.85}
renewcommand{textfraction}{0.1}
renewcommand{floatpagefraction}{0.75}
%% make lists small
newcommand{denselist}{itemsep 0pttopsep-6ptpartopsep-6pt}
%% make section headings take up less space (”medium” can be replaced by “small” or “big”)
usepackage[medium,compact]{titlesec}
%% a trick that makes the title take up less space for many style files (but not article)
addtolength{titlebox}{-1.8cm}
%% densify spacing in bibliographies
newcommand{bibfix}{% PUT bibfix in file.bbl after first line
setlength{parsep}{parskip}%
setlength{itemsep}{0cm}%
setlength{topsep}{parskip}%
setlength{parskip}{0cm}%
setlength{partopsep}{0cm}%
setlength{listparindent}{parindent}%
setlength{labelwidth}{10pt}%
setlength{labelsep}{0pt}%
setlength{leftskip}{0pt}%
setlength{leftmargin}{0pt}%
}
%% change margins
setlength{textwidth}{7in}
setlength{textheight}{8.75in}
setlength{oddsidemargin}{-0.25in}
setlength{evensidemargin}{-0.25in}
setlength{headsep}{10pt}
Use changebar.sty to track changes.
Saving space: see
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html
Page layout info:
http://amath.colorado.edu/documentation/LaTeX/reference/layout.html
For pseudocode, use
algorithm2e.sty (http://www.lirmm.fr/~fiorio/AlgorithmSty/)
In the end, I guess I’ll use http://www.tex.ac.uk/tex-archive/support/latexdiff/latexdiff-man.pdf
