summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty')
-rw-r--r--Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty b/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
index 4c314a2f218..11443312a7e 100644
--- a/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
+++ b/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
@@ -1,5 +1,6 @@
+\def\verbatimboxVersionNumber{v3.12 }
\ProvidesPackage{verbatimbox}
- [2014/01/30 v3.11
+ [2014/02/24 \verbatimboxVersionNumber
Routines for placing verbatim text into boxes, useful in places where
the verbatim environment is inaccessible. Secondarily, for adding
vertical buffer around an object.]
@@ -38,6 +39,10 @@ vertical buffer around an object.]
% -Improved documentation showing line-specific optional arguments
% 3.11 -Eliminated the use of the stringstrings package, which resets
% the definition of \|
+% 3.12 -Corrected bug introduced in V3.11, which occured with [t]
+% option to \theverbbox
+% -When using two lengths in \addvbuffer optional argument,
+% they MUST be individually in {}, rather than "~" or "\ " between
\NeedsTeXFormat{LaTeX2e}
\@ifundefined{verbatim@processline}{\RequirePackage{verbatim}}{}
\usepackage{readarray}
@@ -164,7 +169,7 @@ vertical buffer around an object.]
\if #1t%
% The t option is for outputting the savedverbbox inside a tabular
% environment (else insufficent vertical space above box)
- \addvbuffer[\the\boxtopsep~\the\boxbottomsep]{\usebox{\savedverbbox}}%
+ \addvbuffer[{\the\boxtopsep} {\the\boxbottomsep}]{\usebox{\savedverbbox}}%
\else%
\usebox{\savedverbbox}%
\fi%