summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/verbatimbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-24 22:59:20 +0000
committerKarl Berry <karl@freefriends.org>2014-02-24 22:59:20 +0000
commit896ff7b1cf64274d27af3e7645ede25c72bd5029 (patch)
tree1f854d6830af277eec5843c2076612486694cd08 /Master/texmf-dist/tex/latex/verbatimbox
parent2c19ae5fd0501fc4bdeac0b5f393b35e30bc489f (diff)
verbatimbox (23feb14)
git-svn-id: svn://tug.org/texlive/trunk@33044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/verbatimbox')
-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%