summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/marginnote
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/marginnote')
-rw-r--r--Master/texmf-dist/tex/latex/marginnote/marginnote.sty13
1 files changed, 11 insertions, 2 deletions
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