Results 1 to 6 of 6

Thread: HOWTO: Easily print LaTeX beamer slides in Linux

Hybrid 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

  2. #2
    Join Date
    Jan 2007
    Beans
    42

    Re: HOWTO: Easily print LaTeX beamer slides in Linux

    Hey, that's pretty handy. Thanks.

    teich

  3. #3
    Join Date
    Jul 2010
    Beans
    1

    Re: HOWTO: Easily print LaTeX beamer slides in Linux

    Thank-you to whoever wrote this script! This is exactly what I needed!

    Cheers.

  4. #4
    Join Date
    Oct 2007
    Beans
    22

    Re: HOWTO: Easily print LaTeX beamer slides in Linux

    Thanks a lot for this excellent script!

  5. #5
    Join Date
    Nov 2010
    Beans
    1

    Re: HOWTO: Easily print LaTeX beamer slides in Linux

    should also work with the following lines:
    Code:
    \documentclass[handout]{beamer}
    \usepackage{pgfpages} 
    %\pgfpagesuselayout{2 on 1}[a4paper,border shrink=3mm]
    \pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=3mm]
    looks pretty nice for me... and you wouldn´t need other packages for use.

  6. #6
    Join Date
    Jun 2011
    Beans
    1

    Re: HOWTO: Easily print LaTeX beamer slides in Linux

    Thank a lots. This one helps me so much.

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
  •