| 1 |
+-------------------------------------+ |
| 2 |
| EQPARBOX: | |
| 3 |
| Create equal-widthed boxes | |
| 4 |
| By Scott Pakin, [email protected] | |
| 5 |
+-------------------------------------+ |
| 6 |
|
| 7 |
|
| 8 |
Description |
| 9 |
----------- |
| 10 |
|
| 11 |
LaTeX users sometimes need to ensure that two or more blocks of text |
| 12 |
occupy the same horizontal space on the page. To that end, the |
| 13 |
eqparbox package defines \eqparbox, \eqmakebox, \eqframebox, and |
| 14 |
\eqsavebox macros and an eqminipage environment. These work, |
| 15 |
respectively, just like the \parbox, \makebox, \framebox, and \savebox |
| 16 |
macros and the minipage environment, except that instead of specifying |
| 17 |
a width, one specifies a tag. All boxes with the same tag -- |
| 18 |
regardless of where they are in the document -- will stretch to fit |
| 19 |
the widest box that uses that tag. This simple, equal-width mechanism |
| 20 |
can be used for a variety of alignment purposes, as is evidenced by |
| 21 |
the examples in eqparbox's documentation. |
| 22 |
|
| 23 |
|
| 24 |
Installation |
| 25 |
------------ |
| 26 |
|
| 27 |
There's nothing special about building eqparbox: |
| 28 |
|
| 29 |
latex eqparbox.ins <== Generate eqparbox.sty |
| 30 |
latex eqparbox.dtx <== Produce the documentation (eqparbox.dvi) |
| 31 |
latex eqparbox.dtx <== Again, to get labels and eqparboxes right |
| 32 |
makeindex -s gind.ist eqparbox <== Generate an index |
| 33 |
makeindex -s gglo.ist eqparbox.glo -o eqparbox.gls <== Generate a change list |
| 34 |
latex eqparbox.dtx <== Incorporate the index into the document |
| 35 |
|
| 36 |
If you're new to this, see |
| 37 |
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for more |
| 38 |
information on installing packages. |
| 39 |
|
| 40 |
|
| 41 |
Copyright and license |
| 42 |
--------------------- |
| 43 |
|
| 44 |
Copyright (C) 2017 Scott Pakin, [email protected] |
| 45 |
|
| 46 |
This package may be distributed and/or modified under the conditions |
| 47 |
of the LaTeX Project Public License, either version 1.3c of this |
| 48 |
license or (at your option) any later version. The latest version of |
| 49 |
this license is in: |
| 50 |
|
| 51 |
http://www.latex-project.org/lppl.txt |
| 52 |
|
| 53 |
and version 1.3c or later is part of all distributions of LaTeX version |
| 54 |
2008/05/04 or later. |