CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/eqparbox

                |             EQPARBOX:               |
                |     Create equal-widthed boxes      |
                | By Scott Pakin, scott+eqp@pakin.org |


LaTeX users sometimes need to ensure that two or more blocks of text
occupy the same horizontal space on the page.  To that end, the
eqparbox package defines \eqparbox, \eqmakebox, \eqframebox, and
\eqsavebox macros and an eqminipage environment.  These work,
respectively, just like the \parbox, \makebox, \framebox, and \savebox
macros and the minipage environment, except that instead of specifying
a width, one specifies a tag.  All boxes with the same tag --
regardless of where they are in the document -- will stretch to fit
the widest box that uses that tag.  This simple, equal-width mechanism
can be used for a variety of alignment purposes, as is evidenced by
the examples in eqparbox's documentation.


There's nothing special about building eqparbox:

    latex eqparbox.ins     <== Generate eqparbox.sty
    latex eqparbox.dtx     <== Produce the documentation (eqparbox.dvi)
    latex eqparbox.dtx     <== Again, to get labels and eqparboxes right
    makeindex -s gind.ist eqparbox    <== Generate an index
    makeindex -s gglo.ist eqparbox.glo -o eqparbox.gls    <== Generate a change list
    latex eqparbox.dtx     <== Incorporate the index into the document

If you're new to this, see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages for more
information on installing packages.

Copyright and license

Copyright (C) 2017 Scott Pakin, scott+eqp@pakin.org

This package may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3c of this
license or (at your option) any later version.  The latest version of
this license is in:


and version 1.3c or later is part of all distributions of LaTeX version
2008/05/04 or later.

Down­load the con­tents of this pack­age in one zip archive (226.0k).

eq­par­box – Create equal-widthed par­boxes

users some­times need to en­sure that two or more blocks of text oc­cupy the same amount of hor­i­zon­tal space on the page. To that end, the eq­par­box pack­age de­fines a new com­mand, \eq­par­box, which works just like \par­box, ex­cept that in­stead of spec­i­fy­ing a width, one spec­i­fies a tag. All eq­par­boxes with the same tag—re­gard­less of where they are in the doc­u­ment—will stretch to fit the widest eq­par­box with that tag. This sim­ple, equal-width mech­a­nism can be used for a va­ri­ety of align­ment pur­poses, as is ev­i­denced by the ex­am­ples in eq­par­box's doc­u­men­ta­tion. Var­i­ous deriva­tives of \eq­par­box are also pro­vided.

Li­censesThe Project Public Li­cense 1.3c
Main­tainerScott Pakin
TDS archiveeqparbox.tds.zip
Con­tained inTeX Live as eq­par­box
MiKTeX as eq­par­box
Guest Book Sitemap Contact Contact Author