summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eqparbox/README
blob: a9ca8083ad800c1ebcb064f56d0ba61c1e83b883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
                +-------------------------------------+
                |             EQPARBOX:               |
                |     Create equal-widthed boxes      |
                | By Scott Pakin, scott+eqp@pakin.org |
                +-------------------------------------+


Description
-----------

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.


Installation
------------

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:

    http://www.latex-project.org/lppl.txt

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