diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-23 23:31:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-23 23:31:58 +0000 |
commit | d027611c70ba34bcd9423386d0541c67bf2b0a0c (patch) | |
tree | 4abf7627a388e285678c69174cf9c667b865f750 /Master/texmf-dist/source/latex/sidenotes | |
parent | 9317ffb0b5ad516c982745d58db8a33405f262ac (diff) |
sidenotes (23may12)
git-svn-id: svn://tug.org/texlive/trunk@26610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/sidenotes')
-rw-r--r-- | Master/texmf-dist/source/latex/sidenotes/sidenotes.dtx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/sidenotes/sidenotes.dtx b/Master/texmf-dist/source/latex/sidenotes/sidenotes.dtx index cafc5a6cbc2..63184c9097f 100644 --- a/Master/texmf-dist/source/latex/sidenotes/sidenotes.dtx +++ b/Master/texmf-dist/source/latex/sidenotes/sidenotes.dtx @@ -19,7 +19,7 @@ %</driver> %<package>\ProvidesPackage{sidenotes}[% %<*driver|package> - 2011/11/10 v0.80 rich text in the margin for LaTeX] + 2011/11/29 v0.81 rich text in the margin for LaTeX] %</driver|package> %<package>\RequirePackage{marginnote} % puts the stuff in the margin and provides an offset option instead of a float %<package>\RequirePackage{caption} % handles the figure caption (in the margin) @@ -182,6 +182,7 @@ % Introduce the sidenote macro with an additional optional argument postfix to set the offset. % \changes{v0.53}{2011/10/07}{bugfix, now optional number and offset possible} % \changes{v0.80}{2011/11/10}{unstar the newcommand.} +% \changes{v0.81}{2011/11/29}{added a comma between subsequent sidenotes} % \begin{macrocode} \newcommand{\sidenote}[2][]{% \ifthenelse{\isempty{#1}}% @@ -189,6 +190,7 @@ \sidenotetext{#2}}% {\sidenotemark[#1]% \sidenotetext[#1]{#2}}% +\@ifnextchar\sidenote{\kern-0.07em\textsuperscript{,}}{\@ifnextchar\sidecite{\kern-0.07em\textsuperscript{,}}{ }}% } % \end{macrocode} % \end{macro} @@ -205,6 +207,7 @@ \setcounter{sidenote}{#1}% \textsuperscript{\thesidenote}% print out the argument otherwise \setcounter{sidenote}{\value{@sidenotes@buffer}}}% +\@ifnextchar\sidenote{\textsuperscript{,}}{}% \ignorespaces% }% % \end{macrocode} |