summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty22
1 files changed, 3 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
index a8d4922c3d3..2651e59e305 100644
--- a/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+++ b/Master/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
@@ -13,8 +13,8 @@
%% verbatim environments and commands and extensive documentation.
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{4.2a}
-\def\filedate{2022/05/26}
+\def\fileversion{4.3}
+\def\filedate{2022/06/02}
\ProvidesPackage{fancyvrb}[\filedate\space \fileversion\space verbatim text (tvz,hv)]
%\message{Style option: `fancyvrb' v\fileversion \space <\filedate> (tvz)}
\csname fancyvrb@loaded\endcsname
@@ -865,23 +865,16 @@
\def\FV@LabelPositionTopLine{\@ne}%
\def\FV@LabelPositionBottomLine{\@ne}}
\fvset{labelposition=topline}
-%% DG/SR modification end
-%% DG/SR modification begin - May. 19, 1998
-%% \def\FV@SingleFrameLine{%
\def\FV@SingleFrameLine#1{%
-%% DG/SR modification end
\hbox to\z@{%
\kern\leftmargin
-%% DG/SR modification begin - Jun. 22, 1998
\ifnum#1=\z@
\let\FV@Label\FV@LabelBegin
\else
\let\FV@Label\FV@LabelEnd
\fi
\ifx\FV@Label\relax
-%% DG/SR modification end
\FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV@FrameRule}%
-%% DG/SR modification begin - Jun. 22, 1998
\else
\ifnum#1=\z@
\setbox\z@\hbox{\strut\enspace\FV@LabelBegin\enspace\strut}%
@@ -907,30 +900,21 @@
\fi
\fi
\fi
-%% DG/SR modification end
\hss}}
-%% DG/SR modification begin - May. 19, 1998
\def\FV@FrameLineWithLabel{%
\ht\z@\@tempdimb\dp\z@\@tempdimb%
\FancyVerbRuleColor{%
\vrule \@width\@tempdimc \@height\FV@FrameRule
\raise\@tempdimb\box\z@
\vrule \@width\@tempdimc \@height\FV@FrameRule}}
-%% DG/SR modification end
\def\FV@BeginListFrame@Lines{%
\begingroup
\lineskip\z@skip
-%% DG modification begin - June 18, 1997 (effect of \baselineskip too earlier)
-%% \baselineskip\z@skip
-%% \FV@SingleFrameLine
-%% DG/SR modification begin - May. 19, 1998
-%% \FV@SingleFrameLine
\FV@SingleFrameLine{\z@}%
-%% DG/SR modification end
\kern-0.5\baselineskip\relax
\baselineskip\z@skip
-%% DG modification end
\kern\FV@FrameSep\relax
+ \penalty\@M% prevent a pagebreak after the line 20220602 (hv)
\endgroup}%
\def\FV@EndListFrame@Lines{%
\begingroup