From 6a4403583a132fbe30e4b0590a4aa1ea98150b85 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Jul 2018 21:27:48 +0000 Subject: marginnote (4jul18) git-svn-id: svn://tug.org/texlive/trunk@48137 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/marginnote/marginnote.sty | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/marginnote/marginnote.sty b/Master/texmf-dist/tex/latex/marginnote/marginnote.sty index ac2b5c3f1f5..cfba8345878 100644 --- a/Master/texmf-dist/tex/latex/marginnote/marginnote.sty +++ b/Master/texmf-dist/tex/latex/marginnote/marginnote.sty @@ -23,7 +23,7 @@ %%% From File: $Id: marginnote.dtx 21 2018-04-20 06:19:32Z mjk $ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{marginnote}[% - 2018/04/13 v1.3 + 2018/07/01 v1.4 non floating margin notes for LaTeX] \begingroup \@ifundefined{pdfsavepos}{% @@ -131,7 +131,14 @@ \egroup }% } -\ExecuteOptions{verbose,fulladjust} +\newcommand*{\mn@parboxrestore}{} +\DeclareOption{parboxrestore}{% + \renewcommand*{\mn@parboxrestore}{\@parboxrestore}% +} +\DeclareOption{noparboxrestore}{% + \renewcommand*{\mn@parboxrestore}{}% +} +\ExecuteOptions{verbose,fulladjust,parboxrestore} \ProcessOptions\relax \newcommand*{\newmarginnote}{\@newl@bel{mn}} \newcommand*{\marginnotetextwidth}{} @@ -325,6 +332,7 @@ \hsize\marginparwidth \linewidth\hsize \kern-\parskip + \mn@parboxrestore \marginfont\raggedrightmarginnote\strut\hspace{\z@}% \ignorespaces#2\endgraf \vss}% @@ -337,6 +345,7 @@ \hsize\marginparwidth \linewidth\hsize \kern-\parskip + \mn@parboxrestore \marginfont\raggedleftmarginnote\strut\hspace{\z@}% \ignorespaces#1\endgraf \vss -- cgit v1.2.3