diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-29 23:24:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-29 23:24:14 +0000 |
commit | a14b05861d2dd0b4c264b70a4d181f6f8533cedf (patch) | |
tree | 7e3abbe1cb27a9f128885af096dfd647336afa8d /Master/texmf-dist/doc | |
parent | 8ab776025540b044b7a97c92c4262b8c18681eab (diff) |
bytefield 2.0 (30jan11)
git-svn-id: svn://tug.org/texlive/trunk@21225 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/bf-example.pdf | bin | 0 -> 118948 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/bf-example.tex (renamed from Master/texmf-dist/doc/latex/bytefield/example.tex) | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/bytefield.pdf | bin | 267485 -> 375344 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/example.pdf | bin | 124895 -> 0 bytes |
5 files changed, 10 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/bytefield/README b/Master/texmf-dist/doc/latex/bytefield/README index 66ba8b7a5bd..24710fe8d9b 100644 --- a/Master/texmf-dist/doc/latex/bytefield/README +++ b/Master/texmf-dist/doc/latex/bytefield/README @@ -34,7 +34,7 @@ hyperref hyperlinks. Copyright and license --------------------- -Copyright (C) 2010 Scott Pakin, scott+bf@pakin.org +Copyright (C) 2011 Scott Pakin, scott+bf@pakin.org This package may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3a of this diff --git a/Master/texmf-dist/doc/latex/bytefield/bf-example.pdf b/Master/texmf-dist/doc/latex/bytefield/bf-example.pdf Binary files differnew file mode 100644 index 00000000000..44f931eea43 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bytefield/bf-example.pdf diff --git a/Master/texmf-dist/doc/latex/bytefield/example.tex b/Master/texmf-dist/doc/latex/bytefield/bf-example.tex index 1c69023fdcd..1604261a2c1 100644 --- a/Master/texmf-dist/doc/latex/bytefield/example.tex +++ b/Master/texmf-dist/doc/latex/bytefield/bf-example.tex @@ -1,14 +1,14 @@ \documentclass[11pt]{article} -\usepackage{fullpage} +\usepackage[margin=1in]{geometry} \usepackage{longtable} -\usepackage{bytefield} +\usepackage[bitheight=6ex]{bytefield} \usepackage{color} \usepackage[bookmarksopen=true]{hyperref} \title{Integrating \texttt{bytefield} and \texttt{hyperref}} \author{\href{http://www.pakin.org/~scott}{Scott Pakin \texttt{<scott+bf@pakin.org>}}} -\date{21 June 2000} +\date{18 January 2011} \hypersetup{% pdftitle={Integrating bytefield and hyperref}, pdfauthor={Scott Pakin <scott+bf@pakin.org>}, @@ -100,12 +100,11 @@ not require hyperlinks to be re-specified when the figure changes. they exist, must always have a value of zero. \begin{figure}[htbp] - \begin{center} - \setlength{\byteheight}{6ex} + \centering \begin{bytefield}{32} \bitheader{0,7-8,15-16,23-24,31} \\ - \wordgroupr{transport \\ header} + \begin{rightwordgroup}{transport \\ header} % We have to do the \parbox explicitly in the next line because % \hyperlink typesets its argument in horizontal mode. \bitbox{8}{\hyperlink{protocol-version}{\parbox{\width}{\centering protocol version}}} & @@ -123,16 +122,15 @@ not require hyperlinks to be re-specified when the figure changes. \bitbox{16}{\hyperlink{window}{window}} & \bitbox{16}{\hyperlink{retention}{retention}} - \endwordgroupr \\ + \end{rightwordgroup} \\ - \wordgroupr{data \\ fields} + \begin{rightwordgroup}{data \\ fields} \wordbox[lrt]{1}{% \parbox{0.6\width}{\centering (data content and format dependent on packet type and modifier)}} \\ \skippedwords \\ \wordbox[lrb]{1}{} - \endwordgroupr + \end{rightwordgroup} \end{bytefield} - \end{center} \caption{MTP packet format} \label{fig:packet-format} \end{figure} @@ -351,8 +349,7 @@ not require hyperlinks to be re-specified when the figure changes. into the web.} \begin{figure}[htbp] - \begin{center} - \setlength{\byteheight}{6ex} + \centering \begin{bytefield}{32} \bitheader{0,7-8,15-16,23-24,31} \\ @@ -362,7 +359,6 @@ not require hyperlinks to be re-specified when the figure changes. \bitbox{16}{\hyperlink{msg-seq}{message sequence number}} & \bitbox{16}{\hyperlink{packet-seq}{packet sequence number}} \end{bytefield} - \end{center} \caption{Message acceptance record} \label{fig:msg-accept} \end{figure} diff --git a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf Binary files differindex e2d1e3bbcf0..b00314cce3e 100644 --- a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf +++ b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf diff --git a/Master/texmf-dist/doc/latex/bytefield/example.pdf b/Master/texmf-dist/doc/latex/bytefield/example.pdf Binary files differdeleted file mode 100644 index 57d9108c361..00000000000 --- a/Master/texmf-dist/doc/latex/bytefield/example.pdf +++ /dev/null |