summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/snotez
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-12 21:17:42 +0000
committerKarl Berry <karl@freefriends.org>2022-02-12 21:17:42 +0000
commitf2b17b301bc42fa0840bf079cda4b41ea8e41e8c (patch)
treebf7b9c2b87f8305fb0a2544b9347e56611b56b03 /Master/texmf-dist/tex/latex/snotez
parent7ae99d0695886654063166819b1ee151f3e6d795 (diff)
snotez (12feb22)
git-svn-id: svn://tug.org/texlive/trunk@61992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/snotez')
-rw-r--r--Master/texmf-dist/tex/latex/snotez/snotez.sty9
1 files changed, 6 insertions, 3 deletions
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