Results 1 to 6 of 6

Thread: HOWTO: Easily print LaTeX beamer slides in Linux

Threaded View

  1. #1
    Join Date
    May 2005
    Location
    Chicago
    Beans
    130

    Lightbulb HOWTO: Easily print LaTeX beamer slides in Linux

    The LaTeX beamer class creates lovely slides for presentations including overlays, pauses, and other nice effects. And since it is LaTeX, it handles math, tables, and graphics spectacularly well. However, it is not so easy under Linux to format the slides for printing. This post presents a solution to this common problem.

    0. You must have a working TeX installation ('texlive' is a good choice).

    1. Install the 'pdfjam' package if you haven't already done so. This provides some nice tools for manipulating PDF files (joining, rotating, etc).
    Code:
    sudo apt-get install pdfjam
    2. Download the attached script, unzip it anywhere you like, and make the resulting file 'makehandouts' executable:
    Code:
    chmod +x makehandouts
    3. Move the script 'makehandouts' somewhere in your search path, such as (for example) /usr/local/bin:
    Code:
    sudo mv makehandouts /usr/local/bin
    To make sure that the place you put it really is in your search path, do:
    Code:
    echo $PATH

    Installation is now finished. Assuming that you have a LaTeX beamer source file named 'xxx.tex' in some folder, in a terminal navigate to that folder and type:
    Code:
    makehandouts xxx
    (note that the file extension is NOT included). Of course, substitute your actual file name in place of "xxx". The 'makehandouts' command creates 4 new PDF files, as follows:
    • xxx-handout.pdf is a viewable version of your slides, without pauses and overlays.
    • xxx-handout1up.pdf is a printable version of the slides, one slide per page, rotated by 90 degrees (in landscape mode) for proper printing.
    • xxx-handout2up.pdf is a printable version of the slides, showing two slides per page.
    • xxx-handout4up.pdf is a printable version of the slides, rotated 90 degrees to landscape mode, showing four slides per page.

    NOTE: It is probably important to use 'acroread' to print the slides, since that tool fits everything to the page, and other tools are not so good at that. Enjoy...
    Attached Files Attached Files
    Last edited by hyperboloid; April 17th, 2009 at 03:35 PM. Reason: made correction
    Ubuntu 10.04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •