From 8f25ffcdf23374c870c29476c01793628e58a305 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 7 Jun 2020 20:40:05 +0000 Subject: beamerappendixnote (7jun20) git-svn-id: svn://tug.org/texlive/trunk@55472 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/beamerappendixnote/README.md | 2 +- .../beamerappendixnote/beamerappendixnote.pdf | Bin 53574 -> 56311 bytes .../doc/latex/beamerappendixnote/example-basic.pdf | Bin 10737 -> 9924 bytes .../doc/latex/beamerappendixnote/example-basic.tex | 4 +- .../beamerappendixnote/beamerappendixnote.dtx | 46 ++++++++++++++------- .../beamerappendixnote/beamerappendixnote.sty | 2 +- 6 files changed, 35 insertions(+), 19 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/beamerappendixnote/README.md b/Master/texmf-dist/doc/latex/beamerappendixnote/README.md index 48321f6dc43..b75eb9c94fb 100644 --- a/Master/texmf-dist/doc/latex/beamerappendixnote/README.md +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/beamerappendixnote/beamerappendixnote.pdf b/Master/texmf-dist/doc/latex/beamerappendixnote/beamerappendixnote.pdf index cc3d4de9e8b..c6160f51862 100644 Binary files a/Master/texmf-dist/doc/latex/beamerappendixnote/beamerappendixnote.pdf and b/Master/texmf-dist/doc/latex/beamerappendixnote/beamerappendixnote.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.pdf b/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.pdf index 1e560098a0d..6f96ecb4f28 100644 Binary files a/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.pdf and b/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.tex b/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.tex index e0eb2b68b81..e2349546c7b 100644 --- a/Master/texmf-dist/doc/latex/beamerappendixnote/example-basic.tex +++ b/Master/texmf-dist/doc/latex/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 diff --git a/Master/texmf-dist/source/latex/beamerappendixnote/beamerappendixnote.dtx b/Master/texmf-dist/source/latex/beamerappendixnote/beamerappendixnote.dtx index 05445b6b65e..206897ec5d5 100644 --- a/Master/texmf-dist/source/latex/beamerappendixnote/beamerappendixnote.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/tex/latex/beamerappendixnote/beamerappendixnote.sty b/Master/texmf-dist/tex/latex/beamerappendixnote/beamerappendixnote.sty index e19edf4e67e..c4a7edba871 100644 --- a/Master/texmf-dist/tex/latex/beamerappendixnote/beamerappendixnote.sty +++ b/Master/texmf-dist/tex/latex/beamerappendixnote/beamerappendixnote.sty @@ -15,7 +15,7 @@ %% ---------------------------------------------------------------- %% \ProvidesPackage{beamerappendixnote} - [2020/05/13 v1.0 initial version] + [2020/06/07 v1.0.1 updated documentation] \RequirePackage{expl3} \@ifpackagelater {expl3}{2018/04/22} {} {% \PackageError {beamerappendixnote} {Support package expl3 too old} -- cgit v1.2.3