diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-08 03:02:56 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-08 03:02:56 +0000 |
commit | 7e1a772944cf3d35b15db92cf639c702d1acf053 (patch) | |
tree | ac361cbc01e725ed24086f89015dbcb3190b7f54 /macros/latex/contrib/beamer-contrib/beamerappendixnote | |
parent | 666248863665f4318b13e1c1b7a2b94ef90a8b9a (diff) |
CTAN sync 202006080302
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/beamerappendixnote')
-rw-r--r-- | macros/latex/contrib/beamer-contrib/beamerappendixnote/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.dtx | 46 | ||||
-rw-r--r-- | macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf | bin | 53574 -> 56311 bytes | |||
-rw-r--r-- | macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf | bin | 10737 -> 9924 bytes | |||
-rw-r--r-- | macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.tex | 4 |
5 files changed, 34 insertions, 18 deletions
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 @@ %</driver> %<package> \ProvidesPackage{beamerappendixnote} %<*package> - [2020/05/13 v1.0 initial version] + [2020/06/07 v1.0.1 updated documentation] %</package> %<*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 Binary files differindex cc3d4de9e8..c6160f5186 100644 --- a/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf +++ b/macros/latex/contrib/beamer-contrib/beamerappendixnote/beamerappendixnote.pdf diff --git a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf Binary files differindex 1e560098a0..6f96ecb4f2 100644 --- a/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf +++ b/macros/latex/contrib/beamer-contrib/beamerappendixnote/example-basic.pdf 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 |