Tbl
is a document formatting preprocessor for
troff
or
nroff
which makes
even
fairly complex tables easy to specify and enter.
It is available on
the
PDP-11 UNIX*
system
and on Honeywell 6000
GCOS.
Tables are made up of columns which may be independently centered, right-adjusted,
left-adjusted, or aligned by decimal points.
Headings may be placed over single columns or groups of columns.
A table entry may contain equations, or may consist of several rows of text.
Horizontal or vertical lines may be drawn as desired
in the table,
and any table or element may be enclosed in a box.
For example:
+----------------------------------------+ | 1970 Federal Budget Transfers | | (in billions of dollars) | +------------+-----------+-------+-------+ | State | Taxes | Money | Net | | | collected | spent | | +------------+-----------+-------+-------+ |New York | 22.91 | 21.35 | -1.56 | |New Jersey | 8.33 | 6.96 | -1.37 | |Connecticut | 4.12 | 3.10 | -1.02 | |Maine | 0.74 | 0.67 | -0.07 | |California | 22.29 | 22.42 | +0.13 | |New Mexico | 0.70 | 1.49 | +0.79 | |Georgia | 3.30 | 4.28 | +0.98 | |Mississippi | 1.15 | 2.32 | +1.17 | |Texas | 9.33 | 11.13 | +1.80 | +------------+-----------+-------+-------+
Tbl turns a simple description of a table into a troff or nroff [1] program (list of commands) that prints the table. Tbl may be used on the PDP-11 UNIX [2] system and on the Honeywell 6000 GCOS system. It attempts to isolate a portion of a job that it can successfully handle and leave the remainder for other programs. Thus tbl may be used with the equation formatting program eqn [3] or various layout macro packages [4,5,6], but does not duplicate their functions.
This memorandum is divided into two parts. First we give the rules for preparing tbl input; then some examples are shown. The description of rules is precise but technical, and the beginning user may prefer to read the examples first, as they show some common table arrangements. A section explaining how to invoke tbl precedes the examples. To avoid repetition, henceforth read troff as ``troff or nroff.''
The input to tbl is text for a document, with tables preceded by a ``.TS'' (table start) command and followed by a ``.TE'' (table end) command. Tbl processes the tables, generating troff formatting commands, and leaves the remainder of the text unchanged. The ``.TS'' and ``.TE'' lines are copied, too, so that troff page layout macros (such as the memo formatting macros [4]) can use these lines to delimit and place tables as they see fit. In particular, any arguments on the ``.TS'' or ``.TE'' lines are copied but otherwise ignored, and may be used by document layout macro commands.
The format of the input is as follows:
As indicated above, a table contains, first, global options,
then a format section describing the layout of the table
entries, and then the data to be printed. The format and data
are always required, but not the options.
The various parts of the table are entered as follows:
13 13 4.2 4.2 26.4.12 26.4.12 abc abc abc\& abc 43\&3.22 433.22 749.12 749.12
Overall title Item-a 34.22 9.1 Item-b 12.65 .02 Items: c,d,e 23 5.8 Total 69.87 14.92There are some additional features of the key-letter system:
Text blocks are pulled out from the table, processed separately by
troff,
and replaced in the table as a solid block. If no line length
is specified in the
block of text
itself, or in the table format,
the default is to use
where
L
is the current line length,
C
is the number of table columns spanned by the text,
and
N
is the total number of columns in the table.
The other parameters (point size, font, etc.) used in setting the
block of text
are those in effect at the beginning of the table (including
the effect of the ``.TS'' macro)
and any table format specifications of size, spacing and font,
using the p, v and f modifiers to the column key-letters.
Commands within the text block itself are also recognized, of course.
However,
troff
commands within the table data but not within the text block
do not affect that block.
On UNIX, tbl can be run on a simple table with the command
For the convenience of users employing line printers without adequate driving tables or post-filters, there is a special -TX command line option to tbl which produces output that does not have fractional line motions in it. The only other command line options recognized by tbl are -ms and -mm which are turned into commands to fetch the corresponding macro files; usually it is more convenient to place these arguments on the troff part of the command line, but they are accepted by tbl as well.
Note that when eqn and tbl are used together on the same file tbl should be used first. If there are no equations within tables, either order works, but it is usually faster to run tbl first, since eqn normally produces a larger expansion of the input than tbl. However, if there are equations within tables (using the delim mechanism in eqn), tbl must be first or the output will be scrambled. Users must also beware of using equations in n-style columns; this is nearly always wrong, since tbl attempts to split numerical format items into two parts and this is not possible with equations. The user can defend against this by giving the delim(xx) table option; this prevents splitting of numerical columns within the delimiters. For example, if the eqn delimiters are $$, giving delim($$) a numerical column such as ``1245 $+- 16$'' will be divided after 1245, not after 16.
Tbl limits tables to twenty columns; however, use of more than 16 numerical columns may fail because of limits in troff, producing the `too many number registers' message. Troff number registers used by tbl must be avoided by the user within tables; these include two-digit names from 31 to 99, and names of the forms #x, x+, x |, ^x, and x-, where x is any lower case letter. The names ##, #-, and #^ are also used in certain circumstances. To conserve number register names, the n and a formats share a register; hence the restriction above that they may not be used in the same column.
For aid in writing layout macros,
tbl
defines a number register TW which is
the table width; it is defined by the time that the ``.TE'' macro
is invoked and may be used in the expansion of that macro.
More importantly, to assist in laying out multi-page boxed tables
the macro T# is defined to produce the bottom lines and side lines of a boxed
table, and then invoked at its end. By use of this macro
in the page footer a multi-page table can be boxed.
In particular, the
ms
macros can be used to print a multi-page boxed table with a repeated heading
by giving the
argument H to the ``.TS'' macro.
If the table start macro is written
.TS H
a line of the form
.TH
must be given in the table after any table heading (or at the start if none).
Material up to the ``.TH'' is placed at the top of each page of table;
the remaining lines in the table are placed on several pages as required.
Note that this is
not
a feature of
tbl,
but of the ms layout macros.
Here are some examples illustrating features of
tbl.
The symbol TO in the input represents a tab character.
Input:
.TS
box;
c c c
l l l.
LanguageTOAuthorsTORuns on
FortranTOManyTOAlmost anything
PL/1TOIBMTO360/370
CTOBTLTO11/45,H6000,370
BLISSTOCarnegie-MellonTOPDP-10,11
IDSTOHoneywellTOH6000
PascalTOStanfordTO370
.TE
Output:
box;
c c c
l l l.
Language Authors Runs on
Fortran Many Almost anything
PL/1 IBM 360/370
C BTL 11/45,H6000,370
BLISS Carnegie-Mellon PDP-10,11
IDS Honeywell H6000
Pascal Stanford 370
Input:
.TS
allbox;
c s s
c c c
n n n.
AT&T Common Stock
YearTOPriceTODividend
1971TO41-54TO$2.60
2TO41-54TO2.70
3TO46-55TO2.87
4TO40-53TO3.24
5TO45-52TO3.40
6TO51-59TO.95*
.TE
* (first quarter only)
Output:
allbox;
c s s
c c c
n n n.
AT&T Common Stock
Year Price Dividend
1971 41-54 $2.60
2 41-54 2.70
3 46-55 2.87
4 40-53 3.24
5 45-52 3.40
6 51-59 .95*
* (first quarter only)
Input:
.TS
box;
c s s
c | c | c
l | l | n.
Major New York Bridges
=
BridgeTODesignerTOLength
_
BrooklynTOJ. A. RoeblingTO1595
ManhattanTOG. LindenthalTO1470
WilliamsburgTOL. L. BuckTO1600
_
QueensboroughTOPalmer &TO1182
TO Hornbostel
_
TOTO1380
TriboroughTOO. H. AmmannTO_
TOTO383
_
Bronx WhitestoneTOO. H. AmmannTO2300
Throgs NeckTOO. H. AmmannTO1800
_
George WashingtonTOO. H. AmmannTO3500
.TE
Output:
box;
c s s
c | c | c
l | l | n.
Major New York Bridges
=
Bridge Designer Length
_
Brooklyn J. A. Roebling 1595
Manhattan G. Lindenthal 1470
Williamsburg L. L. Buck 1600
_
Queensborough Palmer & 1182
Hornbostel
_
1380
Triborough O. H. Ammann _
383
_
Bronx Whitestone O. H. Ammann 2300
Throgs Neck O. H. Ammann 1800
_
George Washington O. H. Ammann 3500
Input:
.TS
c c
np-2 | n | .
TOStack
TO_
1TO46
TO_
2TO23
TO_
3TO15
TO_
4TO6.5
TO_
5TO2.1
TO_
.TE
Output:
c c
np-2 | n |.
Stack
_
1 46
_
2 23
_
3 15
_
4 6.5
_
5 2.1
_
Input:
.TS
box;
L L L
L L _
L L | LB
L L _
L L L.
januaryTOfebruaryTOmarch
aprilTOmay
juneTOjulyTOMonths
augustTOseptember
octoberTOnovemberTOdecember
.TE
Output:
box;
L L L
L L _
L L | LB
L L _
L L L.
january february march
april may
june july Months
august september
october november december
Input:
.TS
box;
cfB s s s.
Composition of Foods
_
.T&
c | c s s
c | c s s
c | c | c | c.
FoodTOPercent by Weight
\^TO_
\^TOProteinTOFatTOCarbo-
\^TO\^TO\^TOhydrate
_
.T&
l | n | n | n.
ApplesTO.4TO.5TO13.0
HalibutTO18.4TO5.2TO. . .
Lima beansTO7.5TO.8TO22.0
MilkTO3.3TO4.0TO5.0
MushroomsTO3.5TO.4TO6.0
Rye breadTO9.0TO.6TO52.7
.TE
Output:
box;
cfB s s s.
Composition of Foods
_
c |c s s
c |c s s
c |c |c |c.
Food Percent by Weight
_
Protein Fat Carbo-
hydrate
_
l |n |n |n.
Apples .4 .5 13.0
Halibut 18.4 5.2 ...
Lima beans 7.5 .8 22.0
Milk 3.3 4.0 5.0
Mushrooms 3.5 .4 6.0
Rye bread 9.0 .6 52.7
Input:
.TS
allbox;
cfI s s
c cw(1i) cw(1i)
lp9 lp9 lp9.
New York Area Rocks
EraTOFormationTOAge (years)
PrecambrianTOReading ProngTO>1 billion
PaleozoicTOManhattan ProngTO400 million
MesozoicTOT{
.na
Newark Basin, incl.
Stockton, Lockatong, and Brunswick
formations; also Watchungs
and Palisades.
T}TO200 million
CenozoicTOCoastal PlainTOT{
On Long Island 30,000 years;
Cretaceous sediments redeposited
by recent glaciation.
.ad
T}
.TE
Output:
allbox;
cfI s s
c cw(1i) cw(1i)
lp9 lp9 lp9.
New York Area Rocks
Era Formation Age (years)
Precambrian Reading Prong >1 billion
Paleozoic Manhattan Prong 400 million
Mesozoic T{
Newark Basin, incl.
Stockton, Lockatong, and Brunswick
formations; also Watchungs
and Palisades.
T} 200 million
Cenozoic Coastal Plain T{
On Long Island 30,000 years;
Cretaceous sediments redeposited
by recent glaciation.
T}
Input:
.EQ
delim $$
.EN
. . .
.TS
doublebox;
c c
l l.
NameTODefinition
.sp
.vs +2p
GammaTO$GAMMA (z) = int sub 0 sup inf t sup {z-1} e sup -t dt$
SineTO$sin (x) = 1 over 2i ( e sup ix - e sup -ix )$
ErrorTO$ roman erf (z) = 2 over sqrt pi int sub 0 sup z e sup {-t sup 2} dt$
BesselTO$ J sub 0 (z) = 1 over pi int sub 0 sup pi cos ( z sin theta ) d theta $
ZetaTO$ zeta (s) = sum from k=1 to inf k sup -s ~~( Re~s > 1)$
.vs -2p
.TE
Output:
doublebox;
c c
l l.
Name Definition
Gamma
Sine
Error
Bessel
Zeta
Input:
.TS
box, tab(:);
cb s s s s
cp-2 s s s s
c || c | c | c | c
c || c | c | c | c
r2 || n2 | n2 | n2 | n.
Readability of Text
Line Width and Leading for 10-Point Type
=
Line:Set:1-Point:2-Point:4-Point
Width:Solid:Leading:Leading:Leading
_
9 Pica:\-9.3:\-6.0:\-5.3:\-7.1
14 Pica:\-4.5:\-0.6:\-0.3:\-1.7
19 Pica:\-5.0:\-5.1: 0.0:\-2.0
31 Pica:\-3.7:\-3.8:\-2.4:\-3.6
43 Pica:\-9.1:\-9.0:\-5.9:\-8.8
.TE
Output:
box, tab(:);
cb s s s s
cp-2 s s s s
c ||c |c |c |c
c ||c |c |c |c
r2 ||n2 |n2 |n2 |n.
Readability of Text
Line Width and Leading for 10-Point Type
=
Line:Set:1-Point:2-Point:4-Point
Width:Solid:Leading:Leading:Leading
_
9 Pica:-9.3:-6.0:-5.3:-7.1
14 Pica:-4.5:-0.6:-0.3:-1.7
19 Pica:-5.0:-5.1: 0.0:-2.0
31 Pica:-3.7:-3.8:-2.4:-3.6
43 Pica:-9.1:-9.0:-5.9:-8.8
Input:
.TS
c s
cip-2 s
l n
a n.
Some London Transport Statistics
(Year 1964)
Railway route milesTO244
TubeTO66
Sub-surfaceTO22
SurfaceTO156
.sp .5
.T&
l r
a r.
Passenger traffic \- railway
JourneysTO674 million
Average lengthTO4.55 miles
Passenger milesTO3,066 million
.T&
l r
a r.
Passenger traffic \- road
JourneysTO2,252 million
Average lengthTO2.26 miles
Passenger milesTO5,094 million
.T&
l n
a n.
.sp .5
VehiclesTO12,521
Railway motor carsTO2,905
Railway trailer carsTO1,269
Total railwayTO4,174
OmnibusesTO8,347
.T&
l n
a n.
.sp .5
StaffTO73,739
Administrative, etc.TO5,582
Civil engineeringTO5,134
Electrical eng.TO1,714
Mech. eng. \- railwayTO4,310
Mech. eng. \- roadTO9,152
Railway operationsTO8,930
Road operationsTO35,946
OtherTO2,971
.TE
Output:
c s
cip-2 s
l n
a n.
Some London Transport Statistics
(Year 1964)
Railway route miles 244
Tube 66
Sub-surface 22
Surface 156
l r
a r.
Passenger traffic - railway
Journeys 674 million
Average length 4.55 miles
Passenger miles 3,066 million
l r
a r.
Passenger traffic - road
Journeys 2,252 million
Average length 2.26 miles
Passenger miles 5,094 million
l n
a n.
Vehicles 12,521
Railway motor cars 2,905
Railway trailer cars 1,269
Total railway 4,174
Omnibuses 8,347
l n
a n.
Staff 73,739
Administrative, etc. 5,582
Civil engineering 5,134
Electrical eng. 1,714
Mech. eng. - railway 4,310
Mech. eng. - road 9,152
Railway operations 8,930
Road operations 35,946
Other 2,971
Input:
.ps 8
.vs 10p
.TS
center box;
c s s
ci s s
c c c
lB l n.
New Jersey Representatives
(Democrats)
.sp .5
NameTOOffice addressTOPhone
.sp .5
James J. FlorioTO23 S. White Horse Pike, Somerdale 08083TO609-627-8222
William J. HughesTO2920 Atlantic Ave., Atlantic City 08401TO609-345-4844
James J. HowardTO801 Bangs Ave., Asbury Park 07712TO201-774-1600
Frank Thompson, Jr.TO10 Rutgers Pl., Trenton 08618TO609-599-1619
Andrew MaguireTO115 W. Passaic St., Rochelle Park 07662TO201-843-0240
Robert A. RoeTOU.S.P.O., 194 Ward St., Paterson 07510TO201-523-5152
Henry HelstoskiTO666 Paterson Ave., East Rutherford 07073TO201-939-9090
Peter W. Rodino, Jr.TOSuite 1435A, 970 Broad St., Newark 07102TO201-645-3213
Joseph G. MinishTO308 Main St., Orange 07050TO201-645-6363
Helen S. MeynerTO32 Bridge St., Lambertville 08530TO609-397-1830
Dominick V. DanielsTO895 Bergen Ave., Jersey City 07306TO201-659-7700
Edward J. PattenTONatl. Bank Bldg., Perth Amboy 08861TO201-826-4610
.sp .5
.T&
ci s s
lB l n.
(Republicans)
.sp .5v
Millicent FenwickTO41 N. Bridge St., Somerville 08876TO201-722-8200
Edwin B. ForsytheTO301 Mill St., Moorestown 08057TO609-235-6622
Matthew J. RinaldoTO1961 Morris Ave., Union 07083TO201-687-4235
.TE
.ps 10
.vs 12p
Output:
center box;
c s s
ci s s
c c c
lB l n.
New Jersey Representatives
(Democrats)
Name Office address Phone
James J. Florio 23 S. White Horse Pike, Somerdale 08083 609-627-8222
William J. Hughes 2920 Atlantic Ave., Atlantic City 08401 609-345-4844
James J. Howard 801 Bangs Ave., Asbury Park 07712 201-774-1600
Frank Thompson, Jr. 10 Rutgers Pl., Trenton 08618 609-599-1619
Andrew Maguire 115 W. Passaic St., Rochelle Park 07662 201-843-0240
Robert A. Roe U.S.P.O., 194 Ward St., Paterson 07510 201-523-5152
Henry Helstoski 666 Paterson Ave., East Rutherford 07073 201-939-9090
Peter W. Rodino, Jr. Suite 1435A, 970 Broad St., Newark 07102 201-645-3213
Joseph G. Minish 308 Main St., Orange 07050 201-645-6363
Helen S. Meyner 32 Bridge St., Lambertville 08530 609-397-1830
Dominick V. Daniels 895 Bergen Ave., Jersey City 07306 201-659-7700
Edward J. Patten Natl. Bank Bldg., Perth Amboy 08861 201-826-4610
ci s s
lB l n.
(Republicans)
Millicent Fenwick 41 N. Bridge St., Somerville 08876 201-722-8200
Edwin B. Forsythe 301 Mill St., Moorestown 08057 609-235-6622
Matthew J. Rinaldo 1961 Morris Ave., Union 07083 201-687-4235
This is a paragraph of normal text placed here only to indicate where
the left and right margins are. In this way the reader can judge
the appearance of centered tables or expanded tables, and observe
how such tables are formatted.
Input:
.TS
expand;
c s s s
c c c c
l l n n.
Bell Labs Locations
NameTOAddressTOArea CodeTOPhone
HolmdelTOHolmdel, N. J. 07733TO201TO949-3000
Murray HillTOMurray Hill, N. J. 07974TO201TO582-6377
WhippanyTOWhippany, N. J. 07981TO201TO386-3000
Indian HillTONaperville, Illinois 60540TO312TO690-2000
.TE
Output:
expand;
c s s s
c c c c
l l n n.
Bell Labs Locations
Name Address Area Code Phone
Holmdel Holmdel, N. J. 07733 201 949-3000
Murray Hill Murray Hill, N. J. 07974 201 582-6377
Whippany Whippany, N. J. 07981 201 386-3000
Indian Hill Naperville, Illinois 60540 312 690-2000
Input:
.TS
box;
cb s s s
c | c | c s
ltiw(1i) | ltw(2i) | lp8 | lw(1.6i)p8.
Some Interesting Places
_
NameTODescriptionTOPractical Information
_
T{
American Museum of Natural History
T}TOT{
The collections fill 11.5 acres (Michelin) or 25 acres (MTA)
of exhibition halls on four floors. There is a full-sized replica
of a blue whale and the world's largest star sapphire (stolen in 1964).
T}TOHoursTO10-5, ex. Sun 11-5, Wed. to 9
\^TO\^TOLocationTOT{
Central Park West & 79th St.
T}
\^TO\^TOAdmissionTODonation: $1.00 asked
\^TO\^TOSubwayTOAA to 81st St.
\^TO\^TOTelephoneTO212-873-4225
_
Bronx ZooTOT{
About a mile long and .6 mile wide, this is the largest zoo in America.
A lion eats 18 pounds
of meat a day while a sea lion eats 15 pounds of fish.
T}TOHoursTOT{
10-4:30 winter, to 5:00 summer
T}
\^TO\^TOLocationTOT{
185th St. & Southern Blvd, the Bronx.
T}
\^TO\^TOAdmissionTO$1.00, but Tu,We,Th free
\^TO\^TOSubwayTO2, 5 to East Tremont Ave.
\^TO\^TOTelephoneTO212-933-1759
_
Brooklyn MuseumTOT{
Five floors of galleries contain American and ancient art.
There are American period rooms and architectural ornaments saved
from wreckers, such as a classical figure from Pennsylvania Station.
T}TOHoursTOWed-Sat, 10-5, Sun 12-5
\^TO\^TOLocationTOT{
Eastern Parkway & Washington Ave., Brooklyn.
T}
\^TO\^TOAdmissionTOFree
\^TO\^TOSubwayTO2,3 to Eastern Parkway.
\^TO\^TOTelephoneTO212-638-5000
_
T{
New-York Historical Society
T}TOT{
All the original paintings for Audubon's
.I
Birds of America
.R
are here, as are exhibits of American decorative arts, New York history,
Hudson River school paintings, carriages, and glass paperweights.
T}TOHoursTOT{
Tues-Fri & Sun, 1-5; Sat 10-5
T}
\^TO\^TOLocationTOT{
Central Park West & 77th St.
T}
\^TO\^TOAdmissionTOFree
\^TO\^TOSubwayTOAA to 81st St.
\^TO\^TOTelephoneTO212-873-3400
.TE
Output:
box;
cb s s s
c | c | c s
ltiw(1i) | ltw(2i) | lp8| lw(1.6i)p8.
Some Interesting Places
_
Name Description Practical Information
_
T{
American Museum of Natural History
T} T{
The collections fill 11.5 acres (Michelin) or 25 acres (MTA)
of exhibition halls on four floors. There is a full-sized replica
of a blue whale and the world's largest star sapphire (stolen in 1964).
T} Hours 10-5, ex. Sun 11-5, Wed. to 9
Location T{
Central Park West & 79th St.
T}
Admission Donation: $1.00 asked
Subway AA to 81st St.
Telephone 212-873-4225
_
Bronx Zoo T{
About a mile long and .6 mile wide, this is the largest zoo in America.
A lion eats 18 pounds
of meat a day while a sea lion eats 15 pounds of fish.
T} Hours T{
10-4:30 winter, to 5:00 summer
T}
Location T{
185th St. & Southern Blvd, the Bronx.
T}
Admission $1.00, but Tu,We,Th free
Subway 2, 5 to East Tremont Ave.
Telephone 212-933-1759
_
Brooklyn Museum T{
Five floors of galleries contain American and ancient art.
There are American period rooms and architectural ornaments saved
from wreckers, such as a classical figure from Pennsylvania Station.
T} Hours Wed-Sat, 10-5, Sun 12-5
Location T{
Eastern Parkway & Washington Ave., Brooklyn.
T}
Admission Free
Subway 2,3 to Eastern Parkway.
Telephone 212-638-5000
_
T{
New-York Historical Society
T} T{
All the original paintings for Audubon's
Birds of America
are here, as are exhibits of American decorative arts, New York history,
Hudson River school paintings, carriages, and glass paperweights.
T} Hours T{
Tues-Fri & Sun, 1-5; Sat 10-5
T}
Location T{
Central Park West & 77th St.
T}
Admission Free
Subway AA to 81st St.
Telephone 212-873-3400
Many thanks are due to J. C. Blinn, who has done a large amount of testing and assisted with the design of the program. He has also written many of the more intelligible sentences in this document and helped edit all of it. All phototypesetting programs on UNIX are dependent on the work of the late J. F. Ossanna, whose assistance with this program in particular had been most helpful. This program is patterned on a table formatter originally written by J. F. Gimpel. The assistance of T. A. Dolotta, B. W. Kernighan, and J. N. Sturman is gratefully acknowledged.
center; cI cI cI aB lf1 nf1 . Command Meaning Section a A Alphabetic subcolumn 2 allbox Draw box around all items 1 b B Boldface item 2 box Draw box around table 1 c C Centered column 2 center Center table in page 1 doublebox Doubled box around table 1 e E Equal width columns 2 expand Make table full line width 1 f F Font change 2 i I Italic item 2 l L Left adjusted column 2 n N Numerical column 2 nnn Column separation 2 p P Point size change 2 r R Right adjusted column 2 s S Spanned item 2 t T Vertical spanning at top 2 tab (x) Change data separator character 1 Text block 3 v V Vertical spacing change 2 w W Minimum width value 2 .xx Included troff command 3 | Vertical line 2 || Double vertical line 2 ^ Vertical span 2 \^ Vertical span 3 = Double horizontal line 2,3 Horizontal line 2,3 Short horizontal line 3 Rx Repeat character 3