diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/bytefield/bytefield.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/bytefield/bytefield.dtx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx index d5592242307..deb30c81bed 100644 --- a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx +++ b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2015 by Scott Pakin <scott+bf@pakin.org> +% Copyright (C) 2017 by Scott Pakin <scott+bf@pakin.org> % ------------------------------------------------------ % % This file may be distributed and/or modified under the @@ -22,7 +22,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{bytefield} %<*package> - [2015/10/28 v2.3 Network protocol diagrams] + [2017/09/15 v2.4 Network protocol diagrams] %</package> % %<*driver> @@ -45,7 +45,7 @@ pdfauthor={Scott Pakin}, pdfsubject={Protocol diagrams for LaTeX}, pdfkeywords={bits, bytes, bit fields, communication, network protocol diagrams, LaTeX2e, memory maps}, - pdfcopyright={Copyright (C) 2015, Scott Pakin}, + pdfcopyright={Copyright (C) 2017, Scott Pakin}, pdflicenseurl={http://www.latex-project.org/lppl/}, pdfcaptionwriter={Scott Pakin}, pdfcontactemail={scott+bf@pakin.org}, @@ -67,7 +67,7 @@ %</driver> % \fi % -% \CheckSum{1025} +% \CheckSum{1028} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -2075,6 +2075,9 @@ % % \begin{environment}{bytefield} % \usermacro +% \changes{v2.4}{2017/09/15}{Make the code resilient to changes in +% \texttt{\string\string\string\baselinestretch}. Thanks to +% Karst Koymans for the bug report} % \begin{macro}{\bits@wide} % \begin{macro}{\old@nl} % \begin{macro}{\amp} @@ -2089,6 +2092,8 @@ % \begin{macrocode} \newenvironment{bytefield}[2][]{% \bf@bytefieldsetup{#1}% + \renewcommand{\baselinestretch}{}% + \selectfont \def\bits@wide{#2}% \let\old@nl=\\% \let\amp=&% |