summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/verbatimbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-16 21:44:47 +0000
committerKarl Berry <karl@freefriends.org>2014-03-16 21:44:47 +0000
commit4f68be5aab4542a33bb5426751e9734a11b90471 (patch)
tree68257a302367a9f1d7acacf9a04245b73367ef8c /Master/texmf-dist/doc/latex/verbatimbox
parent569deb81a37d567d56be480ec1af765229961d13 (diff)
verbatimbox
git-svn-id: svn://tug.org/texlive/trunk@33197 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/verbatimbox')
-rw-r--r--Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdfbin255749 -> 257027 bytes
-rw-r--r--Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex30
2 files changed, 24 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.pdf
index 85057cbf55a..494eb024445 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 5534cd5e4a8..6ae49988981 100644
--- a/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex
+++ b/Master/texmf-dist/doc/latex/verbatimbox/verbatimbox.tex
@@ -12,12 +12,6 @@
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Steven B. Segletes.
-% Revisions:
-% 2.01 -Added LPPL License info to package
-% 3.0 -Added myverbbox environment
-% -Corrected problem when no optional arguments are passed to
-% verbbox environment
-% -Added optional arguments to \addvbuffer
%
\parskip 1em
\parindent 0em
@@ -498,6 +492,30 @@ third line
\end{verbbox}
\rl\theverbbox
+There is also a quirk with the macro \verb|\addvbuffer|.
+If the \verb|\addvbuffer| macro adds negative space below an argument,
+the argument is
+vertically shifted downward by the same amount. For example,
+compare the following constructions,
+\verb|\fbox{gb}| and \verb|\fbox{\addvbuffer[-3pt]{gb}}|:
+\fbox{gb}\fbox{\addvbuffer[-3pt]{gb}}.
+In the latter case, the box is bottom-trimmed, but the result is shifted downward.
+This adverse outcome can generally be overcome with a countering
+\verb|\raisebox|,
+\fbox{gb}\fbox{\raisebox{3pt}{\addvbuffer[-3pt]{gb}}}.
+However, if the \verb|\raisebox| would otherwise place
+the new box above the baseline, the effect of the
+\verb|\addvbuffer| on the bottom of the box is spoiled, as in the
+comparison given by the constructions
+\verb|\fbox{\addvbuffer[-3pt]{X}}| versus
+\verb|\fbox{\raisebox{3pt}{\addvbuffer[-3pt]{X}}}|
+which produces this result:
+\fbox{\addvbuffer[-3pt]{X}}\fbox{\raisebox{3pt}{\addvbuffer[-3pt]{X}}}.
+Note how 3pt are not trimmed from the bottom of the second box.
+For this reason, the \verb|\raisebox| remedy has not been incorporated into the definition
+of \verb|\addvbuffer|; instead, the quirk has been allowed to stand.
+
+
\section{Acknowledgements}
I would like to thank Dr. David Carlisle for his great assistance