Latex Tips

For most things latex check the Latex Wikibook

The following are some handy latex tricks,

    • To relocate all graphs and tables to the end of the document just add this line near beginning: \usepackage{endfloat}
    • To create links, give the pdf properties, add buttons to presentations, etc.: \usepackage{hyperref}
    • To remove those symbols in the bottom corner of every other persons beamer presentation: \beamertemplatenavigationsymbolsempty
    • To not count a slide (say you want to remove the title slide from the slide count) just put following immediately after that slide: \addtocounter{framenumber}{-1}
    • Create a custom footer in beamer presentations (uses shorttitle &c. which are useful more generally)

  \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.25ex,dp=1ex,left]{author in head/foot}
    \usebeamerfont{author in head/foot}\hspace*{2ex} \insertshortauthor %~~(\insertshortinstitute)
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}
    \usebeamerfont{title in head/foot}\insertshorttitle
  \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}
    \usebeamerfont{date in head/foot} \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
Note, you set shortauthor &c. using square brackets before the curly ones containing the author, eg.  \author[K]{Kirkby}

    • How to create appendix slides in beamer presentations:
At the beginning put
%This custom command allows the number of frames to be stopped at this point
%(so later slides, eg. appendix do not appear as part of counter)
Then use
after last slide and before first appendix slide, and then
after last appendix slide but before \end{document}