diff --git a/README.md b/README.md index 803ec89824e5c53f2ed9277eea1100c91a55f870..694046fc17fb17fc4385635dfe77f231b9a588ab 100644 --- a/README.md +++ b/README.md @@ -61,30 +61,30 @@ The default theme `\usetheme{edmaths}` gives is 'UoE Blue', `#00325F`, but there These files are bundled with an example report and presentation, as well as a bibliography file for use across both. There are also simple examples of a [report](https://github.com/Foggalong/edinburgh-math-latex/wiki/Example-Report) and [presentation](https://github.com/Foggalong/edinburgh-math-latex/wiki/Example-Presentation) in the project wiki, as well as some [further formatting suggestions](https://github.com/Foggalong/edinburgh-math-latex/wiki/Further-Suggestions). -## Beamer Notes +## Presentation Notes -If you use [pdf-presenter-console](https://pdfpc.github.io/), a -presenter console with multi-monitor support for PDF files, you can use +It's handy to be able to add slide notes which can be viewed while presenting. While there are [various ways](https://github.com/Foggalong/edinburgh-math-latex/wiki/Beamer-Notes) of doing this, [PDFPC](https://pdfpc.github.io/) is a presenter console with multi-monitor support and an [official package](https://github.com/pdfpc/latex-pdfpc) for adding such notes. + +To use it simply add ```latex -\usepackage{beamernotes} +\usepackage[overridenote=true]{pdfpc} ``` -and enter slide notes as in +in the document header and enter slide notes as ```latex -\bnote{my notes} +\note{Some wonderful note.} ``` -_after_ the `frame` you want to annotate. The contents will generate a `filename.pdfpc` file containing -all notes to be shown by pdfpc. Note that **this does not support newlines**. +_after_ each `frame` you want to annotate. These notes will then be included as comments with the compiled PDF. Note that the only formatting supported is using `\\` to add newlines. ## Authors While [Josh Fogg](https://github.com/Foggalong) maintains these versions, they would not have been possible without the work of: - [Thomas Köppe](https://github.com/tkoeppe), wrote the original `edmaths` style file; -- [Saturnino Luz](https://www.ed.ac.uk/profile/saturnino-luz), created the original `beamernotes` and Beamer template for the [Usher Institute](https://www.ed.ac.uk/usher); +- [Saturnino Luz](https://www.ed.ac.uk/profile/saturnino-luz), created the Beamer template for the [Usher Institute](https://www.ed.ac.uk/usher); - [Ben Brown](https://github.com/bencwbrown), modified the Beamer theme for general UoE usage. Issues can be flagged [on GitHub](https://github.com/Foggalong/edinburgh-math-latex/issues) by [by email](mailto:j.fogg@ed.ac.uk). The license for the Beamer files is LPPL 3c. The licenses for all other files are [unknown](https://github.com/Foggalong/edinburgh-math-latex/issues/1). diff --git a/beamernotes.sty b/beamernotes.sty deleted file mode 100644 index fa29e9f982d545d51e9f6702da4bc28aa72b46a9..0000000000000000000000000000000000000000 --- a/beamernotes.sty +++ /dev/null @@ -1,49 +0,0 @@ -%% Package `beamernotes' v0.97 -%% -%% A package for writing speaker notes to acompany LaTeX Beamer presentations. In doc.tex -%% containing a Beamer presentation, use the \bnote{} command to write any speaker notes. -%% When the file is compiled your notes on slides get converted automatically into a notes -%% file (doc.pdfpc), readable by pdf-presenter-console. - -\begingroup - \catcode`\#=12 - \gdef\slidenumberprefix{### }% -\endgroup - -\typeout{Starting beamer notes.} - -% Buffer to write notes into -\let\BeamerNotesBuffer\empty -% Keeps track of slide number -\newcounter{BeamerNotesCounter} - - -% Command for taking a note and adding it to the BeamerNotesBuffer -\newcommand{\bnote}[1]{ - \typeout{Creating note: #1} - \stepcounter{BeamerNotesCounter}% - \xdef\BeamerNotesBuffer{\BeamerNotesBuffer - ^^J\slidenumberprefix \theBeamerNotesCounter ^^J#1}% - \mode<article>{#1} -} - - -% Save contents of BeamerNotesBuffer to a file -\AtEndDocument{% - % open file for writing - \newwrite\file - \immediate\openout\file=\jobname.pdfpc - - \immediate\write\file{ - % pdfpc header - [file]^^J% - \jobname.pdf^^J% - [end_user_slide]^^J% - \theBeamerNotesCounter^^J% - % notes contents - [notes]% - \BeamerNotesBuffer - } - % save file - \closeout\file -} diff --git a/example-presentation.tex b/example-presentation.tex index 22e31371534dfefcd16d407ebcc4a681af488a0f..7dce14d174c7347c1428144ea56b9a7e0c7aa130 100644 --- a/example-presentation.tex +++ b/example-presentation.tex @@ -1,7 +1,7 @@ -\documentclass{beamer} +\documentclass[notes]{beamer} \usetheme{edmaths} -\usepackage{beamernotes} \usepackage{lipsum} +\usepackage[overridenote=true]{pdfpc} \pdfcompresslevel=9 \pdfobjcompresslevel=3 @@ -17,8 +17,10 @@ \begin{frame} \titlepage{} \end{frame} -\bnote{ - This generates notes for pdfpc. These notes also appear +\note{ + This generates notes for pdfpc. \\ + \\ + These notes also appear on the handout/article versions. } @@ -34,8 +36,8 @@ \item \lipsum[2] \end{itemize} \end{frame} -\bnote{ - This is a note for the first slide. Mention how +\note{ + This is a note for the first slide. Mention how something happens. }