texlive[61992] Master/texmf-dist: snotez (12feb22)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 12 22:17:42 CET 2022


Revision: 61992
          http://tug.org/svn/texlive?view=revision&revision=61992
Author:   karl
Date:     2022-02-12 22:17:42 +0100 (Sat, 12 Feb 2022)
Log Message:
-----------
snotez (12feb22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/snotez/README
    trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf
    trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex
    trunk/Master/texmf-dist/tex/latex/snotez/snotez.sty

Modified: trunk/Master/texmf-dist/doc/latex/snotez/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/snotez/README	2022-02-12 21:17:31 UTC (rev 61991)
+++ trunk/Master/texmf-dist/doc/latex/snotez/README	2022-02-12 21:17:42 UTC (rev 61992)
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------------
-the SNOTEZ package v0.6 2022/02/10
+the SNOTEZ package v0.7 2022/02/12
 
   Sidenotes for LaTeX2e
 

Modified: trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex	2022-02-12 21:17:31 UTC (rev 61991)
+++ trunk/Master/texmf-dist/doc/latex/snotez/snotez-manual.tex	2022-02-12 21:17:42 UTC (rev 61992)
@@ -241,6 +241,10 @@
     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:

Modified: trunk/Master/texmf-dist/tex/latex/snotez/snotez.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/snotez/snotez.sty	2022-02-12 21:17:31 UTC (rev 61991)
+++ trunk/Master/texmf-dist/tex/latex/snotez/snotez.sty	2022-02-12 21:17:42 UTC (rev 61992)
@@ -22,8 +22,8 @@
 % 
 % The Current Maintainer of this work is Clemens Niederberger.
 % --------------------------------------------------------------------------
-\def\snotez at date{2022/02/10}
-\def\snotez at version{v0.6}
+\def\snotez at date{2022/02/12}
+\def\snotez at version{v0.7}
 \def\snotez at description{sidenote support for LaTeX 2e (CN)}
 
 \NeedsTeXFormat{LaTeX2e}
@@ -259,7 +259,9 @@
 \newcommand*\snotez at sidefloat@format{\raggedright}
 
 \newenvironment{snotez at sidefloat}[2]{%
-  \def\@captype{#1}%
+  \ifdef\caption at settype
+    {\caption at settype{#1}}
+    {\def\@captype{#1}}%
   \begin{lrbox}{\snotez at sidefloat@box}%
     \minipage{\marginparwidth}%
     \snotez at 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



More information about the tex-live-commits mailing list.