From 7e1a772944cf3d35b15db92cf639c702d1acf053 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 8 Jun 2020 03:02:56 +0000 Subject: CTAN sync 202006080302 --- .../beamer-contrib/beamerappendixnote/README.md | 2 +- .../beamerappendixnote/beamerappendixnote.dtx | 46 ++++++++++++++------- .../beamerappendixnote/beamerappendixnote.pdf | Bin 53574 -> 56311 bytes .../beamerappendixnote/example-basic.pdf | Bin 10737 -> 9924 bytes .../beamerappendixnote/example-basic.tex | 4 +- 5 files changed, 34 insertions(+), 18 deletions(-) (limited to 'macros/latex/contrib/beamer-contrib') diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/README.md b/macros/latex/contrib/beamer-contrib/beamerappendixnote/README.md index 48321f6dc4..b75eb9c94f 100644 --- a/macros/latex/contrib/beamer-contrib/beamerappendixnote/README.md +++ b/macros/latex/contrib/beamer-contrib/beamerappendixnote/README.md @@ -1,4 +1,4 @@ -Beamer appendix note introduces the `\beamerappxnote` command, which puts the note's content on a separate beamer frame, shown by the command `\printappxnotes`. It also creates interactive buttons to move back and forth between the two frames. +Beamer appendix note introduces the `\appxnote` command, which puts the note's content on a separate beamer frame, shown by the command `\printappxnotes`. It also creates interactive buttons to move back and forth between the two frames. # Licence diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.dtx b/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.dtx index 05445b6b65..206897ec5d 100644 --- a/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.dtx +++ b/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.dtx @@ -23,23 +23,35 @@ % % \ProvidesPackage{beamerappendixnote} %<*package> - [2020/05/13 v1.0 initial version] + [2020/06/07 v1.0.1 updated documentation] % %<*driver> \documentclass{l3doc} -\usepackage{beamerappendixnote} -\usepackage{listings} +%% Packages +% This package +\usepackage{beamerappendixnote} +% Unicode +\usepackage{fontspec,unicode-math} +% Auxiliary +\usepackage{listings,graphicx} + +%% Layout +% Font +\setmainfont{TeX Gyre Pagella} +% Listings \lstset{ basicstyle=\ttfamily, columns=fullflexible, keepspaces=true, } -\usepackage{graphicx} +% Links +\hypersetup{colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue} -\begin{document} +%% Definitions +\newcommand\fnurl[2]{\href{#1}{#2}\footnote{\url{#1}}} -\changes{v1.0}{2020/05/13}{Initial version} +\begin{document} \GetFileInfo{beamerappendixnote.dtx} @@ -58,29 +70,33 @@ \begin{documentation} -\noindent Beamer appendix note introduces the \cs{beamerappxnote} command, which puts the note's content on a separate beamer frame, shown by the command \cs{printappxnotes}. It also creates interactive buttons to move back and forth between the two frames: +\noindent Beamer appendix note introduces the \cs{appxnote} command, which puts the note's content on a separate beamer frame, shown by the command \cs{printappxnotes}. It also creates interactive buttons to move back and forth between the two frames: \lstinputlisting{example-basic.tex} \includegraphics[page=1,width=.49\linewidth]{example-basic.pdf} \includegraphics[page=2,width=.49\linewidth]{example-basic.pdf} \clearpage +\section{Installation} + +The \pkg{beamerappendixnote} package is available on \fnurl{https://ctan.org/pkg/beamerappendixnote}{CTAN}. The easiest way to install it is through a package manager. For help, see the \fnurl{https://miktex.org/howto/miktex-console}{MiKTeX} or \fnurl{https://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-430005}{TeX Live} manual. To build \pkg{beamerappendixnote} from the source code, follow the instructions in the \verb|README.md| file. + \section{Usage} \begin{function}{\appxnote} - \begin{syntax} + \begin{syntax} \cs{appxnote}\marg{title}\marg{content} - \end{syntax} - - Create a new appendix note. Inserts a \cs{beamergotobutton} to a frame that contains \marg{content}. The appendix frame is created using \cs{printappxnotes}. The button’s text and the title of the appendix frame are both set to \marg{title}. + \end{syntax} + + Create a new appendix note. Inserts a \cs{beamergotobutton} to a frame that contains \marg{content}. The appendix frame is created using \cs{printappxnotes}. The button’s text and the title of the appendix frame are both set to \marg{title}. \end{function} \begin{function}{\printappxnotes} - \begin{syntax} + \begin{syntax} \cs{printappxnotes} - \end{syntax} - - Prints appendix notes in the order they are created using \cs{appxnote}. Has to be used after the last appendix note. Uses one frame per note. Inserts a \cs{beamerreturnbutton} button to the frame where \cs{appxnote} was called, followed by the content, separated by a \cs{vfill}. + \end{syntax} + + Prints appendix notes in the order they are created using \cs{appxnote}. Has to be used after the last appendix note. Uses one frame per note. Inserts a \cs{beamerreturnbutton} button to the frame where \cs{appxnote} was called, followed by the content, separated by a \cs{vfill}. \end{function} \end{documentation} diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf b/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf index cc3d4de9e8..c6160f5186 100644 Binary files a/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf and b/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf index 1e560098a0..6f96ecb4f2 100644 Binary files a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf and b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.tex b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.tex index e0eb2b68b8..e2349546c7 100644 --- a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.tex +++ b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.tex @@ -1,9 +1,9 @@ \documentclass[20pt]{beamer} \usepackage{beamerappendixnote} \begin{document} -\begin{frame}{Main frame} +\begin{frame}{Main title} Main content \vfill - \appxnote{Appendix note}{Note content} + \appxnote{Note title}{Note content} \end{frame} \printappxnotes \end{document} \ No newline at end of file -- cgit v1.2.3