Skip to content

Instantly share code, notes, and snippets.

@andrejbauer
Last active March 13, 2024 04:54
Show Gist options
  • Save andrejbauer/ac361549ac2186be0cdb to your computer and use it in GitHub Desktop.
Save andrejbauer/ac361549ac2186be0cdb to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
\documentclass[12pt]{beamer}
\usepackage{pgfpages}
% These slides also contain speaker notes. You can print just the slides,
% just the notes, or both, depending on the setting below. Comment out the want
% you want.
%\setbeameroption{hide notes} % Only slides
%\setbeameroption{show only notes} % Only notes
\setbeameroption{show notes on second screen=right} % Both
% To give a presentation with the Skim reader (http://skim-app.sourceforge.net) on OSX so
% that you see the notes on your laptop and the slides on the projector, do the following:
%
% 1. Generate just the presentation (hide notes) and save to slides.pdf
% 2. Generate onlt the notes (show only nodes) and save to notes.pdf
% 3. With Skim open both slides.pdf and notes.pdf
% 4. Click on slides.pdf to bring it to front.
% 5. In Skim, under "View -> Presentation Option -> Synhcronized Noted Document"
% select notes.pdf.
% 6. Now as you move around in slides.pdf the notes.pdf file will follow you.
% 7. Arrange windows so that notes.pdf is in full screen mode on your laptop
% and slides.pdf is in presentation mode on the projector.
% Give a slight yellow tint to the notes page
\setbeamertemplate{note page}{\pagecolor{yellow!5}\insertnote}\usepackage{palatino}
\title{How to make Beamer slides with notes}
\author{Andrej Bauer\\University of Ljubljana}
\date{\small Planet Earth}
\begin{document}
\begin{frame}
\titlepage
\note[item]{Thank the audience for being awake.}
\end{frame}
\begin{frame}
\begin{itemize}
\item Here are
\item some very boring bullets
\item about nothing.
\end{itemize}
\note[item]{Note that this slide is boring.}
\note[item]{Observe that there are no actual bullets here.}
\note[item]{Future work: add another bullet.}
\end{frame}
\end{document}
@francimocci
Copy link

Thanks, exactly what I was looking for!

@shifwang
Copy link

Thanks, this is very helpful.

@jgcolman
Copy link

Dear Andrej
This has saved me hours of frustration. Thanks.

@yslan
Copy link

yslan commented Feb 15, 2018

Good stuff. Thanks!

@andreluciani
Copy link

Finally! I've looking up for this for quite sometime! Nice job!

@ghitan
Copy link

ghitan commented May 13, 2018

Great Andrej! Thanks so much for such a simple, easy-to-use, yet really powerful solution!

@MHammoud18
Copy link

Thank you very much andrejbauer,
But how do I center the text vertically on the second screen?

@MHammoud18
Copy link

I replaced
\setbeamertemplate{note page}{\pagecolor{yellow!5}\insertnote}
with
\setbeamertemplate{note page}{\pagecolor{yellow!5}\vfill\insertnote\vfill}
and the result was good.

@fleetingbytes
Copy link

Thank you very much for this, andrejbauer.

@eduardodx
Copy link

Thank you!!

@happsky
Copy link

happsky commented Oct 9, 2018

Hi, the Skim cannot load note. Is there anyone can help me? Thanks in advance.

@alexjbest
Copy link

Hi, the Skim cannot load note. Is there anyone can help me? Thanks in advance.

@happsky make sure your notes have exactly the same number of pages as your slides, in principle this means every frame should have a \note even if it is empty!

@vzaliva
Copy link

vzaliva commented Dec 8, 2018

I have a lot of slides and some of the do not have notes. I am also using sections and these do not have notes either. As the result, my notes document does not have the same number of pages as the slides and I could not synchronize. If there is a way to instruct beamer to always generate notes pages, as it does when they are attached to the right of the page? Thanks!

@mehdi-mahnam
Copy link

Is it possible to use it also in windows?

@andrejbauer
Copy link
Author

@mehdi-mahnam I do not know, it depends on whether there is a PDF viewer on Windows that has the same functionality.

@vezeli
Copy link

vezeli commented Aug 11, 2019

Is it possible to use it also in windows?

@mehdi-mahnam Yes, there is an alternative.

There is a PDF viewer written in Python pympress which is a dual-screen reader that offers the user presentation mode where there is a timer, current and next slide and more. It is portable so it can be used on Linux, macOS and Windows.

@mehdi-mahnam
Copy link

Is it possible to use it also in windows?

@mehdi-mahnam Yes, there is an alternative.

There is a PDF viewer written in Python pympress which is a dual-screen reader that offers the user presentation mode where there is a timer, current and next slide and more. It is portable so it can be used on Linux, macOS and Windows.

That works! thanks.

@ludwigbald
Copy link

I'm using https://dspdfviewer.danny-edel.de/ which also works just fine :)

@Anugithub2019
Copy link

I created notes.pdf and sldies.pdf. I opened both with skim 1.5.4 then I choose under view presentation options but there is no way I can select the file note.pdf? Hence it does not work me. Help please

@ComFreek
Copy link

To repeat frame titles on your notes, use

\setbeamertemplate{note page}{%
	\pagecolor{yellow!5}
	\vfill
	\begin{minipage}[c][\textheight][t]{\textwidth}
		{\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle\par}
		\insertnote
	\end{minipage}
}

@AshokTak
Copy link

AshokTak commented Aug 15, 2020

Is it possible to use it also in windows?

@mehdi-mahnam Yes, there is an alternative.

There is a PDF viewer written in Python pympress which is a dual-screen reader that offers the user presentation mode where there is a timer, current and next slide and more. It is portable so it can be used on Linux, macOS and Windows.

I tried installing pympress in macOS but I get this error after homebrew is being updated.
`You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man/man3 /usr/local/share/man/man5

And make sure that your user has write permission.
chmod u+w /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man/man3 /usr/local/share/man/man5`

I can't change the ownership of these directories. Can anyone help?

@ComFreek
Copy link

@AshokTak please report your issue at the official Cimbali/pympress repository. In my experience, the maintainer is pretty fast in responding there. Be sure to include more details on your system, e.g. Homebrew version, pympress version etc.

@yejiyang
Copy link

@vezeli Thanks for the recommendation. Tested pympress in windows, it is a very nice free beamer presentation tool!

Is it possible to use it also in windows?

@mehdi-mahnam Yes, there is an alternative.

There is a PDF viewer written in Python pympress which is a dual-screen reader that offers the user presentation mode where there is a timer, current and next slide and more. It is portable so it can be used on Linux, macOS and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment