summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/snotez/README2
-rw-r--r--Master/texmf-dist/doc/latex/snotez/snotez-manual.pdfbin459024 -> 480373 bytes
-rw-r--r--Master/texmf-dist/doc/latex/snotez/snotez-manual.tex4
-rw-r--r--Master/texmf-dist/tex/latex/snotez/snotez.sty9
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
index 80470bfd002..88795984c62 100644
--- a/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf
+++ b/Master/texmf-dist/doc/latex/snotez/snotez-manual.pdf
Binary files differ
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