summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bytefield
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-29 23:24:14 +0000
committerKarl Berry <karl@freefriends.org>2011-01-29 23:24:14 +0000
commita14b05861d2dd0b4c264b70a4d181f6f8533cedf (patch)
tree7e3abbe1cb27a9f128885af096dfd647336afa8d /Master/texmf-dist/doc/latex/bytefield
parent8ab776025540b044b7a97c92c4262b8c18681eab (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/latex/bytefield')
-rw-r--r--Master/texmf-dist/doc/latex/bytefield/README2
-rw-r--r--Master/texmf-dist/doc/latex/bytefield/bf-example.pdfbin0 -> 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.pdfbin267485 -> 375344 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bytefield/example.pdfbin124895 -> 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
new file mode 100644
index 00000000000..44f931eea43
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bytefield/bf-example.pdf
Binary files differ
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
index e2d1e3bbcf0..b00314cce3e 100644
--- a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
+++ b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bytefield/example.pdf b/Master/texmf-dist/doc/latex/bytefield/example.pdf
deleted file mode 100644
index 57d9108c361..00000000000
--- a/Master/texmf-dist/doc/latex/bytefield/example.pdf
+++ /dev/null
Binary files differ