diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-12 21:17:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-12 21:17:42 +0000 |
commit | f2b17b301bc42fa0840bf079cda4b41ea8e41e8c (patch) | |
tree | bf7b9c2b87f8305fb0a2544b9347e56611b56b03 /Master | |
parent | 7ae99d0695886654063166819b1ee151f3e6d795 (diff) |
snotez (12feb22)
git-svn-id: svn://tug.org/texlive/trunk@61992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/snotez/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf | bin | 459024 -> 480373 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/snotez/snotez-manual.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/snotez/snotez.sty | 9 |
4 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/snotez/README b/Master/texmf-dist/doc/latex/snotez/README index 8382efb0265..6c83440e3da 100644 --- a/Master/texmf-dist/doc/latex/snotez/README +++ b/Master/texmf-dist/doc/latex/snotez/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the SNOTEZ package v0.6 2022/02/10 +the SNOTEZ package v0.7 2022/02/12 Sidenotes for LaTeX2e diff --git a/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf b/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf Binary files differindex 80470bfd002..88795984c62 100644 --- a/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf +++ b/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf diff --git a/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex b/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex index 1cc9061ab27..c0f874d9b42 100644 --- a/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex +++ b/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex @@ -241,6 +241,10 @@ For these cases \snotez\ provides\sinceversion{0.5} these environments: Places a table in the margin within a \cs*{marginpar}. \cs*{caption} can be used in the usual way. \end{environments} +\begin{sidefigure} + \includegraphics[width=\marginparwidth]{example-image} + \caption{An example for a figure in the margin.} +\end{sidefigure} In order to be able to place other floats in the margin, too, \snotez\ provides the following command: diff --git a/Master/texmf-dist/tex/latex/snotez/snotez.sty b/Master/texmf-dist/tex/latex/snotez/snotez.sty index f6e9b7a7465..aca80f677d1 100644 --- a/Master/texmf-dist/tex/latex/snotez/snotez.sty +++ b/Master/texmf-dist/tex/latex/snotez/snotez.sty @@ -22,8 +22,8 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\def\snotez@date{2022/02/10} -\def\snotez@version{v0.6} +\def\snotez@date{2022/02/12} +\def\snotez@version{v0.7} \def\snotez@description{sidenote support for LaTeX 2e (CN)} \NeedsTeXFormat{LaTeX2e} @@ -259,7 +259,9 @@ \newcommand*\snotez@sidefloat@format{\raggedright} \newenvironment{snotez@sidefloat}[2]{% - \def\@captype{#1}% + \ifdef\caption@settype + {\caption@settype{#1}} + {\def\@captype{#1}}% \begin{lrbox}{\snotez@sidefloat@box}% \minipage{\marginparwidth}% \snotez@sidefloat@format#2% @@ -335,3 +337,4 @@ 2020/12/14 v0.5a - fix issue #1 2022/02/10 v0.6 - fix issue #2 - add option `perchapter' +2022/02/12 v0.7 - make `snotez' and `caption' compatible |