Dr. Neil Barnaby
n.barnaby@damtp.cam.ac.uk

Online Papers

Journals, Submissions

General LaTeX Help

Making Slides in LaTeX

  • Prosper, a somewhat outdated package which works just fine. The default slide environment looks like crap unless you open the style file PPRdefault.sty and change all the linecolor variables to white in the definition of the command BasicFrame. If you rename the .sty file when you do this then be sure you reflect this in your source code as in \documentclass[colorBG,slideColor,default-new,pdf]{prosper}. Finally, the slide numbers don't come out in the right place unless you include the commands \input{seminar.bug} and \usepackage{fancyhdr} in the preamble.
  • Beamer, a newer slide package. Dowload the three files, install them in usr/share/texmf/tex/latex/ and then run mktexlsr to update the latex libraries.
  • A nice tutorial about beamer.

Grace

UNIX

  • Help with UNIX commands here and here.
  • File compression (also here).
  • List files with file size (good format): ls -alh
    • NOTE: arXiv max submission size is 1 MB for the gzipped tarball.
  • Double printing: cat filename.ps | psnup -2 -s.67 > output.ps
  • Concatinate pdf files (from here) using the command: gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf file1.pdf file2.pdf file3.pdf [...] lastfile.pdf
  • Split pdf files into sub-file from pages m to n (from here) using the command: gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dFirstPage=m -dLastPage=n -sOutputFile=out.pdf in.pdf
  • To set up a vacation auto-response in alpine, just add the following line to ".procmailrc":

    # Response to message while on vacation
    :0c
    | /usr/bin/vacation barnaby

    This will email the message from .vacation.msg in your home folder.
  • To forward emails from alpine, just add the destination address to the file: ".forward"

GRTensor