summaryrefslogtreecommitdiff
path: root/Master
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
parent2c19ae5fd0501fc4bdeac0b5f393b35e30bc489f (diff)
verbatimbox (23feb14)
git-svn-id: svn://tug.org/texlive/trunk@33044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdfbin239495 -> 255749 bytes
-rw-r--r--Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex21
-rw-r--r--Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty9
3 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf
index 7909584cbbd..85057cbf55a 100644
--- a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf
+++ b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex
index c7679ea0d19..5534cd5e4a8 100644
--- a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex
+++ b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex
@@ -1,5 +1,4 @@
\documentclass{article}
-\def\version{3.11}
% Copyright 2013 Steven B. Segletes
%
% This work may be distributed and/or modified under the
@@ -78,7 +77,7 @@ for adding vertical buffer around an object.
\rule{0em}{2.7em}\large Steven B. Segletes\\
steven.b.segletes.civ@mail.mil\\
\rule{0em}{1.7em}\today\\
-v\version
+\verbatimboxVersionNumber
\end{center}
\section{Description and Commands}
@@ -348,21 +347,19 @@ adding negative buffer \verb|\fbox{\addvbuffer[-5pt -5pt]{A test}}|:
This ability to work on a variety of objects makes {\avb} a powerful
command in many applications.
-When length variables are being used in the optional argument to
-\verb|\addvbuffer|, one must use the string form of them (prefixed with
-\verb|\the|), as in
+\textbf{ATTENTION. This paragraph represents a change as of V3.11, and
+can break backward compatibilty}.
+Likewise, if two length variables are to be used in the optional
+argument, the two lengths must be separately braced, with a space in between:
\begin{verbatim}
- \addvbuffer[\the\mysep]{A test}
+ \fbox{\addvbuffer[{\baselineskip} {.5\baselineskip}]{A test}}
\end{verbatim}
-Likewise, if two length variables are to be used in the optional
-argument, an explicit space (backslash space) must be used to separate
-the arguments:
+\rl\fbox{\addvbuffer[{\baselineskip} {.5\baselineskip}]{A test}}
-\begin{verbatim}
- \addvbuffer[\the\mytopsep\ \the\mybottomsep]{A test}
-\end{verbatim}
+{\bfseries One may no longer use a ``\verb|\ |'' hard space to separate the
+two arguments.}
\subsection{The ``nobox'' Alternatives}
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%