Added Cyg-Win

This commit is contained in:
Frank Harris 2026-06-06 18:46:40 -04:00
parent 82cbc206eb
commit 413c315806
10586 changed files with 3806249 additions and 0 deletions

View file

@ -0,0 +1,24 @@
This directory contains examples for the chem language.
Render the examples with "groff -j".
On the displays, you can see rings consisting of several lines and
bonds (lines). All points on rings and bonds that do not have a
notation mean a C atom (carbon) filled with H atoms (hydrogen) such
that the valence of 4 is satisfied.
For example, suppose you have just a single line without any
characters. That means a bond. It has two points, one at each end of
the line. So each of these points stands for a C atom, the bond
itself connects these 2 C atoms. To fulfill the valence of 4, each
points has to carry additionally 3 H atoms. So the single empty bond
stands for CH3-CH3, though this combination doesn't make much sense
chemically.
##### Editor settings
Local Variables:
fill-column: 72
mode: text
End:
vim: set textwidth=72:

View file

@ -0,0 +1,45 @@
atp.chem:
.cstart
# Example file for chem:
# ATP or C10_H16_N5_O13_P3 or
# [[[5-(6-aminopurin-9-yl)-3,4-dihydroxy-oxolan-2-yl]methoxy-hydroxy-
# phosphoryl]oxy-hydroxy-phosphoryl]oxyphosphonic acid
#
# Found at http://www.chemindustry.com/apps/chemicals.
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>.
# Missing nitrogen atom corrected by Norwid Behrnd <nbehrnd@yahoo.com>.
R1: ring5 pointing left double 1,2 put N at 2 put N at 5
B: ring6 put N at 2 put N at 4 double 1,2 3,4 5,6 \
with .V6 at R1.V3 with .V5 at R1.V4
bond up ; NH2
backbond 170 length .7 from R1.V5
R2: ring5 pointing down with .V2 put O at 1
bond down at R2.V2 ; H
bond down length .1 at R2.V3 ; H
bond up length .1 at R2.V3 ; OH
bond down length .1 at R2.V4 ; H
bond up length .1 at R2.V4 ; OH
frontbond 70 at R2.V5
bond 110 ; O
bond right ; P
doublebond up ; O
bond down from P ; OH
bond right from P ; O
bond right ; P
doublebond up ; O
bond down from P ; OH
bond right from P ; O
bond right ; P
doublebond up ; O
bond down from P ; OH
bond right from P ; OH
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,37 @@
cholesterol.chem:
.cstart
# Example file for chem:
# cholesterol or C27_H46_O or
# cholest-5-en-3β-ol (CAS-RN 57-88-5)
# Ring names as in rule 3S-1.1 of IUPAC recommendations 1989 (see for
# instance https://iupac.qmul.ac.uk/steroid/3S01.html)
A: ring6
B: ring6 with .V5 at A.V3 double 4,5
C: ring6 with .V5 at B.V1
D: ring5 pointing right with .V4 at C.V2
front bond up at A.V2
front bond -120 at A.V5 ; HO
back bond down at B.V1 ; H
front bond up at B.V2 ; H
front bond up at C.V2
back bond down at C.V3 ; H
back bond 60 at D.V5 ; H
bond up at D.V5
B1: back bond -60
bond 60 at B1.start
bond 120
bond 60
bond 120
B2: bond 60
bond down at B2.start
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,32 @@
This directory contains the examples for the chem language written
in the Bell Labs paper CSTR #122.
Computing Science Technical Report No. 122
CHEM - A Program for Typesetting Chemical Diagrams: User Manual
by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
Historically, this paper was available at
<http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
Many of the examples had to be fixed. Unfortunately, the AWK version of
chem version does not run on many of these files. The Perl
version of chem distributed with groff does.
Most examples do not use a modern style of depiction. They show carbon
atoms explicitly, whereas contemporary practice omits all C atoms and
their bound hydrogen atoms. [A chemist should fact-check this. --GBR]
The examples are named and sorted by the section whence they are found
in CSTR #122. For example, the file 'ch4c_colon.chem' [sic] means an
example in section 4; the 'c' indicates that it is the third example in
this section; the name 'colon' is used to describe the content of the
example.
Render the examples with "groff -j".
##### Editor settings
Local Variables:
mode: text
End:

View file

@ -0,0 +1,20 @@
ch2a_ethyl.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
CH3
bond
CH2
bond
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,15 @@
ch2b_benzene.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
benzene
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch2c_benzene_right.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
benzene pointing right # a rotated benzene ring
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,22 @@
ch4a_stick.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond right
bond 60
bond 120
bond 60
bond 120
bond down
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,24 @@
ch4b_methyl_acetate.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
CH3 # the 3 is automatically turned into a subscript
bond # the implicit direction is right
# implicit connection is to right side of CH3
C
double bond 30 # by default, from the substituent C
O
bond 120 from C # must be "from C"; otherwise would leave from O
O
bond right
CH3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,19 @@
ch4c_colon.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
CH3
bond ; C
double bond 30 ; O
bond 120 from C ; O
bond right ; CH3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch4d_HCl.H2O.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
HCl.H2O
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch4e_CaSO4.2H2O.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
CaSO4.2H2O
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,24 @@
ch4f_C.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond ; C # 1st definition of C
bond up from C
bond down from C
bond right from C ; C # 2nd definition of C
bond up from C
bond down from C
bond right from C ; C # 3rd definition of C
bond up from C
bond down from C
bond right from C
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,25 @@
ch4g_BP.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
# this is the isopropyl group
bond 120 ; BP # BP is right end of this bond
bond -120 from BP
bond right from BP ; C
front bond up ; CH3
back bond down from C ; D
bond right from C ; BP
# redefine BP to mean the center carbon of this t-butyl group
bond up from BP
bond right from BP
bond down from BP
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,42 @@
ch4h_methacrylate.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond dotted
bond right ; BP
bond up from BP ; C
double bond -60 from C ; O
bond 60 length .1 from C ; OCH3
bond down from BP ; CH3
# begin second segment of polymer
bond right length .5 from BP ; BP
bond up length .1 from BP ; H
bond down length .1 from BP ; H
# begin third segment of polymer
bond right length .5 from BP ; BP
bond up from BP ; C
double bond -60 from C ; O
bond 60 length .1 from C ; OCH3
bond down from BP ; CH3
# begin fourth segment of polymer
bond right length .5 from BP ; BP
bond up length .1 from BP ; H
bond down length .1 from BP ; H
# begin fifth segment of polymer
bond right length .5 from BP ; BP
bond up from BP ; C
double bond -60 from C ; O
bond 60 length .1 from C ; OCH3
bond down from BP ; CH3
bond right from BP
bond dotted
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,21 @@
ch4i_cyclo.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R3: ring3
R4: ring4 at R3 + (.75,0)
R5: ring5 at R4 + (.75,0)
R6: ring6 at R5 + (.75,0)
B: benzene at R6 + (.75,0)
R7: ring7 at B + (.75,0)
R8: ring8 at R7 + (.75,0)
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,17 @@
ch4j_ring4.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
ring4 pointing 45
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,17 @@
ch4k_ring3.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R: ring3
back bond 120 from R.V2 ; C2H5
front bond -120 from R.V3 ; HO
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,22 @@
ch4l_vertex.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R: benzene pointing right
bond left from R.V4 ; HO
bond -150 from R.V3 ; CH3O
bond right from R.V1 ; C
double bond up from C ; O
bond right from C ; N
bond 45 ; C2H5
bond 135 from N ; C2H5
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch4m_double.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
ring double 1,2 3,4 5,6
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch4n_triple.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
ring8 triple 3,4
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,16 @@
ch4o_aromatic.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R: aromatic ring7
"+" at R
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,37 @@
ch4p_cholestanol.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: ring6
"R1" at R1 # this puts a label at R1
front bond -120 from R1.V5 ; HO
# the following line says "fuse the next six-
# membered ring with its 6th vertex joining
# the second vertex of R1"
R2: ring6 with .V6 at R1.V2
front bond up from R2.V6 ; CH3
back bond down from R2.V4 ; H
back bond down from R2.V1 ; H
front bond up from R2.V2 ; H
R3: ring6 with .V4 at R2.V2
R4: flatring with .V5 at R3.V2
front bond up from R4.V5 ; CH3
back bond down from R4.V4 ; H # this is the alkyl chain
bond up from R4.V1 ; BP
bond -60 from BP
bond 60 from BP
bond 120
bond 60
bond 120 ; BP
bond down from BP
bond 60 from BP
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,23 @@
ch4q_rings.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R3: ring3
R4: ring4 pointing 45 with .V1 at R3.V2
R5: ring5 pointing down with .V4 at R4.V2
R6: ring6 pointing 54 with .V6 at R5.V5
# the following lines specify the labels inside the rings
"3" at R3
"4" at R4
"5" at R5
"6" at R6
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,19 @@
ch4r_spiro.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: ring6
R2: ring6 with .V1 at R1.V4
R3: ring5 with .V5 at R2.V3
back bond 60 from R3.V2 ; OH
front bond 150 from R3.V3 ; OH
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,15 @@
ch4s_heteroatoms.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
ring put N at 2 put S at 4 double 2,3 4,5 6,1
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,26 @@
ch4t_polycyclic.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: benzene pointing right
bond 30 from R1.V6 ; Br
R2: benzene pointing right with .V5 at R1.V1
R3: benzene pointing right with .V1 at R2.V3
bond 150 from R3.V2 ; CO2H
R4: benzene pointing right with .V1 at R1.V3
# next line names bond B1 so we can refer to its end
B1: bond left from R4.V4
ring6 put N at 4 double 2,3 4,5 6,1 with .V3 at B1.end
B2: bond right from R2.V1
R5: benzene with .V5 at B2.end
ring6 put N at 4 double 1,2 3,4 with .V5 at R5.V3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,18 @@
ch4u_nicotine.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
benzene put N at 4
bond right
ring5 pointing down put N at 1
bond down from .N ; CH3 # or .V1
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,21 @@
ch4v_histidine.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: flatring pointing down put N at 2 put N at 5 double 1,2 3,4
H right of R1.V5
bond right from R1.V4 ; CH2
bond right ; C
bond up from C ; H
bond down from C ; NH2
bond right from C ; CO2H
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,27 @@
ch4w_lsd.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
B: benzene pointing right
F: flatring pointing left put N at 5 double 3,4 with .V1 at B.V2
H below F.N
R: ring pointing right with .V4 at B.V6
front bond right from R.V6 ; H
W: ring pointing right with .V2 at R.V6 put N at 1 double 3,4
bond right from W.N ; CH3
back bond -60 from W.V5 ; H
bond up from W.V5 ; C
double bond up from C ; O
bond right from C ; N
bond 45 from N ; C2H5
bond 135 from N ; C2H5
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,19 @@
ch4x_anisole.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: benzene
bond down from R1.V4 ; OCH3
R2: benzene at R1 + (1.5,0)
bond down from R2.V4 ; O
CH3 right of O
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,40 @@
ch4y_reserpine.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
#
# Corrections by Bernd Warken, 2006.
CH3O
bond 60
R1: benzene
R2: aromatic flatring5 pointing down put N at 1 with .V3 at R1.V2
H below R2.V1
R3: ring put N at 3 with .V5 at R2.V5
R4: ring put N at 1 with .V1 at R3.V3
back bond -120 from R4.V4 ; H
back bond 60 from R4.V3 ; H
R5: ring with .V1 at R4.V3
bond -120 ; C
double bond down from C ; O
CH3O left of C
back bond 60 from R5.V3 ; H
back bond down from R5.V4 ; O
CH3 right of O
bond 120 from R5.V3 ; O
bond right length .1 from O ; C
double bond down ; O
bond right length .1 from C
B: benzene pointing right
bond 30 from B.V6 ; OCH3
bond right from B.V1 ; OCH3
bond 150 from B.V2 ; OCH3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,56 @@
ch4z1_eqn_glutamic.chem:
.br
.EQ
delim $$
.EN
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
#
# Corrections by Bernd Warken, 2006.
# a left bracket
bond right length .1 ; BP
bond up length .3
bond right length .1
bond down length .3 from BP
bond right length .1
# this is the mainchain amide structure
bond right length .1 from BP ; NH
bond right ; CH
# label the CH with an alpha, intended for eqn.
# this line says "put the north edge of the alpha at the
# south edge of the CH"
"$alpha$" with .n at CH.s
bond right from CH ; C
double bond up from C ; O
bond right length .1 from C ; BP
# a right bracket
bond up length .3
bond left length .1
bond right length .1 from BP
bond down length .3 from BP ; BP
bond left length .1
# label the degree of polymerization
"$n$" with .w at BP.se
# this is the sidechain
bond up from CH ; CH2
"$beta$" with .e at CH2.w
bond up from CH2 ; CH2
"$gamma$" with .e at CH2.w
bond up from CH2 ; C
# this is the benzyl ester part
double bond -60 from C ; O
bond 60 from C ; O
bond right ; CH2C6H5
# Local Variables:
# mode: Nroff
# End:
.cend
.EQ
delim off
.EN

View file

@ -0,0 +1,30 @@
ch4z2_text.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond 120 dotted
bond 120 length .3 ; BP
back bond -120 length .25 from BP ; H
front bond 120 length .25 from BP ; CH3
bond 60 length .5 from BP ; BP
bond -60 length .25 from BP ; H
# note the pic move command to position the text
move left .35 ; "(ANTI)"
front bond 60 length .25 from BP ; H
# another positioning of text
move right .35 ; "(SYN)"
bond 120 length .4 from BP ; BP
back bond -120 length .25 from BP ; H
front bond 120 length .25 from BP ; CH3
bond 60 length .5 from BP
bond 60 dotted
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,22 @@
ch5a_size.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
.ps 14
size 16
R: ring6 put O at 1 put C at 2 put O at 3 put C at 4 put O at 5 put C at 6
double bond 60 from R.V2 ; NH
double bond down from R.V4 ; NH
double bond -60 from R.V6 ; HN
size 10 # if you are doing more than one
.ps 10
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,20 @@
ch6a_pic.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R: ring double 2,3
line from R.V6 to R.C
line from R.C to R.V4
X1: 1/2 <R.V5,R.C>
X2: 1/2 <R.C,R.V2>
bond from X1 to X2
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,36 @@
ch6b_dna.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
P: [
R1: flatring pointing up put N at 1 put N at 4 double 5,1
bond -135 from R1.V4 ; BP
"deoxyribose" rjust with .e at BP.w
R2: ring6 put N at 2 put N at 4 double 1,2 3,4 5,6 with .V6 at R1.V2
pic Conn: R2.V2.ne #because naming is too restricted in pic
bond up from R2.V1 ; N
bond -60 from N ; H
bond 60 from N ; H
]
# thymine
Q: [
R3: ring6 put N at 3 put N at 5 double 1,2
bond up from R3.V1 ; CH3
bond 120 from R3.V3 ; BP
"deoxyribose" ljust with .w at BP.e
double bond down from R3.V4 ; O
double bond -60 from R3.V6 ; O
bond -120 from R3.V5 ; H
] with .O at P.H + (.3,.3)
bond from Q.O.sw to P.H.ne dotted
bond from Q.H.sw to P.Conn dotted
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,49 @@
chAa_polymer.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
# epoxy based on the m-phenyldiamine cured bisphenol-A
size 8
bond dotted
bond ; N
bond ; CH2
bond down from N
R1: benzene
bond 120 length .1 from R1.V3 ; N
bond right length .1 from N
bond down length .1 from N
# back to the CH2
bond right from CH2 ; CH
bond down from CH ; OH
bond right from CH ; CH2
bond right ; O
bond right
benzene pointing right
bond right ; C
bond up from C ; CH3
bond down from C ; CH3
bond right from C
benzene pointing right
bond right ; O
bond right from O ; CH2
bond right ; CH
bond down from CH ; OH
bond right from CH ; CH2
bond right ; N
bond right from N
bond dotted
bond down from N
R2: benzene
bond 120 length .1 from R2.V3 ; N
bond right length .1 from N
bond down length .1 from N
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,39 @@
chAb_vinyl_chloro.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
Cl
bond 120 length .25 ; BP
bond 60 length .25 from BP ; Cl
B1: double bond down length .3 from BP
bond 120 length .35 ; BP
# now comes the ring
R1: ring6 double 1,2 3,4 5,6 with .V6 at BP
bond up length .1 from R1.V1 ; H
bond 60 length .1 from R1.V2 ; H
bond 120 from R1.V3 ; O
bond 60 from O ; C
double bond up from C ; O
bond 120 from C
# continue decorating the ring
bond down length .1 from R1.V4 ; H
bond -120 length .1 from R1.V5 ; H
# now go back and do the left hand ring
bond -120 length .35 from B1.end ; BP
R2: ring6 double 1,2 3,4 5,6 with .V2 at BP
bond up length .1 from R2.V1 ; H
bond -60 length .1 from R2.V6 ; H
bond -120 from R2.V5 ; O
bond -60 from O
bond down length .1 from R2.V4 ; H
bond 120 length .1 from R2.V3 ; H
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,28 @@
chAc_morphine.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: ring6 double 1,2
bond -60 from R1.V6 ; HO
R2: ring6 with .V1 at R1.V3
bond 60 from R2.V2 ; N
bond right from N ; CH3
R3: benzene with .V1 at R2.V5
bond -120 from R3.V5 ; HO
# this is the furan ring
bond -135 length .33 from R1.V5 ; O
bond -45 length .33 from R3.V6
# this is the odd ring
bond up length .1 from N ; BP
B1: bond up length .33 from R1.V4
bond to BP
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,46 @@
chAd_chlorophyll.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
Mg
bond 45 ; N
R1: ring5 pointing up put N at 4 double 1,2 4,5 with .V4 at N
bond up from R1.V1 ; CH3
bond right from R1.V2 ; CH2CH3
bond 135 from Mg ; N
R2: ring5 pointing down put N at 3 double 1,2 4,5 with .V3 at N
bond right from R2.V5 ; CH3
bond 225 from Mg ; N
R3: ring5 pointing down put N at 4 double 3,4 with .V4 at N
bond -45 from Mg ; N
R4: ring5 pointing up put N at 3 double 1,5 with .V3 at N
bond left from R4.V5 ; H3C
bond up from R4.V1 ; CH
double bond right length .1 from CH ; CH2
double bond 150 length .3 from R1.V3
bond to R2.V4
R5: ring5 pointing 72 with .V5 at R2.V2
double bond 135 from R5.V2 ; O
bond down from R5.V3 ; C
double bond left length .1 from C ; O
bond down from C ; O
CH3 left of O
double bond -25 from R5.V4
bond down from R3.V1 ; CH2
CH2 left of CH2
bond left ; C
double bond -45 ; O
bond -135 from C ; C20H39O
bond left from R3.V2 ; H3C
double bond -150 length .3 from R4.V4
bond to R3.V3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,26 @@
chAe_chair.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
pic define chair { [
V1: bond 120 length .25
V2: bond right length .35
V3: bond 150 length .35
V4: bond -60 length .25
V5: bond left length .35
V6: bond to V1.start
pic ] }
R1: chair
R2: chair with .V1 at R1.V4.start
bond 60 from R2.V4.start ; CH3
bond down from R2.V4.start ; OH
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,45 @@
chAf_arrow.chem:
.br
.EQ
delim $$
.EN
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond length .1 ; BP
bond up length .5
bond right
bond down length .5 from BP
bond right
bond right from BP ; C
double bond up ; O
bond right from C
benzene pointing right
bond right ; C
double bond up from C ; O
bond right from C ; O
bond right ; CH2
# this is the statement to make the arrow
line <- from CH2.s down
move down .1 ; "0.085"
CH2CH2CH2 right of CH2
bond right ; O
bond right length .1 ; BP
bond up length .5 from BP
bond left
bond right length .1 from BP
bond down length .5 from BP ; BP
bond left
"$n$" with .w at BP.se
# Local Variables:
# mode: Nroff
# End:
.cend
.EQ
delim off
.EN

View file

@ -0,0 +1,31 @@
chAg_circle.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
bond 120 ; C
bond 60 ; C
bond up ; Cl
double bond 120 from C ; C
bond 60 ; C
bond 120 ; C
bond 60 ; C
bond up ; Cl
double bond 120 from C ; C
circle at C rad .08
bond 60 from C ; C
bond 120 ; C
bond 60 ; C
double bond 120 ; C
bond down ; Cl
bond 60 from C ; C
bond 120
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,37 @@
chAh_brackets.chem:
.br
.EQ
delim $$
.EN
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
[
bond right ; CH2
bond 120 ; (CH2)
"$nothing sub n$"
bond 60 ; .CH2
]
# now put the arrow in
move right .3
arrow .5
move right .3
# begin second structure
[
bond right ; CH.
bond 120 ; (CH2)
"$nothing sub n$"
bond 60 ; CH3
]
# Local Variables:
# mode: Nroff
# End:
.cend
.EQ
delim $$
.EN

View file

@ -0,0 +1,118 @@
chAi_poly_vinyl_chloride.chem:
.br
.ps -2
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
db = .12
cwid = .095
A: [
bond dotted
bond right ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; C.
bond down ; Cl
bond right from C ; CH2
bond ; CH2
bond down ; Cl
]
" (6.13a)" ljust at A.e
arrow down .5 from A.s
[
CH2
double bond right ; CHCl
] with .w at last arrow.c
B: [
bond dotted
bond right ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; C
bond up ; Cl
bond down from C ; CH2
bond ; CH2Cl
bond right from C ; CH2
bond ; CH
bond down ; Cl
bond right from CH
bond dotted
] with .n at end of last arrow
" (6.13b)" ljust at B.e
C: [
bond dotted
bond right ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; C.
bond down ; Cl
bond right from C ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH2
bond down ; Cl
] with .n at B.s - (0,.5)
" (6.14a)" ljust at C.e
arrow down .3 from C.s
[
CH2
double bond right
CHCl
] with .w at last arrow.s
arrow down .3 from last arrow.s
D: [
bond dotted
bond right ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; C
bond up ; Cl
bond down from C ; CH2
bond ; CHCl
bond ; CH2
bond ; CH2Cl
bond right from C ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
bond right from CH
bond dotted
] with .n at last arrow.s
" (6.14b)" ljust at D.e
E: [
bond dotted
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
bond right from CH ; CH2
bond ; CH
bond down ; Cl
] with .e at B.w - (.5,0)
arrow from E.ne to A.sw
arrow from E.se to C.nw
# Local Variables:
# mode: Nroff
# End:
.cend
.ps +2

View file

@ -0,0 +1,17 @@
chBa_jump.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
SiO2 # name = SiO2
move right 1
CH3CH2NH2.HCl # name = CH3CH2NH2HCl
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,19 @@
chBb_bonds.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
C
frontbond -170 from C ; H
backbond 10 from C ; CO2H
bond left length .15 from C ; H2N
bond right from C ; CH3
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,20 @@
chBc_rings.chem:
.br
.cstart
# This originates from Computing Science Technical Report No. 122
# CHEM - A Program for Typesetting Chemical Diagrams: User Manual
# by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
# <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
R1: benzene
bond -120 from R1.V5 ; CH3O
R2: ring4 pointing 45 with .V4 at R1.V2
R3: aromatic ring6 put N at 4 put S at 2 at R2 + (.75,0)
R4: ring5 pointing left at R3 + (.75,0)
label R4
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,27 @@
ethamivan.chem:
.cstart
# Example file for chem:
# Ethamivan or Analepticon or C12_H17_N_O3 or
# N,N-diethyl-4-hydroxy-3-methoxy-benzamide (CAS-RN: 304-84-7)
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>.
R: ring6 pointing 60 double 1,2 3,4 5,6
bond 60 from R.V1
B1: double bond up ; O
bond 120 from B1.start ; N
bond 60
bond 120
bond down from N
bond 120
bond -120 from R.V4 ; HO
bond -60 from R.V5 ; O
bond -120
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,31 @@
lsd.chem:
.cstart
# Example file for chem:
# LSD or Lysergic acid diethylamide or C20_H25_N3_O (CAS-RN: 50-37-3)
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>,
# reorganized by Norwid Behrnd <nbehrnd@yahoo.com>.
A: ring6 double 1,2 3,4 5,6
B: flatring5 pointing up with .V4 at A.V3 put N at 3 double 1,2
C: ring6 with .V3 at B.V1
D: ring6 with .V3 at C.V1 put N at 2 double 4,5
H right of B.N
bond 60 from D.V2
frontbond 60 from D.V3 ; H
BP: frontbond -60 from D.V6
doublebond up ; O
bond -120 from BP.end ; N
bond -60 from N
bond -120
bond down from N
bond -120
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

View file

@ -0,0 +1,38 @@
mepacrine.chem:
.cstart
# Example file for chem:
# mepacrine or atabrine or quinacrine or C_23H30_ClN_3O (CAS-RN: 83-89-6)
#
# Found at https://en.wikipedia.org/wiki/Mepacrine
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>,
# reorganized by Norwid Behrnd <nbehrnd@yahoo.com>.
R1: ring6 double 1,2 3,4 5,6
R2: ring6 with .V5 at R1.V3 put N at 4 double 1,2 3,4
R3: ring6 with .V5 at R2.V3 double 1,2 3,4
bond -120 at R1.V5 ; Cl
bond up at R2.V1 ; N
H left of N
bond 60 from N
BP: bond 120
bond up from BP.start
bond 120 from BP.start
bond 60
bond 120
bond 60 ; N
bond up
bond 60
bond 120 from N
bond 60
bond 60 at R3.V2 ; O
bond 120
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,32 @@
morphine.chem:
.cstart
# Example file for chem:
# Morphine or C_17H_19NO_3 (CAS-RN: 57-27-2)
#
# Found at https://en.wikipedia.org/wiki/Morphine
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>,
# reorganized by Norwid Behrnd <nbehrnd@yahoo.com>.
R1: ring6 double 1,2 3,4 5,6
R2: ring6 with .V1 at R1.V3
R3: ring6 with .V1 at R2.V5 double 3,4
bond -150 length 0.28 from R1.V5 ; O
backbond -30 length 0.28 from R3.V6
frontbond 120 from R2.V3 ; N
Me right of N
BP: bond up from N
frontbond 50 from R2.V5
bond right to BP.end
bond -60 from R1.V6 ; HO
frontbond 120 from R2.V4 ; H
backbond -120 from R3.V5 ; HO
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,33 @@
penicillin.chem:
.cstart
# Example file for chem:
# benzylpenicillin or C16_H18_N2_O4_S or
# (2S,5R,6R)-3,3-Dimethyl-7-oxo-6-(2-phenylacetamido)-4-thia-
# 1-azabicyclo[3.2.0]heptane-2-carboxylic acid (CAS-RN: 61-33-6)
#
# Found at https://en.wikipedia.org/wiki/Benzylpenicillin
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>,
# partial rewrite by Norwid Behrnd <nbehrnd@yahoo.com>.
R1: ring4 pointing 45 put N at 2
R2: ring5 pointing right with .V3 at R1.V2 put N at 3 put S at 5
doublebond -130 at R1.V3 ; O
frontbond -60 at R1.V4 ; N
B1: bond -120
doublebond down ; O
bond -60 at B1.end
bond -120
ring6 double 1,2 3,4 5,6
H above N
bond 60 at R2.V1
bond 120 at R2.V1
backbond 160 at R2.V2 ; CO2H
# Local Variables:
# mode: Nroff
# End:
.cend

View file

@ -0,0 +1,39 @@
reserpine.chem:
.cstart
# Example file for chem:
# Reserpine or C_33H_40N_2O_9 (CAS-RN: 50-55-5).
#
# Found at https://en.wikipedia.org/wiki/Reserpine
#
# Prepared by Bernd Warken <groff-bernd.warken-72@web.de>,
# reorganized by Norwid Behrnd <nbehrnd@yahoo.com>.
R1: ring6 double 1,2 3,4 5,6
R2: flatring5 pointing down with .V2 at R1.V3 put N at 1 double 4,5
R3: ring6 with .V5 at R2.V5 put N at 3
R4: ring6 with .V1 at R3.V3 put N at 1 # prevent a struck-through N
R5: ring6 with .V1 at R4.V3
frontbond 120 from R5.V3 ; O
bond 60
BP: doublebond up ; O
bond 120 from BP.start
R6: ring6 double 1,2 3,4 5,6
bond -120 from R1.V5 ; MeO
H below R2.N
frontbond -120 from R3.V4 ; H
backbond 60 from R4.V3 ; H
backbond -120 from R4.V4 ; H
backbond down from R5.V4 ; OMe
frontbond -120 from R5.V5 ; MeO2C
bond 060 from R6.V2 ; OMe
bond 120 from R6.V3 ; OMe
bond 180 from R6.V4 ; OMe
# Local Variables:
# fill-column: 72
# mode: Nroff
# End:
# vim: set textwidth=72:
.cend

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,88 @@
.nr pp 12
.nr tp 12
.nr sp 12
.nr fi 0
.ls 1
.po 1i
.pl 11i
.EQ
gsize 12
delim $$
define // 'over down 10'
define sw 'phi sub'
define aa 'A sub'
define vv 'V sub'
define mm 'M sub'
define nn 'N sub'
define cc 'C sub'
define ll 'L sub'
define rr 'R sub'
define ss 'S sub'
define gg 'g sub'
define ff 'F sub'
define qq 'Q sub'
define qqq '{C prime} sub'
define pp 'P sub'
define tt 'T sub'
define zz 'Z sub'
define kk 'K sub'
define ii 'I sub'
define iis 'IC sub'
define e2 '2 sup'
define sunc '{ sin x } / x'
define vddm1V 'vv DD - 1 ^ roman V'
define vssp1V 'vv SS + 1 ^ roman V'
.EN
.pp
The following slide shows the complete schematics of the
fully-differential RIC. The operation includes a
correlated-double-sampling phase that occurs once every 256
clock periods, also called the
.i "spreading ratio" .
This reset phase is controlled by clocks $ DP sub 1 $ and $ DP
sub 2 $ in which the integrator is initialized by totally
removing the charge from $ cc F $ and storing the low-frequency
noise of the op amp in $ cc C $. At the same time the comparison
thresholds are set.
.fl
.po -0.2i
.sp 2
.lp
.(b
.EQ
gsize -4
.EN
.GS
roman 1
italics 2
bold 3
special 4
narrow 1
medium 3
thick 5
width 5.5
l mg
file grnexmpl.g
.GE
.EQ
gsize +4
.EN
.)b
.fl
.po +0.2i
.pp
The faster clocks are $ PN $, $ ITS $ and $ SP $. The sampling
capacitor $ cc S $ performs the delayed subtraction of a sample
of the input signal $ +- ^ vv SIG $ and a choice of $ - ^ vv REF
$, $ AGND $ or $ + ^ vv REF $ according to the operations
performed by the logic partially depicted operating on past
results of the comparisons. The synchronous comparators are
reset at this fast rates, thus performing one comparison for
every fast clock cycle. The dynamic common-mode feedback
arrangement operates synchronously with the reset time slot and
its configuration is equivalent to that in the differential
feedback path.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: filetype=groff:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
body {
margin-top: 0%;
margin-left: 0%;
margin-right: 0%;
margin-bottom: 0%;
background-color: white;
color: black;
}
pre {
background-color: #E0E0E0;
color: black;
border: thin;
border-style: solid;
}

View file

@ -0,0 +1,709 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Bold
%%+ font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Roman
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
236.031 87.74 MT 109.322 0 RL 0 23 RL -109.322 0 RL CL 0.545 0 0 Fr 1 1
0 Cr/F0 17/Times-Bold@0 SF(Chessboard)247.716 102.3 Q 231.031 97.3
EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 347.853 85.24 233.531 85.24 DL 347.853 113.24 347.853 85.24 DL
233.531 113.24 347.853 113.24 DL 233.531 85.24 233.531 113.24 DL 0.545 0
0 Cr 112.026 162.35 EBEGIN
1 setlinecap
EEND .5 LW 154.63 157.06 109.276 157.06 DL/F0 10/Times-Roman@0 SF(a)
129.733 150.35 Q 157.38 162.35 EBEGIN
1 setlinecap
EEND .5 LW 199.984 157.06 154.63 157.06 DL/F0 10/Times-Roman@0 SF(b)
174.807 150.35 Q 202.734 162.35 EBEGIN
1 setlinecap
EEND .5 LW 245.338 157.06 199.984 157.06 DL/F0 10/Times-Roman@0 SF(c)
220.441 150.35 Q 248.088 162.35 EBEGIN
1 setlinecap
EEND .5 LW 290.692 157.06 245.338 157.06 DL/F0 10/Times-Roman@0 SF(d)
265.515 150.35 Q 293.442 162.35 EBEGIN
1 setlinecap
EEND .5 LW 336.046 157.06 290.692 157.06 DL/F0 10/Times-Roman@0 SF(e)
311.149 150.35 Q 338.796 162.35 EBEGIN
1 setlinecap
EEND .5 LW 381.4 157.06 336.046 157.06 DL/F0 10/Times-Roman@0 SF(f)
357.058 150.35 Q 384.15 162.35 EBEGIN
1 setlinecap
EEND .5 LW 426.754 157.06 381.4 157.06 DL/F0 10/Times-Roman@0 SF(g)
401.577 150.35 Q 429.504 162.35 EBEGIN
1 setlinecap
EEND .5 LW 472.108 157.06 426.754 157.06 DL/F0 10/Times-Roman@0 SF(h)
446.931 150.35 Q 66.672 167.85 EBEGIN
1 setlinecap
EEND .5 LW 109.276 202.664 109.276 157.06 DL/F0 10/Times-Roman@0 SF(8)
101.526 181.777 Q 109.526 157.31 MT 44.854 0 RL 0 44.854 RL -44.854 0 RL
CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 112.026 207.704 EBEGIN
1 setlinecap
EEND .5 LW 154.63 202.414 109.276 202.414 DL 112.026 167.85 EBEGIN
1 setlinecap
EEND .5 LW 154.63 202.664 154.63 157.06 DL 154.88 157.31 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 157.38
207.704 EBEGIN
1 setlinecap
EEND .5 LW 199.984 202.414 154.63 202.414 DL 157.38 167.85 EBEGIN
1 setlinecap
EEND .5 LW 199.984 202.664 199.984 157.06 DL 200.234 157.31 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 202.734
207.704 EBEGIN
1 setlinecap
EEND .5 LW 245.338 202.414 199.984 202.414 DL 202.734 167.85 EBEGIN
1 setlinecap
EEND .5 LW 245.338 202.664 245.338 157.06 DL 245.588 157.31 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 248.088
207.704 EBEGIN
1 setlinecap
EEND .5 LW 290.692 202.414 245.338 202.414 DL 248.088 167.85 EBEGIN
1 setlinecap
EEND .5 LW 290.692 202.664 290.692 157.06 DL 290.942 157.31 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 293.442
207.704 EBEGIN
1 setlinecap
EEND .5 LW 336.046 202.414 290.692 202.414 DL 293.442 167.85 EBEGIN
1 setlinecap
EEND .5 LW 336.046 202.664 336.046 157.06 DL 336.296 157.31 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 338.796
207.704 EBEGIN
1 setlinecap
EEND .5 LW 381.4 202.414 336.046 202.414 DL 338.796 167.85 EBEGIN
1 setlinecap
EEND .5 LW 381.4 202.664 381.4 157.06 DL 381.65 157.31 MT 44.854 0 RL 0
44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 384.15
207.704 EBEGIN
1 setlinecap
EEND .5 LW 426.754 202.414 381.4 202.414 DL 384.15 167.85 EBEGIN
1 setlinecap
EEND .5 LW 426.754 202.664 426.754 157.06 DL 427.004 157.31 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 429.504
207.704 EBEGIN
1 setlinecap
EEND .5 LW 472.108 202.414 426.754 202.414 DL 429.504 167.85 EBEGIN
1 setlinecap
EEND .5 LW 472.108 202.664 472.108 157.06 DL/F0 10/Times-Roman@0 SF(8)
474.858 181.777 Q 66.672 213.204 EBEGIN
1 setlinecap
EEND .5 LW 109.276 248.018 109.276 202.414 DL/F0 10/Times-Roman@0 SF(7)
101.526 227.131 Q 109.526 202.664 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 112.026 253.058 EBEGIN
1 setlinecap
EEND .5 LW 154.63 247.768 109.276 247.768 DL 112.026 213.204 EBEGIN
1 setlinecap
EEND .5 LW 154.63 248.018 154.63 202.414 DL 154.88 202.664 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 157.38
253.058 EBEGIN
1 setlinecap
EEND .5 LW 199.984 247.768 154.63 247.768 DL 157.38 213.204 EBEGIN
1 setlinecap
EEND .5 LW 199.984 248.018 199.984 202.414 DL 200.234 202.664 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
202.734 253.058 EBEGIN
1 setlinecap
EEND .5 LW 245.338 247.768 199.984 247.768 DL 202.734 213.204 EBEGIN
1 setlinecap
EEND .5 LW 245.338 248.018 245.338 202.414 DL 245.588 202.664 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
248.088 253.058 EBEGIN
1 setlinecap
EEND .5 LW 290.692 247.768 245.338 247.768 DL 248.088 213.204 EBEGIN
1 setlinecap
EEND .5 LW 290.692 248.018 290.692 202.414 DL 290.942 202.664 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
293.442 253.058 EBEGIN
1 setlinecap
EEND .5 LW 336.046 247.768 290.692 247.768 DL 293.442 213.204 EBEGIN
1 setlinecap
EEND .5 LW 336.046 248.018 336.046 202.414 DL 336.296 202.664 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
338.796 253.058 EBEGIN
1 setlinecap
EEND .5 LW 381.4 247.768 336.046 247.768 DL 338.796 213.204 EBEGIN
1 setlinecap
EEND .5 LW 381.4 248.018 381.4 202.414 DL 381.65 202.664 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 384.15
253.058 EBEGIN
1 setlinecap
EEND .5 LW 426.754 247.768 381.4 247.768 DL 384.15 213.204 EBEGIN
1 setlinecap
EEND .5 LW 426.754 248.018 426.754 202.414 DL 427.004 202.664 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
429.504 253.058 EBEGIN
1 setlinecap
EEND .5 LW 472.108 247.768 426.754 247.768 DL 429.504 213.204 EBEGIN
1 setlinecap
EEND .5 LW 472.108 248.018 472.108 202.414 DL/F0 10/Times-Roman@0 SF(7)
474.858 227.131 Q 66.672 258.558 EBEGIN
1 setlinecap
EEND .5 LW 109.276 293.372 109.276 247.768 DL/F0 10/Times-Roman@0 SF(6)
101.526 272.485 Q 109.526 248.018 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 112.026 298.412 EBEGIN
1 setlinecap
EEND .5 LW 154.63 293.122 109.276 293.122 DL 112.026 258.558 EBEGIN
1 setlinecap
EEND .5 LW 154.63 293.372 154.63 247.768 DL 154.88 248.018 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 157.38
298.412 EBEGIN
1 setlinecap
EEND .5 LW 199.984 293.122 154.63 293.122 DL 157.38 258.558 EBEGIN
1 setlinecap
EEND .5 LW 199.984 293.372 199.984 247.768 DL 200.234 248.018 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
202.734 298.412 EBEGIN
1 setlinecap
EEND .5 LW 245.338 293.122 199.984 293.122 DL 202.734 258.558 EBEGIN
1 setlinecap
EEND .5 LW 245.338 293.372 245.338 247.768 DL 245.588 248.018 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
248.088 298.412 EBEGIN
1 setlinecap
EEND .5 LW 290.692 293.122 245.338 293.122 DL 248.088 258.558 EBEGIN
1 setlinecap
EEND .5 LW 290.692 293.372 290.692 247.768 DL 290.942 248.018 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
293.442 298.412 EBEGIN
1 setlinecap
EEND .5 LW 336.046 293.122 290.692 293.122 DL 293.442 258.558 EBEGIN
1 setlinecap
EEND .5 LW 336.046 293.372 336.046 247.768 DL 336.296 248.018 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
338.796 298.412 EBEGIN
1 setlinecap
EEND .5 LW 381.4 293.122 336.046 293.122 DL 338.796 258.558 EBEGIN
1 setlinecap
EEND .5 LW 381.4 293.372 381.4 247.768 DL 381.65 248.018 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 384.15
298.412 EBEGIN
1 setlinecap
EEND .5 LW 426.754 293.122 381.4 293.122 DL 384.15 258.558 EBEGIN
1 setlinecap
EEND .5 LW 426.754 293.372 426.754 247.768 DL 427.004 248.018 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
429.504 298.412 EBEGIN
1 setlinecap
EEND .5 LW 472.108 293.122 426.754 293.122 DL 429.504 258.558 EBEGIN
1 setlinecap
EEND .5 LW 472.108 293.372 472.108 247.768 DL/F0 10/Times-Roman@0 SF(6)
474.858 272.485 Q 66.672 303.912 EBEGIN
1 setlinecap
EEND .5 LW 109.276 338.726 109.276 293.122 DL/F0 10/Times-Roman@0 SF(5)
101.526 317.839 Q 109.526 293.372 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 112.026 343.766 EBEGIN
1 setlinecap
EEND .5 LW 154.63 338.476 109.276 338.476 DL 112.026 303.912 EBEGIN
1 setlinecap
EEND .5 LW 154.63 338.726 154.63 293.122 DL 154.88 293.372 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 157.38
343.766 EBEGIN
1 setlinecap
EEND .5 LW 199.984 338.476 154.63 338.476 DL 157.38 303.912 EBEGIN
1 setlinecap
EEND .5 LW 199.984 338.726 199.984 293.122 DL 200.234 293.372 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
202.734 343.766 EBEGIN
1 setlinecap
EEND .5 LW 245.338 338.476 199.984 338.476 DL 202.734 303.912 EBEGIN
1 setlinecap
EEND .5 LW 245.338 338.726 245.338 293.122 DL 245.588 293.372 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
248.088 343.766 EBEGIN
1 setlinecap
EEND .5 LW 290.692 338.476 245.338 338.476 DL 248.088 303.912 EBEGIN
1 setlinecap
EEND .5 LW 290.692 338.726 290.692 293.122 DL 290.942 293.372 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
293.442 343.766 EBEGIN
1 setlinecap
EEND .5 LW 336.046 338.476 290.692 338.476 DL 293.442 303.912 EBEGIN
1 setlinecap
EEND .5 LW 336.046 338.726 336.046 293.122 DL 336.296 293.372 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
338.796 343.766 EBEGIN
1 setlinecap
EEND .5 LW 381.4 338.476 336.046 338.476 DL 338.796 303.912 EBEGIN
1 setlinecap
EEND .5 LW 381.4 338.726 381.4 293.122 DL 381.65 293.372 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 384.15
343.766 EBEGIN
1 setlinecap
EEND .5 LW 426.754 338.476 381.4 338.476 DL 384.15 303.912 EBEGIN
1 setlinecap
EEND .5 LW 426.754 338.726 426.754 293.122 DL 427.004 293.372 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
429.504 343.766 EBEGIN
1 setlinecap
EEND .5 LW 472.108 338.476 426.754 338.476 DL 429.504 303.912 EBEGIN
1 setlinecap
EEND .5 LW 472.108 338.726 472.108 293.122 DL/F0 10/Times-Roman@0 SF(5)
474.858 317.839 Q 66.672 349.266 EBEGIN
1 setlinecap
EEND .5 LW 109.276 384.08 109.276 338.476 DL/F0 10/Times-Roman@0 SF(4)
101.526 363.193 Q 109.526 338.726 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 112.026 389.12 EBEGIN
1 setlinecap
EEND .5 LW 154.63 383.83 109.276 383.83 DL 112.026 349.266 EBEGIN
1 setlinecap
EEND .5 LW 154.63 384.08 154.63 338.476 DL 154.88 338.726 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 157.38
389.12 EBEGIN
1 setlinecap
EEND .5 LW 199.984 383.83 154.63 383.83 DL 157.38 349.266 EBEGIN
1 setlinecap
EEND .5 LW 199.984 384.08 199.984 338.476 DL 200.234 338.726 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 202.734
389.12 EBEGIN
1 setlinecap
EEND .5 LW 245.338 383.83 199.984 383.83 DL 202.734 349.266 EBEGIN
1 setlinecap
EEND .5 LW 245.338 384.08 245.338 338.476 DL 245.588 338.726 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 248.088
389.12 EBEGIN
1 setlinecap
EEND .5 LW 290.692 383.83 245.338 383.83 DL 248.088 349.266 EBEGIN
1 setlinecap
EEND .5 LW 290.692 384.08 290.692 338.476 DL 290.942 338.726 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 293.442
389.12 EBEGIN
1 setlinecap
EEND .5 LW 336.046 383.83 290.692 383.83 DL 293.442 349.266 EBEGIN
1 setlinecap
EEND .5 LW 336.046 384.08 336.046 338.476 DL 336.296 338.726 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 338.796
389.12 EBEGIN
1 setlinecap
EEND .5 LW 381.4 383.83 336.046 383.83 DL 338.796 349.266 EBEGIN
1 setlinecap
EEND .5 LW 381.4 384.08 381.4 338.476 DL 381.65 338.726 MT 44.854 0 RL 0
44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 384.15
389.12 EBEGIN
1 setlinecap
EEND .5 LW 426.754 383.83 381.4 383.83 DL 384.15 349.266 EBEGIN
1 setlinecap
EEND .5 LW 426.754 384.08 426.754 338.476 DL 427.004 338.726 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 429.504
389.12 EBEGIN
1 setlinecap
EEND .5 LW 472.108 383.83 426.754 383.83 DL 429.504 349.266 EBEGIN
1 setlinecap
EEND .5 LW 472.108 384.08 472.108 338.476 DL/F0 10/Times-Roman@0 SF(4)
474.858 363.193 Q 66.672 394.62 EBEGIN
1 setlinecap
EEND .5 LW 109.276 429.434 109.276 383.83 DL/F0 10/Times-Roman@0 SF(3)
101.526 408.547 Q 109.526 384.08 MT 44.854 0 RL 0 44.854 RL -44.854 0 RL
CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 112.026 434.474 EBEGIN
1 setlinecap
EEND .5 LW 154.63 429.184 109.276 429.184 DL 112.026 394.62 EBEGIN
1 setlinecap
EEND .5 LW 154.63 429.434 154.63 383.83 DL 154.88 384.08 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 157.38
434.474 EBEGIN
1 setlinecap
EEND .5 LW 199.984 429.184 154.63 429.184 DL 157.38 394.62 EBEGIN
1 setlinecap
EEND .5 LW 199.984 429.434 199.984 383.83 DL 200.234 384.08 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 202.734
434.474 EBEGIN
1 setlinecap
EEND .5 LW 245.338 429.184 199.984 429.184 DL 202.734 394.62 EBEGIN
1 setlinecap
EEND .5 LW 245.338 429.434 245.338 383.83 DL 245.588 384.08 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 248.088
434.474 EBEGIN
1 setlinecap
EEND .5 LW 290.692 429.184 245.338 429.184 DL 248.088 394.62 EBEGIN
1 setlinecap
EEND .5 LW 290.692 429.434 290.692 383.83 DL 290.942 384.08 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 293.442
434.474 EBEGIN
1 setlinecap
EEND .5 LW 336.046 429.184 290.692 429.184 DL 293.442 394.62 EBEGIN
1 setlinecap
EEND .5 LW 336.046 429.434 336.046 383.83 DL 336.296 384.08 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 338.796
434.474 EBEGIN
1 setlinecap
EEND .5 LW 381.4 429.184 336.046 429.184 DL 338.796 394.62 EBEGIN
1 setlinecap
EEND .5 LW 381.4 429.434 381.4 383.83 DL 381.65 384.08 MT 44.854 0 RL 0
44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 384.15
434.474 EBEGIN
1 setlinecap
EEND .5 LW 426.754 429.184 381.4 429.184 DL 384.15 394.62 EBEGIN
1 setlinecap
EEND .5 LW 426.754 429.434 426.754 383.83 DL 427.004 384.08 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 429.504
434.474 EBEGIN
1 setlinecap
EEND .5 LW 472.108 429.184 426.754 429.184 DL 429.504 394.62 EBEGIN
1 setlinecap
EEND .5 LW 472.108 429.434 472.108 383.83 DL/F0 10/Times-Roman@0 SF(3)
474.858 408.547 Q 66.672 439.974 EBEGIN
1 setlinecap
EEND .5 LW 109.276 474.788 109.276 429.184 DL/F0 10/Times-Roman@0 SF(2)
101.526 453.901 Q 109.526 429.434 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 112.026 479.828 EBEGIN
1 setlinecap
EEND .5 LW 154.63 474.538 109.276 474.538 DL 112.026 439.974 EBEGIN
1 setlinecap
EEND .5 LW 154.63 474.788 154.63 429.184 DL 154.88 429.434 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 157.38
479.828 EBEGIN
1 setlinecap
EEND .5 LW 199.984 474.538 154.63 474.538 DL 157.38 439.974 EBEGIN
1 setlinecap
EEND .5 LW 199.984 474.788 199.984 429.184 DL 200.234 429.434 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
202.734 479.828 EBEGIN
1 setlinecap
EEND .5 LW 245.338 474.538 199.984 474.538 DL 202.734 439.974 EBEGIN
1 setlinecap
EEND .5 LW 245.338 474.788 245.338 429.184 DL 245.588 429.434 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
248.088 479.828 EBEGIN
1 setlinecap
EEND .5 LW 290.692 474.538 245.338 474.538 DL 248.088 439.974 EBEGIN
1 setlinecap
EEND .5 LW 290.692 474.788 290.692 429.184 DL 290.942 429.434 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
293.442 479.828 EBEGIN
1 setlinecap
EEND .5 LW 336.046 474.538 290.692 474.538 DL 293.442 439.974 EBEGIN
1 setlinecap
EEND .5 LW 336.046 474.788 336.046 429.184 DL 336.296 429.434 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
338.796 479.828 EBEGIN
1 setlinecap
EEND .5 LW 381.4 474.538 336.046 474.538 DL 338.796 439.974 EBEGIN
1 setlinecap
EEND .5 LW 381.4 474.788 381.4 429.184 DL 381.65 429.434 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 384.15
479.828 EBEGIN
1 setlinecap
EEND .5 LW 426.754 474.538 381.4 474.538 DL 384.15 439.974 EBEGIN
1 setlinecap
EEND .5 LW 426.754 474.788 426.754 429.184 DL 427.004 429.434 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
429.504 479.828 EBEGIN
1 setlinecap
EEND .5 LW 472.108 474.538 426.754 474.538 DL 429.504 439.974 EBEGIN
1 setlinecap
EEND .5 LW 472.108 474.788 472.108 429.184 DL/F0 10/Times-Roman@0 SF(2)
474.858 453.901 Q 66.672 485.328 EBEGIN
1 setlinecap
EEND .5 LW 109.276 520.142 109.276 474.538 DL/F0 10/Times-Roman@0 SF(1)
101.526 499.255 Q 109.526 474.788 MT 44.854 0 RL 0 44.854 RL -44.854 0
RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 112.026 525.182 EBEGIN
1 setlinecap
EEND .5 LW 154.63 519.892 109.276 519.892 DL 112.026 485.328 EBEGIN
1 setlinecap
EEND .5 LW 154.63 520.142 154.63 474.538 DL 154.88 474.788 MT 44.854 0
RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr 157.38
525.182 EBEGIN
1 setlinecap
EEND .5 LW 199.984 519.892 154.63 519.892 DL 157.38 485.328 EBEGIN
1 setlinecap
EEND .5 LW 199.984 520.142 199.984 474.538 DL 200.234 474.788 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
202.734 525.182 EBEGIN
1 setlinecap
EEND .5 LW 245.338 519.892 199.984 519.892 DL 202.734 485.328 EBEGIN
1 setlinecap
EEND .5 LW 245.338 520.142 245.338 474.538 DL 245.588 474.788 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
248.088 525.182 EBEGIN
1 setlinecap
EEND .5 LW 290.692 519.892 245.338 519.892 DL 248.088 485.328 EBEGIN
1 setlinecap
EEND .5 LW 290.692 520.142 290.692 474.538 DL 290.942 474.788 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr
293.442 525.182 EBEGIN
1 setlinecap
EEND .5 LW 336.046 519.892 290.692 519.892 DL 293.442 485.328 EBEGIN
1 setlinecap
EEND .5 LW 336.046 520.142 336.046 474.538 DL 336.296 474.788 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
338.796 525.182 EBEGIN
1 setlinecap
EEND .5 LW 381.4 519.892 336.046 519.892 DL 338.796 485.328 EBEGIN
1 setlinecap
EEND .5 LW 381.4 520.142 381.4 474.538 DL 381.65 474.788 MT 44.854 0 RL
0 44.854 RL -44.854 0 RL CL 0.804 0.522 0.247 Fr 0.545 0 0 Cr 384.15
525.182 EBEGIN
1 setlinecap
EEND .5 LW 426.754 519.892 381.4 519.892 DL 384.15 485.328 EBEGIN
1 setlinecap
EEND .5 LW 426.754 520.142 426.754 474.538 DL 427.004 474.788 MT 44.854
0 RL 0 44.854 RL -44.854 0 RL CL 0.961 0.871 0.702 Fr 0.545 0 0 Cr
429.504 525.182 EBEGIN
1 setlinecap
EEND .5 LW 472.108 519.892 426.754 519.892 DL 429.504 485.328 EBEGIN
1 setlinecap
EEND .5 LW 472.108 520.142 472.108 474.538 DL/F0 10/Times-Roman@0 SF(1)
474.858 499.255 Q(a)129.733 530.682 Q(b)174.807 530.682 Q(c)220.441
530.682 Q(d)265.515 530.682 Q(e)311.149 530.682 Q(f)357.058 530.682 Q(g)
401.577 530.682 Q(h)446.931 530.682 Q 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,70 @@
.ig
Copyright 2005-2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.nr *x 8
.de r1
.TR height=1.6c
.TD hl= val=m hal=r \\\\n(*x
.PN 4 ".TD bgc=wheat" ".TD bgc=tan3"
.TD hl= val=m hal=l \\\\n(*x
.nr *x -1
..
.de r2
.TR height=1.6c
.TD hl= val=m hal=r \\\\n(*x
.PN 4 ".TD bgc=tan3" ".TD bgc=wheat"
.TD hl= val=m hal=l \\\\n(*x
.nr *x -1
..
.af *y a
.H Chessboard
.TBL border=0 csp=.05n bgc= cols=10 width=1.6c tal=c
.TR vl= hal=c\" height=1c
.TD hl=
.nr *y 0
.PN 8 .TD ".nr *y +1" \\\\n(*y
.TD hl=
.PN 4 .r1 .r2
.TR vl= hal=c
.TD
.nr *y 0
.PN 8 .TD ".nr *y +1" \\\\n(*y
.TD
.ETB
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,327 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Roman
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 12/Times-Roman@0 SF -1.5 -.84(Te x)56.692 86.4 T 4.732(tb).84 G
1.732(efore table.)-4.732 F -1.5 -.84(Te x)7.732 H 4.732(tb).84 G 1.732
(efore table.)-4.732 F -1.5 -.84(Te x)7.732 H 4.731(tb).84 G 1.731
(efore table.)-4.731 F -1.5 -.84(Te x)7.731 H 4.731(tb).84 G 1.731
(efore table.)-4.731 F -1.5 -.84(Te x)7.731 H 4.731(tb).84 G 1.731
(efore table.)-4.731 F -1.5 -.84(Te x)56.692 100.8 T 3(tb).84 G
(efore table.)-3 E -1.5 -.84(Te x)6 H 3(tb).84 G(efore table.)-3 E -1.5
-.84(Te x)6 H 3(tb).84 G(efore table.)-3 E -1.5 -.84(Te x)6 H 3(tb).84 G
(efore table.)-3 E -1.5 -.84(Te x)6 H 3(tb).84 G(efore table.)-3 E .192
(Indented te)85.038 115.2 R .192(xt before table.)-.18 F .193
(Indented te)6.193 F .193(xt before table.)-.18 F .193(Indented te)6.193
F .193(xt before table.)-.18 F(Indented)6.193 E(te)85.038 129.6 Q .628
(xt before table.)-.18 F .628(Indented te)6.628 F .628(xt before table.)
-.18 F .627(Indented te)6.628 F .627(xt before table.)-.18 F .627
(Indented te)6.627 F .627(xt be-)-.18 F 119.021 152.112 MT 371.688 0 RL
0 343.966 RL -371.688 0 RL CL 0.961 0.871 0.702 Fr 148.962 158.112 MT
283.46 0 RL 0 28.346 RL -283.46 0 RL CL 0.98 0.0745 0.875 Fr 432.422
158.112 MT 28.346 0 RL 0 283.46 RL -28.346 0 RL CL 0.478 0.698 0.0706 Fr
148.962 186.458 MT 28.346 0 RL 0 283.46 RL -28.346 0 RL CL 0.31 0.965
0.169 Fr 177.308 186.458 MT 226.768 0 RL 0 28.346 RL -226.768 0 RL CL
0.263 0.0431 0.49 Fr 404.076 186.458 MT 28.346 0 RL 0 226.768 RL -28.346
0 RL CL 0.129 0.576 0.369 Fr 177.308 214.804 MT 28.346 0 RL 0 226.768 RL
-28.346 0 RL CL 0.0863 0.561 0.122 Fr 205.654 214.804 MT 170.076 0 RL 0
28.346 RL -170.076 0 RL CL 0.396 0.698 0.0745 Fr 375.73 214.804 MT
28.346 0 RL 0 170.076 RL -28.346 0 RL CL 0.173 0.341 0.373 Fr 205.654
243.15 MT 28.346 0 RL 0 170.076 RL -28.346 0 RL CL 0.369 0.992 0.686 Fr
234 243.15 MT 113.384 0 RL 0 28.346 RL -113.384 0 RL CL 0.424 0.827
0.671 Fr 347.384 243.15 MT 28.346 0 RL 0 113.384 RL -28.346 0 RL CL
0.475 0.624 0.137 Fr 234 271.496 MT 28.346 0 RL 0 113.384 RL -28.346 0
RL CL 1 0.502 0.482 Fr 262.346 271.496 MT 56.692 0 RL 0 28.346 RL
-56.692 0 RL CL 0.969 0.776 0.788 Fr 319.038 271.496 MT 28.346 0 RL 0
56.692 RL -28.346 0 RL CL 0.514 0.22 0.945 Fr 262.346 299.842 MT 28.346
0 RL 0 56.692 RL -28.346 0 RL CL 0.396 0.835 0.949 Fr 290.692 299.842 MT
28.346 0 RL 0 28.346 RL -28.346 0 RL CL 0.235 0.635 0.396 Fr 290.692
328.188 MT 56.692 0 RL 0 28.346 RL -56.692 0 RL CL 0.843 0.639 0.62 Fr
262.346 356.534 MT 113.384 0 RL 0 28.346 RL -113.384 0 RL CL 0.2 0 0.161
Fr 234 384.88 MT 170.076 0 RL 0 28.346 RL -170.076 0 RL CL 0.0941 0.965
0.216 Fr 205.654 413.226 MT 226.768 0 RL 0 28.346 RL -226.768 0 RL CL
0.976 0.965 0.867 Fr 177.308 441.572 MT 283.46 0 RL 0 28.346 RL -283.46
0 RL CL 0.843 0.749 0.482 Fr 0.545 0 0 Cr -.96(Ta)148.962 485.326 S
(ble 1:).96 E(Randomly Colored T)6 E(able Cells with Colspan/Ro)-.96 E
(wspan)-.3 E 107.021 152.76 EBEGIN
0 setlinejoin 2 setlinecap
EEND 6 LW 499.709 143.112 110.021 143.112 DL 499.709 505.078 499.709
143.112 DL 110.021 505.078 499.709 505.078 DL 110.021 143.112 110.021
505.078 DL 0 Cg/F0 12/Times-Roman@0 SF .444(fore table.)85.038 524.926 R
.444(Indented te)6.444 F .444(xt before table.)-.18 F .445
(*** *** *** T)6.445 F -.18(ex)-.84 G 3.445(ta).18 G .445(fter table.)
-3.445 F -1.5 -.84(Te x)6.445 H 3.445(ta).84 G .445(fter table.)-3.445 F
-1.5 -.84(Te x)6.445 H(t).84 E .749(after table.)85.038 539.326 R -1.5
-.84(Te x)6.749 H 3.749(ta).84 G .749(fter table.)-3.749 F -1.5 -.84
(Te x)6.749 H 3.749(ta).84 G .749(fter table.)-3.749 F -1.5 -.84(Te x)
6.749 H 3.749(ta).84 G .749(fter table.)-3.749 F -1.5 -.84(Te x)6.748 H
3.748(ta).84 G .748(fter table.)-3.748 F -1.5 -.84(Te x)6.748 H 3.748
(ta).84 G(fter)-3.748 E 3.459(table. T)85.038 553.726 R -.18(ex)-.84 G
3.459(ta).18 G .459(fter table.)-3.459 F -1.5 -.84(Te x)6.459 H 3.459
(ta).84 G .459(fter table.)-3.459 F -1.5 -.84(Te x)6.459 H 3.459(ta).84
G .459(fter table.)-3.459 F -1.5 -.84(Te x)6.459 H 3.459(ta).84 G .459
(fter table.)-3.459 F -1.5 -.84(Te x)6.459 H 3.459(ta).84 G .46
(fter table.)-3.459 F -1.5 -.84(Te x)85.038 568.126 T 3(ta).84 G
(fter table.)-3 E -1.5 -.84(Te x)6 H 3(ta).84 G(fter table.)-3 E 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,89 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.\" Seed the random number generator for reproducible builds.
.random-seed 131545532 19201711
.de color#
.nr # +1
.random#
.defcolor c\\n# rgb \\*[#random]
..
.
.de brt
.nr # 0
.color#
.if \\n[t*cols\\n[t*#]]/2*2=\\n[t*cols\\n[t*#]] \{ .
. tmc \\n(.F:\\n(.c: cols was even (\\n[t*cols\\n[t*#]]),
. nr t*cols\\n[t*#] +1
. tm1 " increased by one col to \\n[t*cols\\n[t*#]].
. t*cl \\*[width]
. ie "\\*[tal]"r" .nr in\\n[t*#] -\\*[width]\" recalculate cell widths etc.
. el .if "\\*[tal]"c" .nr in\\n[t*#] -\\*[width]/2
.\}
.nr N \\n[t*cols\\n[t*#]]-1 \" N must be even
.nr W 1c\"\\*[width]
.ds html "".TR height=\\nW" ".TD bgc=c\\n#"
.nr I 0 2
.while \\nN>=\\n+I \{ .
. ds help "\\*[html]
. pops * help
. color#
. ds html "".TR height=\\nW" ".TD colspan=\\nI bgc=c\\n#"
. color#
. as html " ".TD rowspan=\\nI bgc=c\\n#"
. color#
. as html " ".TR height=\\nW" ".TD rowspan=\\nI bgc=c\\n#"
. color#
. as html " \\*[help] ".TR height=\\nW" ".TD colspan=\\nI bgc=c\\n#"
.\}
.t*P1 \\*[html]
..
.
.t*pv 1.2 1.2 "" x
.PN 10 Text before table.
.in 1c
.PN 8 Indented text before table.
*** *** ***
.TBL width=90% border=1n csp=1n cpd=1n bgc=wheat tal=c .TR .TD
.TBL border= cols=11 width=1c tal=c csp=0 cpd=0 \"cols must be odd
.CPTN val=b Randomly Colored Table Cells with Colspan/\%Rowspan
.brt
.ETB .ETB
.PN 15 Text after table.
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,440 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Bold
%%+ font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Roman
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
61.692 87.74 MT 458 0 RL 0 41 RL -458 0 RL CL 0.545 0 0 Fr 1 1 0 Cr/F0
17/Times-Bold@0 SF(Horizontal Rules and Boxes)189.865 102.3 Q
(with Randomly Color)112.719 120.3 Q(ed Border and Backgr)-.306 E(ound)
-.306 E 56.692 97.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 522.192 85.24 59.192 85.24 DL 522.192 131.24 522.192 85.24 DL
59.192 131.24 522.192 131.24 DL 59.192 85.24 59.192 131.24 DL 0 Cg/F0 10
/Times-Roman@0 SF -1.25 -.7(Te x)56.692 160.8 T 3.602(tb).7 G 1.102
(efore horizontal rule.)-3.602 F -1.25 -.7(Te x)6.102 H 3.602(tb).7 G
1.101(efore horizontal rule.)-3.602 F -1.25 -.7(Te x)6.101 H 3.601(tb).7
G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101 H 3.601(tb)
.7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)56.692 172.8 T
3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101
H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)
6.101 H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7
(Te x)6.102 H 3.602(tb).7 G 1.102(efore horizontal rule.)-3.602 F -1.25
-.7(Te x)56.692 184.8 T 3.602(tb).7 G 1.102(efore horizontal rule.)
-3.602 F -1.25 -.7(Te x)6.102 H 3.602(tb).7 G 1.101
(efore horizontal rule.)-3.602 F -1.25 -.7(Te x)6.101 H 3.601(tb).7 G
1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101 H 3.601(tb).7
G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)56.692 196.8 T
3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101
H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)
6.101 H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7
(Te x)6.102 H 3.602(tb).7 G 1.102(efore horizontal rule.)-3.602 F -1.25
-.7(Te x)56.692 208.8 T 3.602(tb).7 G 1.102(efore horizontal rule.)
-3.602 F -1.25 -.7(Te x)6.102 H 3.602(tb).7 G 1.101
(efore horizontal rule.)-3.602 F -1.25 -.7(Te x)6.101 H 3.601(tb).7 G
1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101 H 3.601(tb).7
G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)56.692 220.8 T
3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)6.101
H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7(Te x)
6.101 H 3.601(tb).7 G 1.101(efore horizontal rule.)-3.601 F -1.25 -.7
(Te x)6.102 H 3.602(tb).7 G 1.102(efore horizontal rule.)-3.602 F
194.979 233.06 MT 191.425 0 RL 0 3 RL -191.425 0 RL CL 1 0 0 Fr 0.545 0
0 Cr 191.479 238.85 EBEGIN
0 setlinejoin 2 setlinecap
EEND 2.5 LW 0 1 0 Cr 388.654 230.81 192.729 230.81 DL 388.654 238.31
388.654 230.81 DL 192.729 238.31 388.654 238.31 DL 192.729 230.81
192.729 238.31 DL 0 Cg/F0 10/Times-Roman@0 SF -1.25 -.7(Te x)56.692
253.6 T 3.162(tb).7 G .662(efore horizontal rule.)-3.162 F -1.25 -.7
(Te x)5.661 H 3.161(ta).7 G .661(fter horizontal rule and before table.)
-3.161 F -1.25 -.7(Te x)5.661 H 3.161(ta).7 G .661
(fter horizontal rule and before table.)-3.161 F -1.25 -.7(Te x)56.692
265.6 T 2.723(ta).7 G .223(fter horizontal rule and before table.)-2.723
F -1.25 -.7(Te x)5.223 H 2.723(ta).7 G .223
(fter horizontal rule and before table.)-2.723 F -1.25 -.7(Te x)5.224 H
2.724(ta).7 G .224(fter horizontal rule and)-2.724 F .286(before table.)
56.692 277.6 R -1.25 -.7(Te x)5.286 H 2.786(ta).7 G .286
(fter horizontal rule and before table.)-2.786 F -1.25 -.7(Te x)5.286 H
2.786(ta).7 G .285(fter horizontal rule and before table.)-2.786 F -1.25
-.7(Te x)5.285 H 2.785(ta).7 G .285(fter hori-)-2.785 F 78.094 286.36 MT
85.039 0 RL 0 85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 106.44 314.706
MT 28.347 0 RL 0 28.347 RL -28.347 0 RL CL 0.969 0.776 0.788 Fr 0.545 0
0 Cr 78.094 308.573 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.235 0.635 0.396 Cr 148.96 300.533 92.267 300.533 DL
148.96 357.226 148.96 300.533 DL 92.267 357.226 148.96 357.226 DL 92.267
300.533 92.267 357.226 DL 163.133 286.36 MT 85.039 0 RL 0 85.039 RL
-85.039 0 RL CL 1 0.894 0.769 Fr 191.479 314.706 MT 28.347 0 RL 0 28.347
RL -28.347 0 RL CL 0.475 0.624 0.137 Fr 0.545 0 0 Cr 163.133 308.573
EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.424 0.827 0.671 Cr 233.999 300.533 177.306 300.533 DL
233.999 357.226 233.999 300.533 DL 177.306 357.226 233.999 357.226 DL
177.306 300.533 177.306 357.226 DL 248.172 286.36 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 276.518 314.706 MT 28.347 0
RL 0 28.347 RL -28.347 0 RL CL 0.369 0.992 0.686 Fr 0.545 0 0 Cr 248.172
308.573 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.173 0.341 0.373 Cr 319.038 300.533 262.345 300.533 DL
319.038 357.226 319.038 300.533 DL 262.345 357.226 319.038 357.226 DL
262.345 300.533 262.345 357.226 DL 333.211 286.36 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 361.557 314.706 MT 28.347 0
RL 0 28.347 RL -28.347 0 RL CL 0.976 0.965 0.867 Fr 0.545 0 0 Cr 333.211
308.573 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.0863 0.561 0.122 Cr 404.077 300.533 347.384 300.533 DL
404.077 357.226 404.077 300.533 DL 347.384 357.226 404.077 357.226 DL
347.384 300.533 347.384 357.226 DL 418.25 286.36 MT 85.039 0 RL 0 85.039
RL -85.039 0 RL CL 1 0.894 0.769 Fr 446.596 314.706 MT 28.347 0 RL 0
28.347 RL -28.347 0 RL CL 0.0745 0.561 0.467 Fr 0.545 0 0 Cr 418.25
308.573 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.843 0.749 0.482 Cr 489.116 300.533 432.423 300.533 DL
489.116 357.226 489.116 300.533 DL 432.423 357.226 489.116 357.226 DL
432.423 300.533 432.423 357.226 DL 78.094 371.399 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 106.44 399.745 MT 28.347 0 RL
0 28.347 RL -28.347 0 RL CL 0.565 0.455 0.404 Fr 0.545 0 0 Cr 78.094
393.612 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.357 0.682 0.384 Cr 148.96 385.572 92.267 385.572 DL
148.96 442.265 148.96 385.572 DL 92.267 442.265 148.96 442.265 DL 92.267
385.572 92.267 442.265 DL 163.133 371.399 MT 85.039 0 RL 0 85.039 RL
-85.039 0 RL CL 1 0.894 0.769 Fr 191.479 399.745 MT 28.347 0 RL 0 28.347
RL -28.347 0 RL CL 0.769 0.937 0.718 Fr 0.545 0 0 Cr 163.133 393.612
EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.816 0.973 0.373 Cr 233.999 385.572 177.306 385.572 DL
233.999 442.265 233.999 385.572 DL 177.306 442.265 233.999 442.265 DL
177.306 385.572 177.306 442.265 DL 248.172 371.399 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 276.518 399.745 MT 28.347 0
RL 0 28.347 RL -28.347 0 RL CL 0.376 0.612 0.259 Fr 0.545 0 0 Cr 248.172
393.612 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.392 0.745 0.784 Cr 319.038 385.572 262.345 385.572 DL
319.038 442.265 319.038 385.572 DL 262.345 442.265 319.038 442.265 DL
262.345 385.572 262.345 442.265 DL 333.211 371.399 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 361.557 399.745 MT 28.347 0
RL 0 28.347 RL -28.347 0 RL CL 0.349 0.584 0.71 Fr 0.545 0 0 Cr 333.211
393.612 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.733 0.0392 0.204 Cr 404.077 385.572 347.384 385.572 DL
404.077 442.265 404.077 385.572 DL 347.384 442.265 404.077 442.265 DL
347.384 385.572 347.384 442.265 DL 418.25 371.399 MT 85.039 0 RL 0
85.039 RL -85.039 0 RL CL 1 0.894 0.769 Fr 446.596 399.745 MT 28.347 0
RL 0 28.347 RL -28.347 0 RL CL 0.984 0.647 0.0667 Fr 0.545 0 0 Cr 418.25
393.612 EBEGIN
0 setlinejoin 2 setlinecap
EEND 28.346 LW 0.8 0.937 0.157 Cr 489.116 385.572 432.423 385.572 DL
489.116 442.265 489.116 385.572 DL 432.423 442.265 489.116 442.265 DL
432.423 385.572 432.423 442.265 DL 0 Cg/F0 10/Times-Roman@0 SF .469
(zontal rule and before table.)56.692 470.478 R -1.25 -.7(Te x)5.469 H
2.969(ta).7 G .469(fter horizontal rule and before table.)-2.969 F -1.25
-.7(Te x)5.47 H 2.97(ta).7 G .47(fter horizontal rule and before table.)
-2.97 F -1.25 -.7(Te x)56.692 482.478 T 3.011(ta).7 G .511(fter table.)
-3.011 F -1.25 -.7(Te x)5.511 H 3.011(ta).7 G .511(fter table.)-3.011 F
-1.25 -.7(Te x)5.511 H 3.011(ta).7 G .511(fter table.)-3.011 F -1.25 -.7
(Te x)5.511 H 3.011(ta).7 G .51(fter table.)-3.011 F -1.25 -.7(Te x)5.51
H 3.01(ta).7 G .51(fter table.)-3.01 F -1.25 -.7(Te x)5.51 H 3.01(ta).7
G .51(fter table.)-3.01 F -1.25 -.7(Te x)5.51 H 3.01(ta).7 G .51
(fter ta-)-3.01 F 2.677(ble. T)56.692 494.478 R -.15(ex)-.7 G 2.677(ta)
.15 G .177(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G
.177(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G .177
(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G .177
(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G .177
(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G .177
(fter table.)-2.677 F -1.25 -.7(Te x)5.177 H 2.677(ta).7 G(fter)-2.677 E
81.594 506.738 MT 418.196 0 RL 0 3 RL -418.196 0 RL CL 0.984 0.647
0.0667 Fr 0.545 0 0 Cr 78.094 512.528 EBEGIN
0 setlinejoin 2 setlinecap
EEND 2.5 LW 0.8 0.937 0.157 Cr 502.04 504.488 79.344 504.488 DL 502.04
511.988 502.04 504.488 DL 79.344 511.988 502.04 511.988 DL 79.344
504.488 79.344 511.988 DL 0 Cg/F0 10/Times-Roman@0 SF 3.343(table. T)
56.692 527.278 R -.15(ex)-.7 G 3.343(ta).15 G .843(fter table.)-3.343 F
-1.25 -.7(Te x)5.843 H 3.343(ta).7 G .843(fter horizontal rule.)-3.343 F
-1.25 -.7(Te x)5.842 H 3.342(ta).7 G .842(fter horizontal rule.)-3.342 F
-1.25 -.7(Te x)5.842 H 3.342(ta).7 G .842(fter horizontal rule.)-3.342 F
-1.25 -.7(Te x)5.842 H 3.342(ta).7 G(fter)-3.342 E .407
(horizontal rule.)56.692 539.278 R -1.25 -.7(Te x)5.407 H 2.907(ta).7 G
.407(fter horizontal rule.)-2.907 F -1.25 -.7(Te x)5.407 H 2.907(ta).7 G
.407(fter horizontal rule.)-2.907 F -1.25 -.7(Te x)5.408 H 2.908(ta).7 G
.408(fter horizontal rule.)-2.908 F -1.25 -.7(Te x)5.408 H 2.908(ta).7 G
.408(fter horizon-)-2.908 F .58(tal rule.)56.692 551.278 R -1.25 -.7
(Te x)5.58 H 3.08(ta).7 G .58(fter horizontal rule.)-3.08 F -1.25 -.7
(Te x)5.58 H 3.08(ta).7 G .579(fter horizontal rule.)-3.08 F -1.25 -.7
(Te x)5.579 H 3.079(ta).7 G .579(fter horizontal rule.)-3.079 F -1.25
-.7(Te x)5.579 H 3.079(ta).7 G .579(fter horizontal rule.)-3.079 F -1.25
-.7(Te x)56.692 563.278 T 2.623(ta).7 G .123(fter horizontal rule.)
-2.623 F -1.25 -.7(Te x)5.123 H 2.623(ta).7 G .123
(fter horizontal rule.)-2.623 F -1.25 -.7(Te x)5.123 H 2.624(ta).7 G
.124(fter horizontal rule.)-2.624 F -1.25 -.7(Te x)5.124 H 2.624(ta).7 G
.124(fter horizontal rule.)-2.624 F -1.25 -.7(Te x)5.124 H 2.624(ta).7 G
(fter)-2.624 E .408(horizontal rule.)56.692 575.278 R -1.25 -.7(Te x)
5.408 H 2.908(ta).7 G .408(fter horizontal rule.)-2.908 F -1.25 -.7
(Te x)5.408 H 2.908(ta).7 G .408(fter horizontal rule.)-2.908 F -1.25
-.7(Te x)5.407 H 2.907(ta).7 G .407(fter horizontal rule.)-2.907 F -1.25
-.7(Te x)5.407 H 2.907(ta).7 G .407(fter horizon-)-2.907 F(tal rule.)
56.692 587.278 Q -1.25 -.7(Te x)5 H 2.5(ta).7 G(fter horizontal rule.)
-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G(fter horizontal rule.)-2.5 E -1.25
-.7(Te x)5 H 2.5(ta).7 G(fter horizontal rule.)-2.5 E -1.25 -.7(Te x)5 H
2.5(ta).7 G(fter horizontal rule.)-2.5 E 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,58 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.\" Seed the random number generator for reproducible builds.
.random-seed 131545532 19201711
.
.H Horizontal Rules and Boxes .br with Randomly Colored Border and Background
.PN 25 Text before horizontal rule.
.TBL border=.5n bc=green bgc=red width=7c tal=c csp=.2n cpd=.3n .TR .TD .ETB
.PN 10 Text after horizontal rule and before table.
.de ctab
.nr ? 0 1
.PN 5 .random# ".defcolor color\En+? rgb \E*[#random]"
.TD ".TBL border=1c bc=color1 csp=0 cpd=0 height=3c bgc=color2" .TR .TD .ETB
..
.
.TBL tal=c border= csp=0 cpd=0 cols=5 width=3c
.PN 2 .TR ".PN 5 .ctab"
.ETB
.PN 15 Text after table.
.TBL border=.5n bc=color1 bgc=color2 width=15c tal=c csp=.2n cpd=.3n .TR .TD .ETB
.PN 25 Text after horizontal rule.
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,573 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 2
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Roman
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -1.25 -.7(Te x)56.692 84 T 2.916(tb).7 G .416
(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G .416
(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G .416
(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G .416
(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.415 H 2.915(tb).7 G .415
(efore \214rst table.)-2.915 F -1.25 -.7(Te x)56.692 96 T 2.915(tb).7 G
.415(efore \214rst table.)-2.915 F -1.25 -.7(Te x)5.415 H 2.916(tb).7 G
.416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G
.416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G
.416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb).7 G
.416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)56.692 108 T 2.916(tb)
.7 G .416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb)
.7 G .416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb)
.7 G .416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.416 H 2.916(tb)
.7 G .416(efore \214rst table.)-2.916 F -1.25 -.7(Te x)5.415 H 2.915(tb)
.7 G .415(efore \214rst table.)-2.915 F 61.692 121.76 MT 458 0 RL 0 380
RL -458 0 RL CL 1 0.894 0.769 Fr 66.692 126.76 MT 448 0 RL 0 370 RL -448
0 RL CL FL 71.692 131.76 MT 438 0 RL 0 360 RL -438 0 RL CL FL 76.692
136.76 MT 428 0 RL 0 350 RL -428 0 RL CL FL 81.692 141.76 MT 418 0 RL 0
340 RL -418 0 RL CL FL 86.692 146.76 MT 408 0 RL 0 330 RL -408 0 RL CL
FL 91.692 151.76 MT 398 0 RL 0 320 RL -398 0 RL CL FL 96.692 156.76 MT
388 0 RL 0 310 RL -388 0 RL CL FL 101.692 161.76 MT 378 0 RL 0 300 RL
-378 0 RL CL FL 106.692 166.76 MT 368 0 RL 0 290 RL -368 0 RL CL FL
111.692 171.76 MT 358 0 RL 0 280 RL -358 0 RL CL FL 116.692 176.76 MT
348 0 RL 0 270 RL -348 0 RL CL FL 121.692 181.76 MT 338 0 RL 0 260 RL
-338 0 RL CL FL 126.692 186.76 MT 328 0 RL 0 250 RL -328 0 RL CL FL
131.692 191.76 MT 318 0 RL 0 240 RL -318 0 RL CL FL 136.692 196.76 MT
308 0 RL 0 230 RL -308 0 RL CL FL 141.692 201.76 MT 298 0 RL 0 220 RL
-298 0 RL CL FL 146.692 206.76 MT 288 0 RL 0 210 RL -288 0 RL CL FL
151.692 211.76 MT 278 0 RL 0 200 RL -278 0 RL CL FL 156.692 216.76 MT
268 0 RL 0 190 RL -268 0 RL CL FL 161.692 221.76 MT 258 0 RL 0 180 RL
-258 0 RL CL FL 166.692 226.76 MT 248 0 RL 0 170 RL -248 0 RL CL FL
171.692 231.76 MT 238 0 RL 0 160 RL -238 0 RL CL FL 176.692 236.76 MT
228 0 RL 0 150 RL -228 0 RL CL FL 181.692 241.76 MT 218 0 RL 0 140 RL
-218 0 RL CL FL 186.692 246.76 MT 208 0 RL 0 130 RL -208 0 RL CL FL
191.692 251.76 MT 198 0 RL 0 120 RL -198 0 RL CL FL 196.692 256.76 MT
188 0 RL 0 110 RL -188 0 RL CL FL 201.692 261.76 MT 178 0 RL 0 100 RL
-178 0 RL CL FL 206.692 266.76 MT 168 0 RL 0 90 RL -168 0 RL CL FL
211.692 271.76 MT 158 0 RL 0 80 RL -158 0 RL CL FL 216.692 276.76 MT 148
0 RL 0 70 RL -148 0 RL CL FL 221.692 281.76 MT 138 0 RL 0 60 RL -138 0
RL CL FL 226.692 286.76 MT 128 0 RL 0 50 RL -128 0 RL CL FL 231.692
291.76 MT 118 0 RL 0 40 RL -118 0 RL CL FL 236.692 296.76 MT 108 0 RL 0
30 RL -108 0 RL CL FL 241.692 301.76 MT 98 0 RL 0 20 RL -98 0 RL CL FL
246.692 306.76 MT 88 0 RL 0 10 RL -88 0 RL CL FL 251.692 311.76 MT 78 0
RL 0 0 RL -78 0 RL CL FL 0.545 0 0 Cr 246.692 317.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.706 0.941 0.106 Cr 332.192 309.26 249.192 309.26 DL 332.192
314.26 332.192 309.26 DL 249.192 314.26 332.192 314.26 DL 249.192 309.26
249.192 314.26 DL 0.545 0 0 Cr 241.692 312.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.498 0.439 0.733 Cr 337.192 304.26 244.192 304.26 DL 337.192
319.26 337.192 304.26 DL 244.192 319.26 337.192 319.26 DL 244.192 304.26
244.192 319.26 DL 0.545 0 0 Cr 236.692 307.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.376 0.612 0.259 Cr 342.192 299.26 239.192 299.26 DL 342.192
324.26 342.192 299.26 DL 239.192 324.26 342.192 324.26 DL 239.192 299.26
239.192 324.26 DL 0.545 0 0 Cr 231.692 302.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.392 0.745 0.784 Cr 347.192 294.26 234.192 294.26 DL 347.192
329.26 347.192 294.26 DL 234.192 329.26 347.192 329.26 DL 234.192 294.26
234.192 329.26 DL 0.545 0 0 Cr 226.692 297.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.0314 0.651 0.608 Cr 352.192 289.26 229.192 289.26 DL 352.192
334.26 352.192 289.26 DL 229.192 334.26 352.192 334.26 DL 229.192 289.26
229.192 334.26 DL 0.545 0 0 Cr 221.692 292.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.863 0.29 0.357 Cr 357.192 284.26 224.192 284.26 DL 357.192
339.26 357.192 284.26 DL 224.192 339.26 357.192 339.26 DL 224.192 284.26
224.192 339.26 DL 0.545 0 0 Cr 216.692 287.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.851 0.663 0.0902 Cr 362.192 279.26 219.192 279.26 DL 362.192
344.26 362.192 279.26 DL 219.192 344.26 362.192 344.26 DL 219.192 279.26
219.192 344.26 DL 0.545 0 0 Cr 211.692 282.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.769 0.937 0.718 Cr 367.192 274.26 214.192 274.26 DL 367.192
349.26 367.192 274.26 DL 214.192 349.26 367.192 349.26 DL 214.192 274.26
214.192 349.26 DL 0.545 0 0 Cr 206.692 277.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.816 0.973 0.373 Cr 372.192 269.26 209.192 269.26 DL 372.192
354.26 372.192 269.26 DL 209.192 354.26 372.192 354.26 DL 209.192 269.26
209.192 354.26 DL 0.545 0 0 Cr 201.692 272.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.549 0.549 0.125 Cr 377.192 264.26 204.192 264.26 DL 377.192
359.26 377.192 264.26 DL 204.192 359.26 377.192 359.26 DL 204.192 264.26
204.192 359.26 DL 0.545 0 0 Cr 196.692 267.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.502 0.384 0.667 Cr 382.192 259.26 199.192 259.26 DL 382.192
364.26 382.192 259.26 DL 199.192 364.26 382.192 364.26 DL 199.192 259.26
199.192 364.26 DL 0.545 0 0 Cr 191.692 262.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.749 0.255 0.604 Cr 387.192 254.26 194.192 254.26 DL 387.192
369.26 387.192 254.26 DL 194.192 369.26 387.192 369.26 DL 194.192 254.26
194.192 369.26 DL 0.545 0 0 Cr 186.692 257.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.565 0.455 0.404 Cr 392.192 249.26 189.192 249.26 DL 392.192
374.26 392.192 249.26 DL 189.192 374.26 392.192 374.26 DL 189.192 249.26
189.192 374.26 DL 0.545 0 0 Cr 181.692 252.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.357 0.682 0.384 Cr 397.192 244.26 184.192 244.26 DL 397.192
379.26 397.192 244.26 DL 184.192 379.26 397.192 379.26 DL 184.192 244.26
184.192 379.26 DL 0.545 0 0 Cr 176.692 247.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.969 0.294 0.576 Cr 402.192 239.26 179.192 239.26 DL 402.192
384.26 402.192 239.26 DL 179.192 384.26 402.192 384.26 DL 179.192 239.26
179.192 384.26 DL 0.545 0 0 Cr 171.692 242.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.188 0.878 0.953 Cr 407.192 234.26 174.192 234.26 DL 407.192
389.26 407.192 234.26 DL 174.192 389.26 407.192 389.26 DL 174.192 234.26
174.192 389.26 DL 0.545 0 0 Cr 166.692 237.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.278 0.78 0.859 Cr 412.192 229.26 169.192 229.26 DL 412.192
394.26 412.192 229.26 DL 169.192 394.26 412.192 394.26 DL 169.192 229.26
169.192 394.26 DL 0.545 0 0 Cr 161.692 232.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.0745 0.561 0.467 Cr 417.192 224.26 164.192 224.26 DL 417.192
399.26 417.192 224.26 DL 164.192 399.26 417.192 399.26 DL 164.192 224.26
164.192 399.26 DL 0.545 0 0 Cr 156.692 227.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.843 0.749 0.482 Cr 422.192 219.26 159.192 219.26 DL 422.192
404.26 422.192 219.26 DL 159.192 404.26 422.192 404.26 DL 159.192 219.26
159.192 404.26 DL 0.545 0 0 Cr 151.692 222.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.31 0.965 0.169 Cr 427.192 214.26 154.192 214.26 DL 427.192
409.26 427.192 214.26 DL 154.192 409.26 427.192 409.26 DL 154.192 214.26
154.192 409.26 DL 0.545 0 0 Cr 146.692 217.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.478 0.698 0.0706 Cr 432.192 209.26 149.192 209.26 DL 432.192
414.26 432.192 209.26 DL 149.192 414.26 432.192 414.26 DL 149.192 209.26
149.192 414.26 DL 0.545 0 0 Cr 141.692 212.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.98 0.0745 0.875 Cr 437.192 204.26 144.192 204.26 DL 437.192
419.26 437.192 204.26 DL 144.192 419.26 437.192 419.26 DL 144.192 204.26
144.192 419.26 DL 0.545 0 0 Cr 136.692 207.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.976 0.965 0.867 Cr 442.192 199.26 139.192 199.26 DL 442.192
424.26 442.192 199.26 DL 139.192 424.26 442.192 424.26 DL 139.192 199.26
139.192 424.26 DL 0.545 0 0 Cr 131.692 202.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.0863 0.561 0.122 Cr 447.192 194.26 134.192 194.26 DL 447.192
429.26 447.192 194.26 DL 134.192 429.26 447.192 429.26 DL 134.192 194.26
134.192 429.26 DL 0.545 0 0 Cr 126.692 197.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.129 0.576 0.369 Cr 452.192 189.26 129.192 189.26 DL 452.192
434.26 452.192 189.26 DL 129.192 434.26 452.192 434.26 DL 129.192 189.26
129.192 434.26 DL 0.545 0 0 Cr 121.692 192.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.263 0.0431 0.49 Cr 457.192 184.26 124.192 184.26 DL 457.192
439.26 457.192 184.26 DL 124.192 439.26 457.192 439.26 DL 124.192 184.26
124.192 439.26 DL 0.545 0 0 Cr 116.692 187.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.0941 0.965 0.216 Cr 462.192 179.26 119.192 179.26 DL 462.192
444.26 462.192 179.26 DL 119.192 444.26 462.192 444.26 DL 119.192 179.26
119.192 444.26 DL 0.545 0 0 Cr 111.692 182.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.369 0.992 0.686 Cr 467.192 174.26 114.192 174.26 DL 467.192
449.26 467.192 174.26 DL 114.192 449.26 467.192 449.26 DL 114.192 174.26
114.192 449.26 DL 0.545 0 0 Cr 106.692 177.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.173 0.341 0.373 Cr 472.192 169.26 109.192 169.26 DL 472.192
454.26 472.192 169.26 DL 109.192 454.26 472.192 454.26 DL 109.192 169.26
109.192 454.26 DL 0.545 0 0 Cr 101.692 172.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.396 0.698 0.0745 Cr 477.192 164.26 104.192 164.26 DL 477.192
459.26 477.192 164.26 DL 104.192 459.26 477.192 459.26 DL 104.192 164.26
104.192 459.26 DL 0.545 0 0 Cr 96.692 167.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.2 0 0.161 Cr 482.192 159.26 99.192 159.26 DL 482.192 464.26
482.192 159.26 DL 99.192 464.26 482.192 464.26 DL 99.192 159.26 99.192
464.26 DL 0.545 0 0 Cr 91.692 162.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 1 0.502 0.482 Cr 487.192 154.26 94.192 154.26 DL 487.192
469.26 487.192 154.26 DL 94.192 469.26 487.192 469.26 DL 94.192 154.26
94.192 469.26 DL 0.545 0 0 Cr 86.692 157.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.475 0.624 0.137 Cr 492.192 149.26 89.192 149.26 DL 492.192
474.26 492.192 149.26 DL 89.192 474.26 492.192 474.26 DL 89.192 149.26
89.192 474.26 DL 0.545 0 0 Cr 81.692 152.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.424 0.827 0.671 Cr 497.192 144.26 84.192 144.26 DL 497.192
479.26 497.192 144.26 DL 84.192 479.26 497.192 479.26 DL 84.192 144.26
84.192 479.26 DL 0.545 0 0 Cr 76.692 147.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.843 0.639 0.62 Cr 502.192 139.26 79.192 139.26 DL 502.192
484.26 502.192 139.26 DL 79.192 484.26 502.192 484.26 DL 79.192 139.26
79.192 484.26 DL 0.545 0 0 Cr 71.692 142.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.396 0.835 0.949 Cr 507.192 134.26 74.192 134.26 DL 507.192
489.26 507.192 134.26 DL 74.192 489.26 507.192 489.26 DL 74.192 134.26
74.192 489.26 DL 0.545 0 0 Cr 66.692 137.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.514 0.22 0.945 Cr 512.192 129.26 69.192 129.26 DL 512.192
494.26 512.192 129.26 DL 69.192 494.26 512.192 494.26 DL 69.192 129.26
69.192 494.26 DL 0.545 0 0 Cr 61.692 132.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.969 0.776 0.788 Cr 517.192 124.26 64.192 124.26 DL 517.192
499.26 517.192 124.26 DL 64.192 499.26 517.192 499.26 DL 64.192 124.26
64.192 499.26 DL 0.545 0 0 Cr 56.692 127.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 0.235 0.635 0.396 Cr 522.192 119.26 59.192 119.26 DL 522.192
504.26 522.192 119.26 DL 59.192 504.26 522.192 504.26 DL 59.192 119.26
59.192 504.26 DL 0.545 0 0 Cr/F0 10/Times-Roman@0 SF -.8(Ta)56.692 519.6
S(ble 1:).8 E(Nested T)5 E(ables with Randomly Colored Border)-.8 E 0 Cg
.825(***** T)56.692 537.6 R -.15(ex)-.7 G 3.325(ta).15 G .825
(fter \214rst table.)-3.325 F -1.25 -.7(Te x)5.825 H 3.325(ta).7 G .825
(fter \214rst table.)-3.325 F -1.25 -.7(Te x)5.825 H 3.325(ta).7 G .825
(fter \214rst table.)-3.325 F -1.25 -.7(Te x)5.825 H 3.325(ta).7 G .825
(fter \214rst table.)-3.325 F -1.25 -.7(Te x)5.825 H 3.325(ta).7 G .825
(fter \214rst table.)-3.325 F -1.25 -.7(Te x)56.692 549.6 T 2.534(ta).7
G .034(fter \214rst table.)-2.534 F -1.25 -.7(Te x)5.034 H 2.534(ta).7 G
.034(fter \214rst table.)-2.534 F -1.25 -.7(Te x)5.033 H 2.533(ta).7 G
.033(fter \214rst table.)-2.533 F -1.25 -.7(Te x)5.033 H 2.533(ta).7 G
.033(fter \214rst table.)-2.533 F -1.25 -.7(Te x)5.033 H 2.533(ta).7 G
.033(fter \214rst table.)-2.533 F -1.25 -.7(Te x)5.033 H 2.533(ta).7 G
(fter)-2.533 E(\214rst table.)56.692 561.6 Q -1.25 -.7(Te x)5 H 2.5(ta)
.7 G(fter \214rst table.)-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G
(fter \214rst table.)-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G
(fter \214rst table.)-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G
(fter \214rst table.)-2.5 E(arbitrary te)186.072 817.889 Q
(xt for page footer)-.15 E 2.5(,e)-.4 G(xcept on the last page)-2.65 E
(1)124.38 E 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(arbitrary te)183.852 48 Q(xt for page header)
-.15 E 2.5(,e)-.4 G(xcept on the \214rst page)-2.65 E -1.25 -.7(Te x)
56.692 84 T 2.591(tb).7 G .091(efore second table.)-2.591 F -1.25 -.7
(Te x)5.091 H 2.592(tb).7 G .092(efore second table.)-2.592 F -1.25 -.7
(Te x)5.092 H 2.592(tb).7 G .092(efore second table.)-2.592 F -1.25 -.7
(Te x)5.092 H 2.592(tb).7 G .092(efore second table.)-2.592 F -1.25 -.7
(Te x)5.092 H 2.592(tb).7 G(efore)-2.592 E .369(second table.)56.692 96
R -1.25 -.7(Te x)5.369 H 2.869(tb).7 G .369(efore second table.)-2.869 F
-1.25 -.7(Te x)5.368 H 2.868(tb).7 G .368(efore second table.)-2.868 F
-1.25 -.7(Te x)5.368 H 2.868(tb).7 G .368(efore second table.)-2.868 F
-1.25 -.7(Te x)5.368 H 2.868(tb).7 G .368(efore second ta-)-2.868 F
3.081(ble. T)56.692 108 R -.15(ex)-.7 G 3.081(tb).15 G .581
(efore second table.)-3.081 F -1.25 -.7(Te x)5.581 H 3.081(tb).7 G .581
(efore second table.)-3.081 F -1.25 -.7(Te x)5.581 H 3.081(tb).7 G .581
(efore second table.)-3.081 F -1.25 -.7(Te x)5.581 H 3.081(tb).7 G .582
(efore second table.)-3.081 F -1.25 -.7(Te x)5.582 H(t).7 E 56.692
116.76 MT 468 0 RL 0 390 RL -468 0 RL CL 0.0157 0.933 0.737 Fr 61.692
121.76 MT 458 0 RL 0 380 RL -458 0 RL CL 0.733 0.0392 0.204 Fr 66.692
126.76 MT 448 0 RL 0 370 RL -448 0 RL CL 0.349 0.584 0.71 Fr 71.692
131.76 MT 438 0 RL 0 360 RL -438 0 RL CL 0.761 0.937 0.0706 Fr 76.692
136.76 MT 428 0 RL 0 350 RL -428 0 RL CL 0.161 0.31 0.8 Fr 81.692 141.76
MT 418 0 RL 0 340 RL -418 0 RL CL 0.976 0.733 0.0902 Fr 86.692 146.76 MT
408 0 RL 0 330 RL -408 0 RL CL 0.8 0.937 0.157 Fr 91.692 151.76 MT 398 0
RL 0 320 RL -398 0 RL CL 0.984 0.647 0.0667 Fr 96.692 156.76 MT 388 0 RL
0 310 RL -388 0 RL CL 0.643 0.184 0.145 Fr 101.692 161.76 MT 378 0 RL 0
300 RL -378 0 RL CL 0.608 0.282 0.545 Fr 106.692 166.76 MT 368 0 RL 0
290 RL -368 0 RL CL 0.565 0.153 0.729 Fr 111.692 171.76 MT 358 0 RL 0
280 RL -358 0 RL CL 0.0902 0.341 0.318 Fr 116.692 176.76 MT 348 0 RL 0
270 RL -348 0 RL CL 0.769 0.486 0.0118 Fr 121.692 181.76 MT 338 0 RL 0
260 RL -338 0 RL CL 0.933 0.373 0.871 Fr 126.692 186.76 MT 328 0 RL 0
250 RL -328 0 RL CL 0.78 0.259 0.529 Fr 131.692 191.76 MT 318 0 RL 0 240
RL -318 0 RL CL 0.373 0.671 0.643 Fr 136.692 196.76 MT 308 0 RL 0 230 RL
-308 0 RL CL 0.824 0.451 0.463 Fr 141.692 201.76 MT 298 0 RL 0 220 RL
-298 0 RL CL 0.514 0.051 0.682 Fr 146.692 206.76 MT 288 0 RL 0 210 RL
-288 0 RL CL 0.459 0.694 0.867 Fr 151.692 211.76 MT 278 0 RL 0 200 RL
-278 0 RL CL 0.906 0.102 0.388 Fr 156.692 216.76 MT 268 0 RL 0 190 RL
-268 0 RL CL 0.0706 0.773 0.306 Fr 161.692 221.76 MT 258 0 RL 0 180 RL
-258 0 RL CL 0.38 0.137 0.525 Fr 166.692 226.76 MT 248 0 RL 0 170 RL
-248 0 RL CL 0.933 0.369 0.929 Fr 171.692 231.76 MT 238 0 RL 0 160 RL
-238 0 RL CL 0.835 0.22 0.565 Fr 176.692 236.76 MT 228 0 RL 0 150 RL
-228 0 RL CL 0.153 0.761 0.773 Fr 181.692 241.76 MT 218 0 RL 0 140 RL
-218 0 RL CL 0.0196 0.165 0.0863 Fr 186.692 246.76 MT 208 0 RL 0 130 RL
-208 0 RL CL 0.416 0.255 0.631 Fr 191.692 251.76 MT 198 0 RL 0 120 RL
-198 0 RL CL 0.31 0.22 0.671 Fr 196.692 256.76 MT 188 0 RL 0 110 RL -188
0 RL CL 0.761 0.914 0.714 Fr 201.692 261.76 MT 178 0 RL 0 100 RL -178 0
RL CL 0.173 0.761 0.463 Fr 206.692 266.76 MT 168 0 RL 0 90 RL -168 0 RL
CL 0.169 0.604 0.161 Fr 211.692 271.76 MT 158 0 RL 0 80 RL -158 0 RL CL
0.157 0.349 0.255 Fr 216.692 276.76 MT 148 0 RL 0 70 RL -148 0 RL CL
0.439 0.855 0.859 Fr 221.692 281.76 MT 138 0 RL 0 60 RL -138 0 RL CL
0.647 0.243 0.855 Fr 226.692 286.76 MT 128 0 RL 0 50 RL -128 0 RL CL
0.969 0.424 0.251 Fr 231.692 291.76 MT 118 0 RL 0 40 RL -118 0 RL CL
0.145 0.463 0.349 Fr 236.692 296.76 MT 108 0 RL 0 30 RL -108 0 RL CL
0.529 0.729 0.631 Fr 241.692 301.76 MT 98 0 RL 0 20 RL -98 0 RL CL 0.565
0.408 0.102 Fr 246.692 306.76 MT 88 0 RL 0 10 RL -88 0 RL CL 0.918 0.157
0.0118 Fr 0.545 0 0 Cr -.8(Ta)56.692 519.6 S(ble 2:).8 E(Nested T)5 E
(ables with Randomly Colored Background)-.8 E 0 Cg .924
(before second table.)56.692 537.6 R -1.25 -.7(Te x)5.924 H 3.424(tb).7
G .924(efore second table.)-3.424 F .924(***** T)5.924 F -.15(ex)-.7 G
3.424(ta).15 G .923(fter second table.)-3.424 F -1.25 -.7(Te x)5.923 H
3.423(ta).7 G .923(fter second table.)-3.423 F -1.25 -.7(Te x)5.923 H
3.423(ta).7 G(fter)-3.423 E .07(second table.)56.692 549.6 R -1.25 -.7
(Te x)5.07 H 2.57(ta).7 G .07(fter second table.)-2.57 F -1.25 -.7(Te x)
5.07 H 2.57(ta).7 G .07(fter second table.)-2.57 F -1.25 -.7(Te x)5.071
H 2.571(ta).7 G .071(fter second table.)-2.571 F -1.25 -.7(Te x)5.071 H
2.571(ta).7 G .071(fter second table.)-2.571 F -1.25 -.7(Te x)5.071 H(t)
.7 E .163(after second table.)56.692 561.6 R -1.25 -.7(Te x)5.163 H
2.663(ta).7 G .163(fter second table.)-2.663 F -1.25 -.7(Te x)5.163 H
2.663(ta).7 G .163(fter second table.)-2.663 F -1.25 -.7(Te x)5.163 H
2.663(ta).7 G .163(fter second table.)-2.663 F -1.25 -.7(Te x)5.162 H
2.662(ta).7 G .162(fter second table.)-2.662 F -1.25 -.7(Te x)56.692
573.6 T 2.91(ta).7 G .41(fter second table.)-2.91 F -1.25 -.7(Te x)5.41
H 2.91(ta).7 G .41(fter second table.)-2.91 F -1.25 -.7(Te x)5.41 H
2.911(ta).7 G .411(fter second table.)-2.911 F -1.25 -.7(Te x)5.411 H
2.911(ta).7 G .411(fter second table.)-2.911 F -1.25 -.7(Te x)5.411 H
2.911(ta).7 G .411(fter second)-2.911 F 3.096(table. T)56.692 585.6 R
-.15(ex)-.7 G 3.096(ta).15 G .596(fter second table.)-3.096 F -1.25 -.7
(Te x)5.596 H 3.096(ta).7 G .596(fter second table.)-3.096 F -1.25 -.7
(Te x)5.596 H 3.096(ta).7 G .595(fter second table.)-3.096 F -1.25 -.7
(Te x)5.595 H 3.095(ta).7 G .595(fter second table.)-3.095 F -1.25 -.7
(Te x)5.595 H 3.095(ta).7 G(fter)-3.095 E(second table.)56.692 597.6 Q
-1.25 -.7(Te x)5 H 2.5(ta).7 G(fter second table.)-2.5 E -1.25 -.7(Te x)
5 H 2.5(ta).7 G(fter second table.)-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G
(fter second table.)-2.5 E 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,64 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.\" Seed the random number generator for reproducible builds.
.random-seed 131545532 19201711
.
.PN 15 Text before first table.
.nr # 0 1
*****
.PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
".TBL csp=0 cpd=0 border=1n bc=c\\n[#]" \
".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Border" \
.TR .TD
.PN 39 .ETB
.PN 15 Text after first table.
.
.bp
.
.PN 15 Text before second table.
*****
.nr # 0 1
.PN 39 .random# ".defcolor c\\n[#] rgb \\\\*[#random] " \
".TBL csp=0 cpd=1n border= bgc=c\\n[#]" \
".if \\\\n+#=1 .CPTN val=b Nested Tables with Randomly Colored Background" \
.TR .TD
.PN 39 .ETB
.PN 25 Text after second table.
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,402 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Bold
%%+ font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Roman
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
95.993 87.74 MT 389.397 0 RL 0 23 RL -389.397 0 RL CL 0.545 0 0 Fr 1 1 0
Cr/F0 17/Times-Bold@0 SF(Horizontal Rules and Randomly Color)99.892
102.3 Q(ed T)-.306 E(able Cells)-1.564 E 90.993 97.3 EBEGIN
0 setlinejoin 2 setlinecap
EEND 5 LW 487.89 85.24 93.493 85.24 DL 487.89 113.24 487.89 85.24 DL
93.493 113.24 487.89 113.24 DL 93.493 85.24 93.493 113.24 DL 0 Cg/F0 10
/Times-Roman@0 SF -1.25 -.7(Te x)56.692 142.8 T 2.817(tb).7 G .317
(efore HR.)-2.817 F -1.25 -.7(Te x)5.317 H 2.817(tb).7 G .317(efore HR.)
-2.817 F -1.25 -.7(Te x)5.317 H 2.817(tb).7 G .317(efore HR.)-2.817 F
-1.25 -.7(Te x)5.317 H 2.817(tb).7 G .317(efore HR.)-2.817 F -1.25 -.7
(Te x)5.317 H 2.817(tb).7 G .317(efore HR.)-2.817 F -1.25 -.7(Te x)5.317
H 2.817(tb).7 G .316(efore HR.)-2.817 F -1.25 -.7(Te x)5.316 H 2.816(tb)
.7 G(efore)-2.816 E 3.166(HR. T)56.692 154.8 R -.15(ex)-.7 G 3.166(tb)
.15 G .666(efore HR.)-3.166 F -1.25 -.7(Te x)5.667 H 3.167(tb).7 G .667
(efore HR.)-3.167 F -1.25 -.7(Te x)5.667 H 3.167(tb).7 G .667(efore HR.)
-3.167 F -1.25 -.7(Te x)5.667 H 3.167(tb).7 G .667(efore HR.)-3.167 F
-1.25 -.7(Te x)5.667 H 3.167(tb).7 G .667(efore HR.)-3.167 F -1.25 -.7
(Te x)5.667 H 3.167(tb).7 G .667(efore HR.)-3.167 F -1.25 -.7(Te x)5.667
H(t).7 E 194.979 167.06 MT 191.425 0 RL 0 3 RL -191.425 0 RL CL 1 0 0 Fr
0.545 0 0 Cr 191.479 172.85 EBEGIN
0 setlinejoin 2 setlinecap
EEND 2.5 LW 0 1 0 Cr 388.654 164.81 192.729 164.81 DL 388.654 172.31
388.654 164.81 DL 192.729 172.31 388.654 172.31 DL 192.729 164.81
192.729 172.31 DL 0 Cg/F0 10/Times-Roman@0 SF .713(before HR.)56.692
187.6 R -1.25 -.7(Te x)5.713 H 3.213(tb).7 G .713(efore HR.)-3.213 F
-1.25 -.7(Te x)5.713 H 3.213(ta).7 G .713(fter HR and before T)-3.213 F
3.212(able. T)-.8 F -.15(ex)-.7 G 3.212(ta).15 G .712
(fter HR and before T)-3.212 F 3.212(able. T)-.8 F -.15(ex)-.7 G 3.212
(ta).15 G .712(fter HR and)-3.212 F 1.082(before T)56.692 199.6 R 3.582
(able. T)-.8 F -.15(ex)-.7 G 3.582(ta).15 G 1.082(fter HR and before T)
-3.582 F 3.583(able. T)-.8 F -.15(ex)-.7 G 3.583(ta).15 G 1.083
(fter HR and before T)-3.583 F 3.583(able. T)-.8 F -.15(ex)-.7 G 3.583
(ta).15 G 1.083(fter HR and before T)-3.583 F(able.)-.8 E -1.25 -.7
(Te x)56.692 211.6 T 2.57(ta).7 G .069(fter HR and before T)-2.57 F
2.569(able. T)-.8 F -.15(ex)-.7 G 2.569(ta).15 G .069
(fter HR and before T)-2.569 F 2.569(able. T)-.8 F -.15(ex)-.7 G 2.569
(ta).15 G .069(fter HR and before T)-2.569 F 2.569(able. T)-.8 F -.15
(ex)-.7 G 2.569(ta).15 G .069(fter HR and)-2.569 F 100.612 220.36 MT
47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.235 0.635 0.396 Fr 148.132 220.36
MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.969 0.776 0.788 Fr 195.652
220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.514 0.22 0.945 Fr
243.172 220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.396 0.835 0.949
Fr 290.692 220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.843 0.639
0.62 Fr 338.212 220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.424
0.827 0.671 Fr 385.732 220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL
0.475 0.624 0.137 Fr 433.252 220.36 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL
CL 1 0.502 0.482 Fr 100.612 267.88 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL
CL 0.2 0 0.161 Fr 148.132 267.88 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL
0.396 0.698 0.0745 Fr 195.652 267.88 MT 47.52 0 RL 0 47.52 RL -47.52 0
RL CL 0.173 0.341 0.373 Fr 243.172 267.88 MT 47.52 0 RL 0 47.52 RL
-47.52 0 RL CL 0.369 0.992 0.686 Fr 290.692 267.88 MT 47.52 0 RL 0 47.52
RL -47.52 0 RL CL 0.0941 0.965 0.216 Fr 338.212 267.88 MT 47.52 0 RL 0
47.52 RL -47.52 0 RL CL 0.263 0.0431 0.49 Fr 385.732 267.88 MT 47.52 0
RL 0 47.52 RL -47.52 0 RL CL 0.129 0.576 0.369 Fr 433.252 267.88 MT
47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.0863 0.561 0.122 Fr 100.612 315.4
MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.976 0.965 0.867 Fr 148.132
315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.98 0.0745 0.875 Fr
195.652 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.478 0.698 0.0706
Fr 243.172 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.31 0.965
0.169 Fr 290.692 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.843
0.749 0.482 Fr 338.212 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL
0.0745 0.561 0.467 Fr 385.732 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL
CL 0.278 0.78 0.859 Fr 433.252 315.4 MT 47.52 0 RL 0 47.52 RL -47.52 0
RL CL 0.188 0.878 0.953 Fr 100.612 362.92 MT 47.52 0 RL 0 47.52 RL
-47.52 0 RL CL 0.969 0.294 0.576 Fr 148.132 362.92 MT 47.52 0 RL 0 47.52
RL -47.52 0 RL CL 0.357 0.682 0.384 Fr 195.652 362.92 MT 47.52 0 RL 0
47.52 RL -47.52 0 RL CL 0.565 0.455 0.404 Fr 243.172 362.92 MT 47.52 0
RL 0 47.52 RL -47.52 0 RL CL 0.749 0.255 0.604 Fr 290.692 362.92 MT
47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.502 0.384 0.667 Fr 338.212 362.92
MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.549 0.549 0.125 Fr 385.732
362.92 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.816 0.973 0.373 Fr
433.252 362.92 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.769 0.937 0.718
Fr 100.612 410.44 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.851 0.663
0.0902 Fr 148.132 410.44 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.863
0.29 0.357 Fr 195.652 410.44 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL
0.0314 0.651 0.608 Fr 243.172 410.44 MT 47.52 0 RL 0 47.52 RL -47.52 0
RL CL 0.392 0.745 0.784 Fr 290.692 410.44 MT 47.52 0 RL 0 47.52 RL
-47.52 0 RL CL 0.376 0.612 0.259 Fr 338.212 410.44 MT 47.52 0 RL 0 47.52
RL -47.52 0 RL CL 0.498 0.439 0.733 Fr 385.732 410.44 MT 47.52 0 RL 0
47.52 RL -47.52 0 RL CL 0.706 0.941 0.106 Fr 433.252 410.44 MT 47.52 0
RL 0 47.52 RL -47.52 0 RL CL 0.0157 0.933 0.737 Fr 100.612 457.96 MT
47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.733 0.0392 0.204 Fr 148.132
457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.349 0.584 0.71 Fr
195.652 457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.761 0.937
0.0706 Fr 243.172 457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.161
0.31 0.8 Fr 290.692 457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.976
0.733 0.0902 Fr 338.212 457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL
0.8 0.937 0.157 Fr 385.732 457.96 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL
CL 0.984 0.647 0.0667 Fr 433.252 457.96 MT 47.52 0 RL 0 47.52 RL -47.52
0 RL CL 0.643 0.184 0.145 Fr 100.612 505.48 MT 47.52 0 RL 0 47.52 RL
-47.52 0 RL CL 0.608 0.282 0.545 Fr 148.132 505.48 MT 47.52 0 RL 0 47.52
RL -47.52 0 RL CL 0.565 0.153 0.729 Fr 195.652 505.48 MT 47.52 0 RL 0
47.52 RL -47.52 0 RL CL 0.0902 0.341 0.318 Fr 243.172 505.48 MT 47.52 0
RL 0 47.52 RL -47.52 0 RL CL 0.769 0.486 0.0118 Fr 290.692 505.48 MT
47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.933 0.373 0.871 Fr 338.212 505.48
MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.78 0.259 0.529 Fr 385.732
505.48 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.373 0.671 0.643 Fr
433.252 505.48 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.824 0.451 0.463
Fr 100.612 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.514 0.051 0.682
Fr 148.132 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.459 0.694 0.867
Fr 195.652 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.906 0.102 0.388
Fr 243.172 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.0706 0.773
0.306 Fr 290.692 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.38 0.137
0.525 Fr 338.212 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.933 0.369
0.929 Fr 385.732 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.835 0.22
0.565 Fr 433.252 553 MT 47.52 0 RL 0 47.52 RL -47.52 0 RL CL 0.153 0.761
0.773 Fr 0 Cg .476(before T)56.692 614.56 R 2.976(able. T)-.8 F -.15(ex)
-.7 G 2.976(ta).15 G .476(fter table.)-2.976 F -1.25 -.7(Te x)5.476 H
2.976(ta).7 G .476(fter table.)-2.976 F -1.25 -.7(Te x)5.476 H 2.976(ta)
.7 G .476(fter table.)-2.976 F -1.25 -.7(Te x)5.476 H 2.976(ta).7 G .476
(fter table.)-2.976 F -1.25 -.7(Te x)5.477 H 2.977(ta).7 G .477
(fter table.)-2.977 F -1.25 -.7(Te x)5.477 H 2.977(ta).7 G .477
(fter table.)-2.977 F 81.594 626.82 MT 418.196 0 RL 0 3 RL -418.196 0 RL
CL 0.969 0.776 0.788 Fr 0.545 0 0 Cr 78.094 632.61 EBEGIN
0 setlinejoin 2 setlinecap
EEND 2.5 LW 0.235 0.635 0.396 Cr 502.04 624.57 79.344 624.57 DL 502.04
632.07 502.04 624.57 DL 79.344 632.07 502.04 632.07 DL 79.344 624.57
79.344 632.07 DL 0 Cg/F0 10/Times-Roman@0 SF -1.25 -.7(Te x)56.692
647.36 T 3.274(ta).7 G .774(fter table.)-3.274 F -1.25 -.7(Te x)5.774 H
3.274(ta).7 G .774(fter table.)-3.274 F -1.25 -.7(Te x)5.774 H 3.274(ta)
.7 G .774(fter table.)-3.274 F -1.25 -.7(Te x)5.774 H 3.274(ta).7 G .773
(fter table.)-3.274 F -1.25 -.7(Te x)5.773 H 3.273(ta).7 G .773
(fter HR.)-3.273 F -1.25 -.7(Te x)5.773 H 3.273(ta).7 G .773(fter HR.)
-3.273 F -1.25 -.7(Te x)5.773 H 3.273(ta).7 G .773(fter HR.)-3.273 F
-1.25 -.7(Te x)56.692 659.36 T 2.572(ta).7 G .072(fter HR.)-2.572 F
-1.25 -.7(Te x)5.072 H 2.572(ta).7 G .072(fter HR.)-2.572 F -1.25 -.7
(Te x)5.072 H 2.572(ta).7 G .072(fter HR.)-2.572 F -1.25 -.7(Te x)5.072
H 2.572(ta).7 G .072(fter HR.)-2.572 F -1.25 -.7(Te x)5.072 H 2.572(ta)
.7 G .072(fter HR.)-2.572 F -1.25 -.7(Te x)5.072 H 2.572(ta).7 G .073
(fter HR.)-2.572 F -1.25 -.7(Te x)5.073 H 2.573(ta).7 G .073(fter HR.)
-2.573 F -1.25 -.7(Te x)5.073 H 2.573(ta).7 G(f-)-2.573 E(ter HR.)56.692
671.36 Q -1.25 -.7(Te x)5 H 2.5(ta).7 G(fter HR.)-2.5 E -1.25 -.7(Te x)5
H 2.5(ta).7 G(fter HR.)-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G(fter HR.)
-2.5 E -1.25 -.7(Te x)5 H 2.5(ta).7 G(fter HR.)-2.5 E 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,59 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.\" Seed the random number generator for reproducible builds.
.random-seed 131545532 19201711
.
.H Horizontal Rules and Randomly Colored Table Cells
.PN 15 Text before HR.
.TBL border=.5n bc=green bgc=red width=7c tal=c csp=.2n cpd=.3n .TR .TD .ETB
.PN 10 Text after HR and before Table.
.
.nr ? 0 1
.de ctab
.TR height=\nl/10
.PN 8 .random# ".defcolor c\\\\n+? rgb \E*[#random]" ".TD bgc=c\\\\n?"
..
.TBL tal=c border= csp=0 cpd=0 cols=8 width=\nl/10
.PN 8 .ctab
.ETB
.PN 10 Text after table.
.TBL border=.5n bc=c1 bgc=c2 width=15c tal=c csp=.2n cpd=.3n .TR .TD .ETB
.PN 15 Text after HR.
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,473 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Roman
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 1
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Roman
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Roman@0 ENC0/Times-Roman RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF .023(Before table.)56.692 84 R .023
(Before table.)5.023 F .023(Before table.)5.023 F .023(Before table.)
5.023 F .022(Before table.)5.023 F .022(Before table.)5.022 F .022
(Before table.)5.022 F .022(Before table.)5.022 F(Be-)5.022 E .716
(fore table.)56.692 96 R .717(Before table.)5.716 F .717(Before table.)
5.717 F .717(Before table.)5.717 F .717(Before table.)5.717 F .717
(Before table.)5.717 F .717(Before table.)5.717 F .717(Before table.)
5.717 F(Be-)5.717 E .717(fore table.)56.692 108 R .717(Before table.)
5.717 F .717(Before table.)5.717 F .717(Before table.)5.717 F .717
(Before table.)5.717 F .717(Before table.)5.717 F .717(Before table.)
5.717 F .716(Before table.)5.717 F(Be-)5.716 E 56.692 116.76 MT 154.44 0
RL 0 105 RL -154.44 0 RL CL 0.05 0.05 0.05 Fr 59.192 119.26 MT 149.44 0
RL 0 100 RL -149.44 0 RL CL 0.1 0.1 0.1 Fr 61.692 121.76 MT 144.44 0 RL
0 95 RL -144.44 0 RL CL 0.15 0.15 0.15 Fr 64.192 124.26 MT 139.44 0 RL 0
90 RL -139.44 0 RL CL 0.2 0.2 0.2 Fr 66.692 126.76 MT 134.44 0 RL 0 85
RL -134.44 0 RL CL 0.25 0.25 0.25 Fr 69.192 129.26 MT 129.44 0 RL 0 80
RL -129.44 0 RL CL 0.3 0.3 0.3 Fr 71.692 131.76 MT 124.44 0 RL 0 75 RL
-124.44 0 RL CL 0.35 0.35 0.35 Fr 74.192 134.26 MT 119.44 0 RL 0 70 RL
-119.44 0 RL CL 0.4 0.4 0.4 Fr 76.692 136.76 MT 114.44 0 RL 0 65 RL
-114.44 0 RL CL 0.45 0.45 0.45 Fr 79.192 139.26 MT 109.44 0 RL 0 60 RL
-109.44 0 RL CL 0.5 0.5 0.5 Fr 81.692 141.76 MT 104.44 0 RL 0 55 RL
-104.44 0 RL CL 0.55 0.55 0.55 Fr 84.192 144.26 MT 99.44 0 RL 0 50 RL
-99.44 0 RL CL 0.6 0.6 0.6 Fr 86.692 146.76 MT 94.44 0 RL 0 45 RL -94.44
0 RL CL 0.65 0.65 0.65 Fr 89.192 149.26 MT 89.44 0 RL 0 40 RL -89.44 0
RL CL 0.7 0.7 0.7 Fr 91.692 151.76 MT 84.44 0 RL 0 35 RL -84.44 0 RL CL
0.75 0.75 0.75 Fr 94.192 154.26 MT 79.44 0 RL 0 30 RL -79.44 0 RL CL 0.8
0.8 0.8 Fr 96.692 156.76 MT 74.44 0 RL 0 25 RL -74.44 0 RL CL 0.85 0.85
0.85 Fr 99.192 159.26 MT 69.44 0 RL 0 20 RL -69.44 0 RL CL 0.9 0.9 0.9
Fr 101.692 161.76 MT 64.44 0 RL 0 15 RL -64.44 0 RL CL 0.95 0.95 0.95 Fr
104.192 164.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 1 1 1 Fr 106.692
166.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 1 1 1 Fr 211.132 116.76 MT
154.44 0 RL 0 105 RL -154.44 0 RL CL 0.95 0.95 0.95 Fr 213.632 119.26 MT
149.44 0 RL 0 100 RL -149.44 0 RL CL 0.9 0.9 0.9 Fr 216.132 121.76 MT
144.44 0 RL 0 95 RL -144.44 0 RL CL 0.85 0.85 0.85 Fr 218.632 124.26 MT
139.44 0 RL 0 90 RL -139.44 0 RL CL 0.8 0.8 0.8 Fr 221.132 126.76 MT
134.44 0 RL 0 85 RL -134.44 0 RL CL 0.75 0.75 0.75 Fr 223.632 129.26 MT
129.44 0 RL 0 80 RL -129.44 0 RL CL 0.7 0.7 0.7 Fr 226.132 131.76 MT
124.44 0 RL 0 75 RL -124.44 0 RL CL 0.65 0.65 0.65 Fr 228.632 134.26 MT
119.44 0 RL 0 70 RL -119.44 0 RL CL 0.6 0.6 0.6 Fr 231.132 136.76 MT
114.44 0 RL 0 65 RL -114.44 0 RL CL 0.55 0.55 0.55 Fr 233.632 139.26 MT
109.44 0 RL 0 60 RL -109.44 0 RL CL 0.5 0.5 0.5 Fr 236.132 141.76 MT
104.44 0 RL 0 55 RL -104.44 0 RL CL 0.45 0.45 0.45 Fr 238.632 144.26 MT
99.44 0 RL 0 50 RL -99.44 0 RL CL 0.4 0.4 0.4 Fr 241.132 146.76 MT 94.44
0 RL 0 45 RL -94.44 0 RL CL 0.35 0.35 0.35 Fr 243.632 149.26 MT 89.44 0
RL 0 40 RL -89.44 0 RL CL 0.3 0.3 0.3 Fr 246.132 151.76 MT 84.44 0 RL 0
35 RL -84.44 0 RL CL 0.25 0.25 0.25 Fr 248.632 154.26 MT 79.44 0 RL 0 30
RL -79.44 0 RL CL 0.2 0.2 0.2 Fr 251.132 156.76 MT 74.44 0 RL 0 25 RL
-74.44 0 RL CL 0.15 0.15 0.15 Fr 253.632 159.26 MT 69.44 0 RL 0 20 RL
-69.44 0 RL CL 0.1 0.1 0.1 Fr 256.132 161.76 MT 64.44 0 RL 0 15 RL
-64.44 0 RL CL 0.0502 0.0502 0.0502 Fr 258.632 164.26 MT 59.44 0 RL 0 10
RL -59.44 0 RL CL 0.000244 0.000244 0.000244 Fr 261.132 166.76 MT 54.44
0 RL 0 5 RL -54.44 0 RL CL 0 0 0 Fr 365.572 116.76 MT 154.44 0 RL 0 105
RL -154.44 0 RL CL 1 0.05 0.05 Fr 368.072 119.26 MT 149.44 0 RL 0 100 RL
-149.44 0 RL CL 1 0.1 0.1 Fr 370.572 121.76 MT 144.44 0 RL 0 95 RL
-144.44 0 RL CL 1 0.15 0.15 Fr 373.072 124.26 MT 139.44 0 RL 0 90 RL
-139.44 0 RL CL 1 0.2 0.2 Fr 375.572 126.76 MT 134.44 0 RL 0 85 RL
-134.44 0 RL CL 1 0.25 0.25 Fr 378.072 129.26 MT 129.44 0 RL 0 80 RL
-129.44 0 RL CL 1 0.3 0.3 Fr 380.572 131.76 MT 124.44 0 RL 0 75 RL
-124.44 0 RL CL 1 0.35 0.35 Fr 383.072 134.26 MT 119.44 0 RL 0 70 RL
-119.44 0 RL CL 1 0.4 0.4 Fr 385.572 136.76 MT 114.44 0 RL 0 65 RL
-114.44 0 RL CL 1 0.45 0.45 Fr 388.072 139.26 MT 109.44 0 RL 0 60 RL
-109.44 0 RL CL 1 0.5 0.5 Fr 390.572 141.76 MT 104.44 0 RL 0 55 RL
-104.44 0 RL CL 1 0.55 0.55 Fr 393.072 144.26 MT 99.44 0 RL 0 50 RL
-99.44 0 RL CL 1 0.6 0.6 Fr 395.572 146.76 MT 94.44 0 RL 0 45 RL -94.44
0 RL CL 1 0.65 0.65 Fr 398.072 149.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL
CL 1 0.7 0.7 Fr 400.572 151.76 MT 84.44 0 RL 0 35 RL -84.44 0 RL CL 1
0.75 0.75 Fr 403.072 154.26 MT 79.44 0 RL 0 30 RL -79.44 0 RL CL 1 0.8
0.8 Fr 405.572 156.76 MT 74.44 0 RL 0 25 RL -74.44 0 RL CL 1 0.85 0.85
Fr 408.072 159.26 MT 69.44 0 RL 0 20 RL -69.44 0 RL CL 1 0.9 0.9 Fr
410.572 161.76 MT 64.44 0 RL 0 15 RL -64.44 0 RL CL 1 0.95 0.95 Fr
413.072 164.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 1 1 1 Fr 415.572
166.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 1 1 1 Fr 56.692 221.76 MT
154.44 0 RL 0 105 RL -154.44 0 RL CL 0 0.95 0.05 Fr 59.192 224.26 MT
149.44 0 RL 0 100 RL -149.44 0 RL CL 0 0.9 0.1 Fr 61.692 226.76 MT
144.44 0 RL 0 95 RL -144.44 0 RL CL 0 0.85 0.15 Fr 64.192 229.26 MT
139.44 0 RL 0 90 RL -139.44 0 RL CL 0 0.8 0.2 Fr 66.692 231.76 MT 134.44
0 RL 0 85 RL -134.44 0 RL CL 0 0.75 0.25 Fr 69.192 234.26 MT 129.44 0 RL
0 80 RL -129.44 0 RL CL 0 0.7 0.3 Fr 71.692 236.76 MT 124.44 0 RL 0 75
RL -124.44 0 RL CL 0 0.65 0.35 Fr 74.192 239.26 MT 119.44 0 RL 0 70 RL
-119.44 0 RL CL 0 0.6 0.4 Fr 76.692 241.76 MT 114.44 0 RL 0 65 RL
-114.44 0 RL CL 0 0.55 0.45 Fr 79.192 244.26 MT 109.44 0 RL 0 60 RL
-109.44 0 RL CL 0 0.5 0.5 Fr 81.692 246.76 MT 104.44 0 RL 0 55 RL
-104.44 0 RL CL 0 0.45 0.55 Fr 84.192 249.26 MT 99.44 0 RL 0 50 RL
-99.44 0 RL CL 0 0.4 0.6 Fr 86.692 251.76 MT 94.44 0 RL 0 45 RL -94.44 0
RL CL 0 0.35 0.65 Fr 89.192 254.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL CL
0 0.3 0.7 Fr 91.692 256.76 MT 84.44 0 RL 0 35 RL -84.44 0 RL CL 0 0.25
0.75 Fr 94.192 259.26 MT 79.44 0 RL 0 30 RL -79.44 0 RL CL 0 0.2 0.8 Fr
96.692 261.76 MT 74.44 0 RL 0 25 RL -74.44 0 RL CL 0 0.15 0.85 Fr 99.192
264.26 MT 69.44 0 RL 0 20 RL -69.44 0 RL CL 0 0.1 0.9 Fr 101.692 266.76
MT 64.44 0 RL 0 15 RL -64.44 0 RL CL 0 0.0502 0.95 Fr 104.192 269.26 MT
59.44 0 RL 0 10 RL -59.44 0 RL CL 0 0.000244 1 Fr 106.692 271.76 MT
54.44 0 RL 0 5 RL -54.44 0 RL CL 0 0 1 Fr 211.132 221.76 MT 154.44 0 RL
0 105 RL -154.44 0 RL CL 1 0.95 1 Fr 213.632 224.26 MT 149.44 0 RL 0 100
RL -149.44 0 RL CL 1 0.9 1 Fr 216.132 226.76 MT 144.44 0 RL 0 95 RL
-144.44 0 RL CL 1 0.85 1 Fr 218.632 229.26 MT 139.44 0 RL 0 90 RL
-139.44 0 RL CL 1 0.8 1 Fr 221.132 231.76 MT 134.44 0 RL 0 85 RL -134.44
0 RL CL 1 0.75 1 Fr 223.632 234.26 MT 129.44 0 RL 0 80 RL -129.44 0 RL
CL 1 0.7 1 Fr 226.132 236.76 MT 124.44 0 RL 0 75 RL -124.44 0 RL CL 1
0.65 1 Fr 228.632 239.26 MT 119.44 0 RL 0 70 RL -119.44 0 RL CL 1 0.6 1
Fr 231.132 241.76 MT 114.44 0 RL 0 65 RL -114.44 0 RL CL 1 0.55 1 Fr
233.632 244.26 MT 109.44 0 RL 0 60 RL -109.44 0 RL CL 1 0.5 1 Fr 236.132
246.76 MT 104.44 0 RL 0 55 RL -104.44 0 RL CL 1 0.45 1 Fr 238.632 249.26
MT 99.44 0 RL 0 50 RL -99.44 0 RL CL 1 0.4 1 Fr 241.132 251.76 MT 94.44
0 RL 0 45 RL -94.44 0 RL CL 1 0.35 1 Fr 243.632 254.26 MT 89.44 0 RL 0
40 RL -89.44 0 RL CL 1 0.3 1 Fr 246.132 256.76 MT 84.44 0 RL 0 35 RL
-84.44 0 RL CL 1 0.25 1 Fr 248.632 259.26 MT 79.44 0 RL 0 30 RL -79.44 0
RL CL 1 0.2 1 Fr 251.132 261.76 MT 74.44 0 RL 0 25 RL -74.44 0 RL CL 1
0.15 1 Fr 253.632 264.26 MT 69.44 0 RL 0 20 RL -69.44 0 RL CL 1 0.1 1 Fr
256.132 266.76 MT 64.44 0 RL 0 15 RL -64.44 0 RL CL 1 0.0502 1 Fr
258.632 269.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 1 0.000244 1 Fr
261.132 271.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 1 0 1 Fr 365.572
221.76 MT 154.44 0 RL 0 105 RL -154.44 0 RL CL 1 0.05 1 Fr 368.072
224.26 MT 149.44 0 RL 0 100 RL -149.44 0 RL CL 1 0.1 1 Fr 370.572 226.76
MT 144.44 0 RL 0 95 RL -144.44 0 RL CL 1 0.15 1 Fr 373.072 229.26 MT
139.44 0 RL 0 90 RL -139.44 0 RL CL 1 0.2 1 Fr 375.572 231.76 MT 134.44
0 RL 0 85 RL -134.44 0 RL CL 1 0.25 1 Fr 378.072 234.26 MT 129.44 0 RL 0
80 RL -129.44 0 RL CL 1 0.3 1 Fr 380.572 236.76 MT 124.44 0 RL 0 75 RL
-124.44 0 RL CL 1 0.35 1 Fr 383.072 239.26 MT 119.44 0 RL 0 70 RL
-119.44 0 RL CL 1 0.4 1 Fr 385.572 241.76 MT 114.44 0 RL 0 65 RL -114.44
0 RL CL 1 0.45 1 Fr 388.072 244.26 MT 109.44 0 RL 0 60 RL -109.44 0 RL
CL 1 0.5 1 Fr 390.572 246.76 MT 104.44 0 RL 0 55 RL -104.44 0 RL CL 1
0.55 1 Fr 393.072 249.26 MT 99.44 0 RL 0 50 RL -99.44 0 RL CL 1 0.6 1 Fr
395.572 251.76 MT 94.44 0 RL 0 45 RL -94.44 0 RL CL 1 0.65 1 Fr 398.072
254.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL CL 1 0.7 1 Fr 400.572 256.76 MT
84.44 0 RL 0 35 RL -84.44 0 RL CL 1 0.75 1 Fr 403.072 259.26 MT 79.44 0
RL 0 30 RL -79.44 0 RL CL 1 0.8 1 Fr 405.572 261.76 MT 74.44 0 RL 0 25
RL -74.44 0 RL CL 1 0.85 1 Fr 408.072 264.26 MT 69.44 0 RL 0 20 RL
-69.44 0 RL CL 1 0.9 1 Fr 410.572 266.76 MT 64.44 0 RL 0 15 RL -64.44 0
RL CL 1 0.95 1 Fr 413.072 269.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 1
1 1 Fr 415.572 271.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 1 1 1 Fr
56.692 326.76 MT 154.44 0 RL 0 105 RL -154.44 0 RL CL 0.05 0.05 0.95 Fr
59.192 329.26 MT 149.44 0 RL 0 100 RL -149.44 0 RL CL 0.1 0.1 0.9 Fr
61.692 331.76 MT 144.44 0 RL 0 95 RL -144.44 0 RL CL 0.15 0.15 0.85 Fr
64.192 334.26 MT 139.44 0 RL 0 90 RL -139.44 0 RL CL 0.2 0.2 0.8 Fr
66.692 336.76 MT 134.44 0 RL 0 85 RL -134.44 0 RL CL 0.25 0.25 0.75 Fr
69.192 339.26 MT 129.44 0 RL 0 80 RL -129.44 0 RL CL 0.3 0.3 0.7 Fr
71.692 341.76 MT 124.44 0 RL 0 75 RL -124.44 0 RL CL 0.35 0.35 0.65 Fr
74.192 344.26 MT 119.44 0 RL 0 70 RL -119.44 0 RL CL 0.4 0.4 0.6 Fr
76.692 346.76 MT 114.44 0 RL 0 65 RL -114.44 0 RL CL 0.45 0.45 0.55 Fr
79.192 349.26 MT 109.44 0 RL 0 60 RL -109.44 0 RL CL 0.5 0.5 0.5 Fr
81.692 351.76 MT 104.44 0 RL 0 55 RL -104.44 0 RL CL 0.55 0.55 0.45 Fr
84.192 354.26 MT 99.44 0 RL 0 50 RL -99.44 0 RL CL 0.6 0.6 0.4 Fr 86.692
356.76 MT 94.44 0 RL 0 45 RL -94.44 0 RL CL 0.65 0.65 0.35 Fr 89.192
359.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL CL 0.7 0.7 0.3 Fr 91.692 361.76
MT 84.44 0 RL 0 35 RL -84.44 0 RL CL 0.75 0.75 0.25 Fr 94.192 364.26 MT
79.44 0 RL 0 30 RL -79.44 0 RL CL 0.8 0.8 0.2 Fr 96.692 366.76 MT 74.44
0 RL 0 25 RL -74.44 0 RL CL 0.85 0.85 0.15 Fr 99.192 369.26 MT 69.44 0
RL 0 20 RL -69.44 0 RL CL 0.9 0.9 0.1 Fr 101.692 371.76 MT 64.44 0 RL 0
15 RL -64.44 0 RL CL 0.95 0.95 0.0502 Fr 104.192 374.26 MT 59.44 0 RL 0
10 RL -59.44 0 RL CL 1 1 0.000244 Fr 106.692 376.76 MT 54.44 0 RL 0 5 RL
-54.44 0 RL CL 1 1 0 Fr 211.132 326.76 MT 154.44 0 RL 0 105 RL -154.44 0
RL CL 0.95 0.95 0.05 Fr 213.632 329.26 MT 149.44 0 RL 0 100 RL -149.44 0
RL CL 0.9 0.9 0.1 Fr 216.132 331.76 MT 144.44 0 RL 0 95 RL -144.44 0 RL
CL 0.85 0.85 0.15 Fr 218.632 334.26 MT 139.44 0 RL 0 90 RL -139.44 0 RL
CL 0.8 0.8 0.2 Fr 221.132 336.76 MT 134.44 0 RL 0 85 RL -134.44 0 RL CL
0.75 0.75 0.25 Fr 223.632 339.26 MT 129.44 0 RL 0 80 RL -129.44 0 RL CL
0.7 0.7 0.3 Fr 226.132 341.76 MT 124.44 0 RL 0 75 RL -124.44 0 RL CL
0.65 0.65 0.35 Fr 228.632 344.26 MT 119.44 0 RL 0 70 RL -119.44 0 RL CL
0.6 0.6 0.4 Fr 231.132 346.76 MT 114.44 0 RL 0 65 RL -114.44 0 RL CL
0.55 0.55 0.45 Fr 233.632 349.26 MT 109.44 0 RL 0 60 RL -109.44 0 RL CL
0.5 0.5 0.5 Fr 236.132 351.76 MT 104.44 0 RL 0 55 RL -104.44 0 RL CL
0.45 0.45 0.55 Fr 238.632 354.26 MT 99.44 0 RL 0 50 RL -99.44 0 RL CL
0.4 0.4 0.6 Fr 241.132 356.76 MT 94.44 0 RL 0 45 RL -94.44 0 RL CL 0.35
0.35 0.65 Fr 243.632 359.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL CL 0.3 0.3
0.7 Fr 246.132 361.76 MT 84.44 0 RL 0 35 RL -84.44 0 RL CL 0.25 0.25
0.75 Fr 248.632 364.26 MT 79.44 0 RL 0 30 RL -79.44 0 RL CL 0.2 0.2 0.8
Fr 251.132 366.76 MT 74.44 0 RL 0 25 RL -74.44 0 RL CL 0.15 0.15 0.85 Fr
253.632 369.26 MT 69.44 0 RL 0 20 RL -69.44 0 RL CL 0.1 0.1 0.9 Fr
256.132 371.76 MT 64.44 0 RL 0 15 RL -64.44 0 RL CL 0.0502 0.0502 0.95
Fr 258.632 374.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 0.000244 0.000244
1 Fr 261.132 376.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 0 0 1 Fr 365.572
326.76 MT 154.44 0 RL 0 105 RL -154.44 0 RL CL 1 0.05 0 Fr 368.072
329.26 MT 149.44 0 RL 0 100 RL -149.44 0 RL CL 1 0.1 0 Fr 370.572 331.76
MT 144.44 0 RL 0 95 RL -144.44 0 RL CL 1 0.15 0 Fr 373.072 334.26 MT
139.44 0 RL 0 90 RL -139.44 0 RL CL 1 0.2 0 Fr 375.572 336.76 MT 134.44
0 RL 0 85 RL -134.44 0 RL CL 1 0.25 0 Fr 378.072 339.26 MT 129.44 0 RL 0
80 RL -129.44 0 RL CL 1 0.3 0 Fr 380.572 341.76 MT 124.44 0 RL 0 75 RL
-124.44 0 RL CL 1 0.35 0 Fr 383.072 344.26 MT 119.44 0 RL 0 70 RL
-119.44 0 RL CL 1 0.4 0 Fr 385.572 346.76 MT 114.44 0 RL 0 65 RL -114.44
0 RL CL 1 0.45 0 Fr 388.072 349.26 MT 109.44 0 RL 0 60 RL -109.44 0 RL
CL 1 0.5 0 Fr 390.572 351.76 MT 104.44 0 RL 0 55 RL -104.44 0 RL CL 1
0.55 0 Fr 393.072 354.26 MT 99.44 0 RL 0 50 RL -99.44 0 RL CL 1 0.6 0 Fr
395.572 356.76 MT 94.44 0 RL 0 45 RL -94.44 0 RL CL 1 0.65 0 Fr 398.072
359.26 MT 89.44 0 RL 0 40 RL -89.44 0 RL CL 1 0.7 0 Fr 400.572 361.76 MT
84.44 0 RL 0 35 RL -84.44 0 RL CL 1 0.75 0 Fr 403.072 364.26 MT 79.44 0
RL 0 30 RL -79.44 0 RL CL 1 0.8 0 Fr 405.572 366.76 MT 74.44 0 RL 0 25
RL -74.44 0 RL CL 1 0.85 0 Fr 408.072 369.26 MT 69.44 0 RL 0 20 RL
-69.44 0 RL CL 1 0.9 0 Fr 410.572 371.76 MT 64.44 0 RL 0 15 RL -64.44 0
RL CL 1 0.95 0 Fr 413.072 374.26 MT 59.44 0 RL 0 10 RL -59.44 0 RL CL 1
1 0 Fr 415.572 376.76 MT 54.44 0 RL 0 5 RL -54.44 0 RL CL 1 1 0 Fr 0.545
0 0 Cr -.8(Ta)56.692 444.6 S(ble 1:).8 E(Color T)5 E(ransitions)-.35 E 0
Cg .234(fore table.)56.692 462.6 R .234(Before table.)5.234 F .234
(Before table.)5.234 F .234(Before table.)5.234 F .234(Before table.)
5.234 F .234(Before table.)5.234 F .234(After table.)5.234 F .234
(After table.)5.234 F .235(After ta-)5.235 F 3.045(ble. After)56.692
474.6 R 3.045(table. After)3.045 F 3.045(table. After)3.045 F 3.045
(table. After)3.045 F 3.045(table. After)3.045 F 3.045(table. After)
3.045 F 3.045(table. After)3.045 F 3.045(table. After)3.045 F 3.045
(table. After)3.045 F(ta-)3.045 E 3.045(ble. After)56.692 486.6 R 3.045
(table. After)3.045 F 3.045(table. After)3.045 F 3.045(table. After)
3.045 F 3.045(table. After)3.045 F 3.045(table. After)3.045 F 3.045
(table. After)3.045 F 3.045(table. After)3.045 F 3.045(table. After)
3.045 F(ta-)3.045 E 3.045(ble. After)56.692 498.6 R 3.045(table. After)
3.045 F 3.045(table. After)3.045 F 3.045(table. After)3.045 F 3.045
(table. After)3.045 F 3.045(table. After)3.045 F 3.045(table. After)
3.045 F 3.045(table. After)3.045 F 3.045(table. After)3.045 F(ta-)3.045
E(ble.)56.692 510.6 Q 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,68 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.de ctab
.nr #cc 0
.PN 21 ".nr #cc +.05f" \
".nr #cc (1f<?\En[#cc])" \
".defcolor \En[t*#] rgb \\$1 \\$2 \\$3" \
".TBL border= csp=0 cpd=.5n bgc=\\\\n[t*#] bc=" \
.TR \
.TD
.PN 21 .ETB
..
.PN 30 Before table.
.TBL cols=3 width=33% border= csp=0 cpd=0 bgc=
.CPTN val=b Color Transitions
.TR
.TD ".ctab 0+\En[#cc]u \En[#cc]u \En[#cc]u" \" black -> white
.TD ".ctab 1f-\En[#cc]u 1f-\En[#cc]u 1f-\En[#cc]u"\" white -> black
.TD ".ctab 1f \En[#cc]u \En[#cc]u" \" red -> white
.TR
.TD ".ctab 0 1f-\En[#cc]u \En[#cc]u" \" green -> blue
.TD ".ctab 1f 1f-\En[#cc]u 1f" \" white -> magenta
.TD ".ctab 1f \En[#cc]u 1f" \" magenta -> white
.TR
.TD ".ctab 0+\En[#cc]u \En[#cc]u 1f-\En[#cc]u" \" blue -> yellow
.TD ".ctab 1f-\En[#cc]u 1f-\En[#cc]u \En[#cc]u" \" yellow -> blue
.TD ".ctab 1f 0+\En[#cc]u 0" \" red -> yellow
.xTD ".ctab 0+\En[#cc]u 1f-\En[#cc]u 1f-\En[#cc]u"\" cyan -> red
.ETB
.PN 30 After table.
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,296 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.
.ds common common.roff\" name for diagnostic messages
.mso hdtbl.tmac\" load table macros
.
.\" ******************************************************************
.\" ** Some macros and the page setup used by the examples **
.\" ******************************************************************
.
.\" ******************************************************************
.\" ** Header macro for the examples **
.\" ******************************************************************
.de H
. nr *w* (17 * \w\\$* / 10 + 4n)
. TBL border=1n \
bc=yellow \
bgc=red4 \
fgc=yellow \
csp=0 \
fst=TB \
"fsz=1.7 1.5" \
hal=c \
tal=c \
"width=(\\n[*w*]+4n)<?\n[.l]"
. TR .TD
. t*P1 \\$*
. ETB
. SP
..
.
.
.\" ******************************************************************
.\" ** Perform n-times all the arbitrary arguments **
.\" ** .PN n a2 a3 ... **
.\" ** PN is nestable **
.\" ******************************************************************
.de PN
. nr *pn +1
. nr PN\\n[*pn] (\\$1 + 1) 1
. shift
.
. while \\n-[PN\\n[*pn]] \
. t*P1 \\$@
.
. nr *pn -1
..
.
.
.\" Utility macro: .d2x decimal_number [base [string_name]]
.\"
.\" Convert 'decimal_number' to another base 'base' (in the
.\" range 1..16) and store the result in string 'string_name'.
.\" If 'base' is missing or empty, convert to a hexadecimal
.\" number. If 'string_name' is missing or empty, return value
.\" in string 'hex#', otherwise return the value in both
.\" 'string_name' and 'hex#'.
.\"
.\" The base value 1 is handled specially: The returned
.\" string contains the character '|' 'decimal_number' times
.\" (for example, input value 4 yields '||||').
.ds d2x-0 0\"
.ds d2x-1 1\"
.ds d2x-2 2\"
.ds d2x-3 3\"
.ds d2x-4 4\"
.ds d2x-5 5\"
.ds d2x-6 6\"
.ds d2x-7 7\"
.ds d2x-8 8\"
.ds d2x-9 9\"
.ds d2x-10 A\"
.ds d2x-11 B\"
.ds d2x-12 C\"
.ds d2x-13 D\"
.ds d2x-14 E\"
.ds d2x-15 F\"
.
.
.de d2x
. if !\B\\$1 \{\
. tmc \\*[common]: \\n[.F]:\\n[.c]: d2x: invalid or missing first
. tm argument
. tm \\*[common]: usage: '.d2x decimal_number [base [string_name]]'
. return
. \}
.
. nr i# (-1) 1
. nr j# 1
. ds hex#
. nr dec# (\\$1) 1
.
. if !\\$1 \
. nr dec# (-\\n[dec#])
.
. ie !"\\$2"" \{\
. ie !\B\\$2 \
. tm \\*[common]: \\n[.F]:\\n[.c]: d2x: invalid base '\\$2'
. el \
. ie ((\\$2 < 1) : (\\$2 > 16)) \
. tm \\*[common]: \\n[.F]:\\n[.c]: d2x: invalid base '\\$2'
. el \
. nr b# \\$2
. \}\}
. el \
. nr b# 16
.
. nr xb# 1
.
. ie (\\n[b#] == 1) \{\
. nr dec# +1
. while \\n-[dec#] \
. as hex# |\"
. \}
. el \{\
. while (\\n[dec#] - \\n[xb#]) \{\
. nr xb# (\\n[xb#] * \\n[b#])
. nr j# +1
. \}
.
. while (\\n+[i#] < \\n[j#]) \{\
. nr ** (\\n[dec#] / \\n[xb#])
. as hex# \\*[d2x-\\n[**]]\"
. nr dec# (\\n[dec#] - (\\n[xb#] * \\n[**]))
. nr xb# (\\n[xb#] / \\n[b#])
. \}
. \}
.
. \" strip leading zero, if any
. ds * \\*[hex#]\"
. substring * 0 0
. length len# \\*[hex#]
. if \\n[len#]>1 .if "\\*[*]"0" \
. substring hex# 1 -1
. rr len#
.
. if (\\$1 < 0) \
. ds hex# -\\*[hex#]\"
.
. if !"\\$3"" \{\
. ie !\A\\$3 \
. tm \\*[common]: \\n[.F]:\\n[.c]: d2x: invalid string name '\\$3'
. el \
. ds \\$3 \\*[hex#]\"
. \}
..
.
.
.\" Utility macro: .random#
.\" .random-seed seed1 seed2
.\"
.\" Return pseudo-random numbers in the range 0..0xFFFFFF,
.\" represented as the concatenation of '#' and six
.\" hexadecimal digits, in the string '#random'. The
.\" macro 'random-seed' can be used to set seed values,
.\" which should be integers in the range 1..2147483562 and
.\" 1..2147483398 for 'seed1' and 'seed2', respectively
.\" (the macro applies a modulo operation to assure this
.\" range). If 'random-seed' isn't called the registers
.\" start at some constant, arbitrary values.
.\"
.\" The used generator is presented in L'Ecuyer's 1988 paper
.\" 'Efficient and Portable Combined Random Number
.\" Generators', which combines two Multiplicative Linear
.\" Congruential Generators (MLCGs) to achieve a period of
.\" 2.3*10^18.
.\"
.\" Since this just generates example output,
.\" we don't need good randomness.
.
.de random-seed
. if !(\\n[.$] == 2) \{\
. tm \\*[common]: random-seed: Invalid number of arguments.
. tm \\*[common]: usage: '.random-seed seed1 seed2'
. return
. \}
.
. nr random-s1 (\\$1 % 2147483562)
. nr random-s2 (\\$2 % 2147483398)
..
.random-seed 131545532 19201711
.
.
.de random#
. nr * (\\n[random-s1] / 53668)
. nr random-s1 (40014 * (\\n[random-s1] - (\\n[*] * 53668)) \
- (\\n[*] * 12211))
. if !\\n[random-s1] \
. nr random-s1 +2147483563
.
. nr * (\\n[random-s2] / 52774)
. nr random-s2 (40692 * (\\n[random-s2] - (\\n[*] * 52774)) \
- (\\n[*] * 3791))
. if !\\n[random-s2] \
. nr random-s2 +2147483399
.
. nr * (\\n[random-s1] - \\n[random-s2])
. if (\\n[*] < 1) \
. nr * +2147483562
.
. \" reduce the result to the leftmost 24 bits
. nr * (\\n[*] / 128)
.
. d2x \\n[*]
. ds hex# 000000\\*[hex#]\"
. substring hex# -6
. ds #random #\\*[hex#]\"
..
.
.
.\" ******************************************************************
.\" ** minimal Page setup **
.\" ******************************************************************
.
.nr s \n[.ps]
.nr v \n[.v]
.nr p \n[.p]
.nr o \n[.o]
.nr l 6.6i \" set text width
.ll \n[t*l]u
.nr o 2c \" set offset
.po \n[o]u
.nr p 29.7c \" set paper length (A4)
.pl \n[p]u
.nr tH 1i \" set top margin
.sp |\n[tH]u
.
.ds t*HM //arbitrary text for page header, except on the first page//\"
.ds t*BM //arbitrary text for page footer, except on the last page/\\n[%]/\"
.
.ev 99
.lt \n[t*l]u
.ev
.
.
.de HM
. sp |.5i \" print header in top margin
. tl \\*[t*HM]
. sp |\\n[tH]u
. ev
..
.
.
.de BM
. ev 99
. sp |(\\n[p]u - .5i) \" print footer in bottom margin
. tl \\*[t*BM]
. bp
..
.
.
.de EM
. rm BM \" no page number at bottom of last page
. t*EM
..
.
.
.wh 0 HM
.wh 0-1.5i BM
.em EM
.
.\" Some packages (-mm) define their own .SP macro.
.\" Use ours if another one isn't already available.
.if !d SP .als SP t*SP
.
.if "\n[.m]"" \
. gcolor black
.if "\n[.M]"" \
. fcolor white
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,164 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.
.\" ******************************************************************
.\" ** groff glyphs vs. character codes: **
.\" ** .fontdump [font1 font2 ...] **
.\" ** Print glyphs of font1, font2, ..., versus **
.\" ** character code. **
.\" ** 'all' as fontname prints all fonts in the **
.\" ** specified string 'fontpath'. **
.\" ** without arg: glyphs and codes of active font. **
.\" ******************************************************************
.
.ds fonts_n fonts_n.roff\" name for diagnostic messages
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
. ab
.\}
.
.
.if !d fontpath \
. ds fontpath /usr/share/groff/1.24.1/font
.
.if !\n[.U] \{\
. tmc \*[fonts_n]: document requires unsafe mode;
. tm1 " use groff's '-U' option
. ab
.\}
.
.de fontdump
. ie \\n[.$] \
. ds *args \\$*
. el \
. ds *args \\n[.fn]
.
.\" Solaris 10 `tr` barfs if POSIX character classes are used in a
.\" locale other than "C".
. pso sh -c \
"printf '%s' '.ds *f ' ; \
ls \\*[fontpath]/dev\*[.T] \
| env LC_ALL=C tr '[:cntrl:]' '[ *]'; \
echo"
.
. while !"\\*[*args]"" \{\
. pops *$1 *args
.
. if "\\*[*$1]"all" \{\
. ds *args \\*[*f] \\*[*args]
. pops *$1 *args
. nr *all 1
. \}
.
. if \\n[*all] \{\
. if "\\*[*$1]"." \
. nr *all 0
. if !F \\*[*$1] \
. continue
. \}
.
. t*index "\\*[*f]" \\*[*$1]
.
. ie (\\n[.y] > 18) \
. if !F \\*[*$1] \{\
. tm \\*[fonts_n]: \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
. continue
. \}
. el \{\
. if !\\n[t*index] \{\
. tm \\*[fonts_n]: \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
. continue
. \}
.
. nr * \\n[.f]
. ft \\*[*$1]
. nr ** \\n[.f]
. ft
.
. if (\\n[**] == \\n[*]) \
. continue
. \}
.
. if \\n[t*cptn] \
. bp
.
. tm \\*[fonts_n]: listing font '\\*[*$1]'...
.
. TBL border=.1n bc=red cpd=0 csp=.1n bgc=
. CPTN groff font name \\*[*$1]; \
.br \
val=b ".pso /usr/bin/grep -E internalname \\*[fontpath]/dev\*[.T]/\\*[*$1]" \
.br \
Grid is blank if font is not installed.
. TR
. TD
. TBL cols=12 border=.1n bc=red csp=.1n cpd=.2n fgc=red4 bgc=beige \
hal=c fsz='1.2 1.2' fst=\\*[*$1]
. nr c# 0-1 1
. nr y# 0-1 1
. TR fst=HB fgc=blue
. TD
. nr x# 0-1 1
. \" following 4 'PN's instead of 4 while-loops as in
. \" font_x.roff; short and easy to write, but a little
. \" bit slower.
. PN 10 .TD \
\&..\\\\n+[x#]
. TD
.
. PN 27 .TR \
".TD fgc=blue fst=HB" \
\\\\n+[y#]. \
".PN 10 .TD \
"".if c \N'\En+[c#]' \
\N'\En[c#]'""" \
".TD fgc=blue fst=HB" \
\\\\n[y#].
.
. TR fst=HB fgc=blue
. TD
. nr x# 0-1 1
. PN 10 .TD \
\&..\\\\n+[x#]
. TD
. ETB
. ETB
. \}
..
.
.tm \*[fonts_n]: listing fonts in \*[fontpath]/dev\*[.T]
.fontdump all
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,175 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.
.\" ******************************************************************
.\" ** groff glyphs vs. character codes: **
.\" ** .fontdump [font1 font2 ...] **
.\" ** Print glyphs of font1, font2, ..., versus **
.\" ** character code. **
.\" ** 'all' as fontname prints all fonts in the **
.\" ** specified string 'fontpath'. **
.\" ** without arg: glyphs and codes of active font. **
.\" ******************************************************************
.
.ds fonts_x fonts_x.roff\" name for diagnostic messages
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
. ab
.\}
.
.
.if !d fontpath \
. ds fontpath /usr/share/groff/1.24.1/font
.
.if !\n[.U] \{\
. tmc \*[fonts_n]: document requires unsafe mode;
. tm1 " use groff's '-U' option
. ab
.\}
.
.de fontdump
. ie \\n[.$] \
. ds *args \\$*
. el \
. ds *args \\n[.fn]
.
.\" Solaris 10 `tr` barfs if POSIX character classes are used in a
.\" locale other than "C".
. pso sh -c \
"printf '%s' '.ds *f ' ; \
ls \\*[fontpath]/dev\*[.T] \
| env LC_ALL=C tr '[:cntrl:]' '[ *]'; \
echo"
.
. while !"\\*[*args]"" \{\
. pops *$1 *args
.
. if "\\*[*$1]"all" \{\
. ds *args \\*[*f] \\*[*args]
. pops *$1 *args
. nr *all 1
. \}
.
. if \\n[*all] \{\
. if "\\*[*$1]"." \
. nr *all 0
. if !F \\*[*$1] \
. continue
. \}
.
. t*index "\\*[*f]" \\*[*$1]
.
. ie (\\n[.y] > 18) \
. if !F \\*[*$1] \{\
. tm \\*[fonts_x]: \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
. continue
. \}
. el \{\
. if !\\n[t*index] \{\
. tm \\*[fonts_x]: \\n[.F]:\\n[.c]: Font \\*[*$1] not found.
. continue
. \}
.
. nr * \\n[.f]
. ft \\*[*$1]
. nr ** \\n[.f]
. ft
.
. if (\\n[**] == \\n[*]) \
. continue
. \}
.
. if \\n[t*cptn] \
. bp
.
. tm \\*[fonts_x]: listing font '\\*[*$1]'...
.
. TBL border=.1n bc=red cpd=0 csp=.1n bgc=
. CPTN groff font name \\*[*$1]; \
.br \
val=b ".pso /usr/bin/grep -E internalname \\*[fontpath]/dev\*[.T]/\\*[*$1]" \
.br \
Grid is blank if font is not installed.
. TR
. TD
. TBL cols=18 border=.1n bc=red csp=.1n cpd=.2n fgc=red4 bgc=beige \
hal=c fsz='1.2 1.7' fst=\\*[*$1]
. nr c# 0-1 1
. nr y# 0 1
. TR fst=HB fgc=blue
. TD
. nr x# 0-1 1
. while (\\n+[x#] < 16) \{\
. d2x \\n[x#]
. TD
. nop \&.\\*[hex#]
. \}
. TD
.
. nr y# -1
. while (\\n+[y#] < 17) \{\
. TR
. TD fgc=blue fst=HB
. d2x \\n[y#]
. nop \\*[hex#].
. nr x# 0-1 1
. while (\\n+[x#] < 16) \{\
. TD
. if c \N'\\n+[c#]' \
. nop \N'\\n[c#]'
. \}
. TD fgc=blue fst=HB
. d2x \\n[y#]
. nop \\*[hex#].
. \}
.
. TR fst=HB fgc=blue
. TD
. nr x# 0-1 1
. while (\\n+[x#] < 16) \{\
. d2x \\n[x#]
. TD
. nop \&..\\*[hex#]
. \}
. TD
. ETB
. ETB
. \}
..
.
.tm \*[fonts_x]: listing fonts in \*[fontpath]/dev\*[.T]
.fontdump all
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,109 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.am pspic*error-hook
. ab \\n[.F]:\\n[.c]: fatal error: PSPIC failed to include '\\$1'
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.H Table with Mixed Content: \
.br \
EPS Image, eqn Equation, tbl Table, and pic Picture
.
Call groff with options \-t, \-e, and \-p!
.
.TBL width=90% tal=c csp=.2n cpd=0
. TR
. TD
. TBL width='25% 75%' csp=.5n cpd=.5n hal=c
. TR
. TD hl=d vl=d rowspan=2 bgc=red4 fgc=linen fsz=1.2 fst=HB val=m
. PSPIC -I -\\n[.l]u gnu.eps
. sp .5
. nop eps image with \fI.PSPIC\fP
. TD bgc=linen
.
.EQ
int from 0 to 1 {( ln x ) sup 2} over {sqrt {1 - x sup 2}} dx approx 0.245
.EN
.
. nop \0\0\0\0\0equation with \fIeqn\fP
.
. TR
. TD hl=d
.
.TS
tab(@), center, doublebox, nospaces;
c c c | c c c
r rI lB | r rI lB.
Bit @ Code @ Warning @ Bit @ Code @ Warning
=
0 @ 1 @ char @ 10 @ 1024 @ reg
1 @ 2 @ number @ 11 @ 2048 @ tab
2 @ 4 @ break @ 12 @ 4096 @ right-brace
3 @ 8 @ delim @ 13 @ 8192 @ missing
4 @ 16 @ el @ 14 @ 16384 @ input
5 @ 32 @ scale @ 15 @ 32768 @ escape
6 @ 64 @ range @ 16 @ 65536 @ space
7 @ 128 @ syntax @ 17 @ 131072 @ font
8 @ 256 @ di @ 18 @ 262144 @ ig
9 @ 512 @ mac @ 19 @ 524288 @ color
.TE
.
. sp .5
. nop table with \fItbl\fP
. TR
. TD colspan=2 bgc=azure2 fgc=blue4
.
.PS
ellipse "document";
arrow 0.42;
box width 0.6 "\fIgpic\/\fP(1)"
arrow 0.42;
box width 1.25 "\fIgtbl\/\fP(1) or \fIgeqn\/\fP(1)" "(optional)" dashed;
arrow 0.42;
box width 0.65 "\fIgtroff\/\fP(1)";
arrow 0.42;
ellipse "PostScript"
.PE
.
. sp .5
. nop picture with \fIpic\fP
. ETB
.ETB
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,91 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.nr *n 25
.nr *# 0 1
.
.de ctab
. nr #cc 0
. PN \\$1 \
".nr #cc +(1f / \\$1)" \
".defcolor \En[t*#] rgb \\$2 \\$3 \\$4" \
".TBL csp=\n[t*l]/(12*\\$1+2) border= cpd=0 bgc=\\\\n[t*#] bc=" \
".if (\\\\n+[*#] == 1) \
.CPTN Rainbow Colors \[em] Nested Tables with Colored Backgrounds \
val=b" \
.TR \
.TD
..
.
.ctab \n[*n] 1 0 \En[#cc]u \" rot -> magenta
.ctab \n[*n] 1-\En[#cc]u 0 1 \" magenta -> blue
.ctab \n[*n] 0 \En[#cc]u 1 \" blue -> cyan
.ctab \n[*n] 0 1 1-\En[#cc]u \" cyan -> green
.ctab \n[*n] \En[#cc]u 1 0 \" green -> yellow
.ctab \n[*n] 1 1-\En[#cc]u 0 \" yellow -> red
.
.PN 6*\n[*n] .ETB
.
.bp
.
.nr *n 25
.nr *# 0 1
.
.de ctab
. nr #cc 0
. PN \\$1 \
".nr #cc +(1f / \\$1)" \
".defcolor \En[t*#] rgb \\$2 \\$3 \\$4" \
".TBL border=\n[t*l]/(12*\\$1+2) csp=0 cpd=0 bc=\\\\n[t*#] bgc=" \
".if (\\\\n+[*#] == 1) \
.CPTN Rainbow Colors \[em] Nested Tables with Colored Borders \
val=b" \
.TR \
.TD
..
.
.ctab \n[*n] 1 \En[#cc]u 0 \" red -> yellow
.ctab \n[*n] 1-\En[#cc]u 1 0 \" yellow -> green
.ctab \n[*n] 0 1 \En[#cc]u \" green -> cyan
.ctab \n[*n] 0 1-\En[#cc]u 1 \" cyan -> blue
.ctab \n[*n] \En[#cc]u 0 1 \" blue -> magenta
.ctab \n[*n] 1 0 1-\En[#cc]u \" magenta -> red
.
.PN 6*\n[*n] .ETB
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

View file

@ -0,0 +1,394 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.24.1
%%CreationDate: Mon Mar 16 21:27:47 2026
%%DocumentNeededResources: font Times-Bold
%%+ font Times-Roman
%%+ font Helvetica-Narrow-Bold
%%+ font Helvetica-Narrow
%%+ font Helvetica-Narrow-Oblique
%%DocumentSuppliedResources: procset grops 1.24 1
%%Pages: 2
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.24 1
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
% The ASCII code of the space character.
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
% name size font SF -
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
% name a c d font MF -
/MF{
findfont
[5 2 roll
0 3 1 roll % b
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
% Enable manual feed.
% MANUAL -
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
% Guess the page length.
% This assumes that the imageable area is vertically centered on the page.
% PLG - length
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
% BP -
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
% centerx centery radius startangle endangle DA -
/DA{
newpath arcn stroke
}bind def
% x y SN - x' y'
% round a position to nearest (pixel + (.25,.25))
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
% endx endy startx starty DL -
% we round the endpoints of the line, so that parallel horizontal
% and vertical lines will appear even
/DL{
SN
moveto
SN
lineto stroke
}bind def
% centerx centery radius DC -
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
% width height centerx centery DE -
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
% these are for splines
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
% fill the last path
% r g b Fr -
/Fr{
setrgbcolor fill
}bind def
% c m y k Fk -
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
% g Fg -
/Fg{
setgray fill
}bind def
% fill with the "current color"
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
% new_font_name encoding_vector old_font_name RE -
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
% hpos vpos EBEGIN -
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
% llx lly newwid wid newht ht newllx newlly PBEGIN -
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
% set the graphics state to default values
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
%
% Any included setpagedevice should be ignored.
% See: http://www.w-beer.de/doc/ps/.
%
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Roman
%%IncludeResource: font Helvetica-Narrow-Bold
%%IncludeResource: font Helvetica-Narrow
%%IncludeResource: font Helvetica-Narrow-Oblique
grops begin/DEFS 52 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Helvetica-Narrow-Oblique@0 ENC0/Helvetica-Narrow-Oblique RE
/Helvetica-Narrow@0 ENC0/Helvetica-Narrow RE/Helvetica-Narrow-Bold@0
ENC0/Helvetica-Narrow-Bold RE/Times-Roman@0 ENC0/Times-Roman RE
/Times-Bold@0 ENC0/Times-Bold RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
115.204 90.888 MT 350.976 0 RL 0 26.6 RL -350.976 0 RL CL 0.545 0 0 Fr 1
1 0 Cr/F0 20.4/Times-Bold@0 SF(Short Refer)123.064 107.86 Q(ence f)-.367
E(or the HDtbl-Macr)-.51 E(os)-.367 E 109.204 102.36 EBEGIN
0 setlinejoin 2 setlinecap
EEND 6 LW 469.18 87.888 112.204 87.888 DL 469.18 120.488 469.18 87.888
DL 112.204 120.488 469.18 120.488 DL 112.204 87.888 112.204 120.488 DL 0
Cg/F0 12/Times-Roman@0 SF(This Short Reference describes the Heidelber)
56.692 155.96 Q(ger T)-.216 E(able Macros using the macros themselv)-.96
E(es.)-.18 E 58.492 167.322 MT 43.2 0 RL 0 15.12 RL -43.2 0 RL CL 1
0.894 0.769 Fr 0.545 0 0 Cr/F1 12/Helvetica-Narrow-Bold@0 SF(Macr)65.722
176.84 Q(o)-.24 E 105.292 167.322 MT 183.6 0 RL 0 15.12 RL -183.6 0 RL
CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Description)170.026 176.84 Q 292.492
167.322 MT 113.4 0 RL 0 15.12 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0
0 Cr(Predecessor)317.008 176.84 Q(s)-.18 E 409.492 167.322 MT 113.4 0 RL
0 15.12 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Successor)
438.658 176.84 Q(s)-.18 E 58.492 186.042 MT 43.2 0 RL 0 26.64 RL -43.2 0
RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr/F2 12/Helvetica-Narrow@0 SF(.TBL)
60.292 201.32 Q 105.292 186.042 MT 183.6 0 RL 0 26.64 RL -183.6 0 RL CL
1 0.894 0.769 Fr 0.545 0 0 Cr(Begin a ne)107.092 201.32 Q 2.736(wt)-.24
G(ab)-2.736 E(le)-.24 E 292.492 186.042 MT 113.4 0 RL 0 26.64 RL -113.4
0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TD .TH .ETB cell con-)294.292
195.56 Q(tent)294.292 207.08 Q 409.492 186.042 MT 113.4 0 RL 0 26.64 RL
-113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.CPTN .TR)411.292 201.32 Q
58.492 216.282 MT 43.2 0 RL 0 26.64 RL -43.2 0 RL CL 1 0.894 0.769 Fr
0.545 0 0 Cr(.CPTN)60.292 231.56 Q 105.292 216.282 MT 183.6 0 RL 0 26.64
RL -183.6 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Optional n)107.092 225.8
Q(umbered or unn)-.12 E(umbered tab)-.12 E(le)-.24 E(caption)107.092
237.32 Q 292.492 216.282 MT 113.4 0 RL 0 26.64 RL -113.4 0 RL CL 1 0.894
0.769 Fr 0.545 0 0 Cr(.TBL)294.292 231.56 Q 409.492 216.282 MT 113.4 0
RL 0 26.64 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TR)411.292
231.56 Q 58.492 246.522 MT 43.2 0 RL 0 15.12 RL -43.2 0 RL CL 1 0.894
0.769 Fr 0.545 0 0 Cr(.TR)60.292 256.04 Q 105.292 246.522 MT 183.6 0 RL
0 15.12 RL -183.6 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Begin a ne)
107.092 256.04 Q 2.736(wt)-.24 G(ab)-2.736 E(le ro)-.24 E(w)-.18 E
292.492 246.522 MT 113.4 0 RL 0 15.12 RL -113.4 0 RL CL 1 0.894 0.769 Fr
0.545 0 0 Cr(.TBL .CPTN cell content)294.292 256.04 Q 409.492 246.522 MT
113.4 0 RL 0 15.12 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr
(.TD .TR)411.292 256.04 Q 58.492 265.242 MT 43.2 0 RL 0 26.64 RL -43.2 0
RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TH)60.292 280.52 Q 105.292 265.242
MT 183.6 0 RL 0 26.64 RL -183.6 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr
(Optional begin tab)107.092 280.52 Q(le header cell)-.24 E 292.492
265.242 MT 113.4 0 RL 0 26.64 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0
0 Cr(.TR .TD .TH .ETB cell)294.292 274.76 Q(content)294.292 286.28 Q
409.492 265.242 MT 113.4 0 RL 0 26.64 RL -113.4 0 RL CL 1 0.894 0.769 Fr
0.545 0 0 Cr(.TD .TH .TR .ETB cell)411.292 274.76 Q(content)411.292
286.28 Q 58.492 295.482 MT 43.2 0 RL 0 26.64 RL -43.2 0 RL CL 1 0.894
0.769 Fr 0.545 0 0 Cr(.TD)60.292 310.76 Q 105.292 295.482 MT 183.6 0 RL
0 26.64 RL -183.6 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Begin tab)
107.092 310.76 Q(le data cell)-.24 E 292.492 295.482 MT 113.4 0 RL 0
26.64 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr
(.TR .TD .TH .ETB cell)294.292 305 Q(content)294.292 316.52 Q 409.492
295.482 MT 113.4 0 RL 0 26.64 RL -113.4 0 RL CL 1 0.894 0.769 Fr 0.545 0
0 Cr(.TD .TH .TR .ETB cell)411.292 305 Q(content)411.292 316.52 Q 58.492
325.722 MT 43.2 0 RL 0 26.64 RL -43.2 0 RL CL 1 0.894 0.769 Fr 0.545 0 0
Cr(.ETB)60.292 341 Q 105.292 325.722 MT 183.6 0 RL 0 26.64 RL -183.6 0
RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(Finish and pr)107.092 341 Q(int tab)
.18 E(le)-.24 E 292.492 325.722 MT 113.4 0 RL 0 26.64 RL -113.4 0 RL CL
1 0.894 0.769 Fr 0.545 0 0 Cr(.TD .TH .ETB cell con-)294.292 335.24 Q
(tent)294.292 346.76 Q 409.492 325.722 MT 113.4 0 RL 0 26.64 RL -113.4 0
RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TBL .TR .TD .TH .ETB)411.292 335.24
Q(cell content)411.292 346.76 Q 58.492 355.962 MT 43.2 0 RL 0 15.12 RL
-43.2 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.t*free)60.292 365.48 Q
105.292 355.962 MT 417.6 0 RL 0 15.12 RL -417.6 0 RL CL 1 0.894 0.769 Fr
0.545 0 0 Cr(Utility macro to free held tab)107.092 365.48 Q(les)-.24 E
5.472(.U)-.18 G(se it outside an)-5.472 E 2.736(yt)-.18 G(ab)-2.736 E
(le)-.24 E(.)-.18 E -1.44(Ta)56.692 388.088 S -.24(bl)1.44 G 2.736(e1)
.24 G 5.472(:B)-2.736 G(ase- Optional- and Utility-Macros)-5.472 E 0 Cg
/F3 10/Times-Roman@0 SF(arbitrary te)186.072 817.889 Q
(xt for page footer)-.15 E 2.5(,e)-.4 G(xcept on the last page)-2.65 E
(1)124.38 E 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(arbitrary te)183.852 48 Q(xt for page header)
-.15 E 2.5(,e)-.4 G(xcept on the \214rst page)-2.65 E 58.492 83.362 MT
90 0 RL 0 15.12 RL -90 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr/F1 12
/Helvetica-Narrow-Bold@0 SF(Ar)80.35 92.88 Q(gument)-.18 E 152.092
83.362 MT 146.16 0 RL 0 15.12 RL -146.16 0 RL CL 1 0.894 0.769 Fr 0.545
0 0 Cr -.72(Va)212.404 92.88 S(lue).72 E 301.852 83.362 MT 33.84 0 RL 0
15.12 RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TBL)307.84 92.88
Q 339.292 83.362 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL 1 0.894 0.769
Fr 0.545 0 0 Cr(.CPT)345.004 92.88 Q 376.732 83.362 MT 33.84 0 RL 0
15.12 RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TR)385.726 92.88
Q 414.172 83.362 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL 1 0.894 0.769
Fr 0.545 0 0 Cr(.TH)423.166 92.88 Q 451.612 83.362 MT 33.84 0 RL 0 15.12
RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(.TD)460.606 92.88 Q
489.052 83.362 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL 1 0.894 0.769 Fr
0.545 0 0 Cr(.ETB)494.764 92.88 Q 58.492 102.082 MT 90 0 RL 0 15.12 RL
-90 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr/F2 12/Helvetica-Narrow@0 SF
(border=)60.292 111.6 Q/F3 12/Helvetica-Narrow-Oblique@0 SF([n])A
152.092 102.082 MT 146.16 0 RL 0 15.12 RL -146.16 0 RL CL 1 0.894 0.769
Fr 0.545 0 0 Cr F2(border thic)153.892 111.6 Q(kness)-.24 E 301.852
102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0
0 Cr(X)315.49 111.6 Q 339.292 102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0
RL CL 1 0.894 0.769 Fr 376.732 102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0
RL CL FL 414.172 102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL FL
451.612 102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL FL 489.052
102.082 MT 33.84 0 RL 0 15.12 RL -33.84 0 RL CL FL 58.492 120.802 MT 90
0 RL 0 26.64 RL -90 0 RL CL FL 0.545 0 0 Cr(bc=)60.292 136.08 Q F3([c])A
152.092 120.802 MT 146.16 0 RL 0 26.64 RL -146.16 0 RL CL 1 0.894 0.769
Fr 0.545 0 0 Cr F2(color of border and cellseper)153.892 130.32 Q(a-)
-.12 E -2.556(tor lines)153.892 141.84 R 301.852 120.802 MT 33.84 0 RL 0
26.64 RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(X)315.49 136.08 Q
339.292 120.802 MT 33.84 0 RL 0 26.64 RL -33.84 0 RL CL 1 0.894 0.769 Fr
376.732 120.802 MT 33.84 0 RL 0 26.64 RL -33.84 0 RL CL FL 0.545 0 0 Cr
(X)390.37 136.08 Q 414.172 120.802 MT 33.84 0 RL 0 26.64 RL -33.84 0 RL
CL 1 0.894 0.769 Fr 0.545 0 0 Cr(X)427.81 136.08 Q 451.612 120.802 MT
33.84 0 RL 0 26.64 RL -33.84 0 RL CL 1 0.894 0.769 Fr 0.545 0 0 Cr(X)
465.25 136.08 Q 489.052 120.802 MT 33.84 0 RL 0 26.64 RL -33.84 0 RL CL
1 0.894 0.769 Fr 178.107 170.088 MT 225.169 0 RL 0 25.2 RL -225.169 0 RL
CL 0.545 0 0 Fr 1 1 0 Cr/F4 20.4/Times-Bold@0 SF
(------ incomplete -------)193.844 186.36 Q 172.107 181.56 EBEGIN
0 setlinejoin 2 setlinecap
EEND 6 LW 406.276 167.088 175.107 167.088 DL 406.276 198.288 406.276
167.088 DL 175.107 198.288 406.276 198.288 DL 175.107 167.088 175.107
198.288 DL 0 Cg EP
%%Trailer
end
%%EOF

View file

@ -0,0 +1,91 @@
.ig
Copyright 2006 Free Software Foundation, Inc.
Written by Joachim Walsdorff <Joachim.Walsdorff@urz.uni-heidelberg.de>
This file is part of hdtbl.
hdtbl is distributed with groff, the GNU roff typesetting system.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or
(at your option) any later version.
groff is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
.
.if !d sopath \
. ds sopath
.
.ds lib examples/common.roff
.soquiet \*[sopath]\*[lib]
.if !d common \{\
. tmc \n[.F]: cannot find "\*[lib]"; specify its location
. tm1 " with groff '-I' or '-d sopath=' option
.\}
.
.
.t*pv 1.2 1.2 "" x
.H Short Reference for the HDtbl-Macros
This Short Reference describes the Heidelberger Table Macros
using the macros themselves.
.br
.nr t*csp .3n
.nr t*cpd .3n
.ds t*ff HN
.ds t*val m
.ds t*hal l
.xig
.TBL "width=10% 40% 25% 25%" border= "fsz=1 .8"
.CPTN Base- Optional- and Utility-Macros val=b
.TR
.TH Macro .TH Description .TH Predecessors .TH Successors
.TR
.TD \&.TBL .TD Begin a new table .TD \&.TD \&.TH \%.ETB cell content
.TD \&.CPTN \&.TR
.TR
.TD \&.CPTN .TD Optional numbered or unnumbered table caption
.TD \&.TBL .TD \&.TR
.TR
.TD \&.TR .TD Begin a new table row .TD \&.TBL \&.CPTN cell content
.TD \&.TD \&.TR
.TR
.TD \&.TH .TD Optional begin table header cell
.TD \&.TR \&.TD \&.TH \%.ETB cell content
.TD \&.TD \&.TH \&.TR \%.ETB cell content
.TR
.TD \&.TD .TD Begin table data cell .TD \&.TR \&.TD \&.TH \%.ETB cell content
.TD \&.TD \&.TH \&.TR \%.ETB cell content
.TR
.TD \&.ETB .TD Finish and print table .TD \&.TD \&.TH \%.ETB cell content
.TD \&.TBL \&.TR \&.TD \&.TH \%.ETB cell content
.TR
.TD \&.t*free
.TD colspan=3 val=t Utility macro to free held tables. Use it outside any table.
.ETB
.bp
.x.
.TBL "fsz=1 .8" "width=20% 32% 8% 8% 8% 8% 8% 8%" border=
.TR
.TH Argument .TH Value .TH \&.TBL .TH \&.CPT .TH \&.TR .TH \&.TH .TH \&.TD .TH \&.ETB
.TR
.TD border=\fI[n]\fP
.TD border thickness .TD .ce X .TD .TD .TD .TD .TD
.TR
.TD bc=\fI[c]\fP
.TD color of border and cellseperatorlines .TD .ce X .TD .TD .ce X .TD .ce X .TD .ce X .TD
.ETB
.H ------ incomplete -------
.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
.\" End:
.\" vim: set filetype=groff textwidth=72:

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

View file

@ -0,0 +1,723 @@
#!/bin/bash
#
# Copyright 2024 Peter Schaffter
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -e
set -o posix
ROOT_UID=0
OPTERR=1
loc_or_sysdir=/usr/local/share/groff # make this default
version=current
trap interrupt SIGINT
shopt -s expand_aliases
alias cp='cp -f' # -p flag for interactive
alias ln='ln -f'
alias mv='mv -f'
script="$(basename ${0%.*})"
show_usage()
{
printf \
"Usage: ${script} [-lscpdD] \
[-C \033[4mdir\033[0m] \
[-F \033[4mfamily\033[0m] \
[-f \033[4mgroff fontname\033[0m] | +\033[4mSTYLE\033[0m] file ...\n\
Longer help: install-font.sh -H (pipe through 'less' or 'more')\n"
}
long_help()
{
printf <<EOF \
"USAGE:
install-font.sh [-hHlscpn] [-P \033[4mdir\033[0m] [-C \033[4mdir\033[0m] [-F \033[4mfamily\033[0m] \
[-f \033[4mgroff fontname\033[0m] file1 file2 ...
DESCRIPTION:
A utility to make TrueType (.ttf), OpenType (.otf), and
PostScript Type1 (.pfa, .pfb) fonts available for use with
groff.
With no options, for every file named on the command line,
\033[4minstall-font\033[0m prompts for
- a family name
- a groff fontname
- whether to make the font available to gropdf
- whether to copy the input file(s) to a system-wide location
\033[4minstall-font.sh\033[0m calls fontforge to convert TrueType and OpenType
fonts to PostScript Type42 (.t42) and Type1 (.pfa), from which
a groff font is generated. The .t42 and groff fonts are moved
to site-font/devps/ and registered in the 'download' file. If
the font is to be available to gropdf, the .pfa is moved to
site-font/devpdf/ and registered in its 'download' file. A
symlink is made to the groff font in site-font/devps.
PostScript fonts are converted to .pfa, even those with a .pfa
extension. The newly-generated .pfa has a filename derived from the
font's PostScript name. This is helpful in the case of fonts with
cryptic names like 'bchri8a.pfa', which becomes 'CharterBT-Italic.pfa'.
In all cases, the original file is preserved with its original
name in the directory from which the font is being installed.
The .pfa and groff fonts are moved to site-font/devps/ and
registered in the 'download' file. If the font is to be
available to gropdf, symlinks are made in site-font/devpdf/ to
both the .pfa and the groff font, and the .pfa is registered
in /site-font/devpdf/download.
OPTIONS
Options not requiring an argument may be grouped.
-h Short help.
-H Long help.
-l Assume prefix /usr/local/share/groff for all directories. (default)
-s Assume prefix /usr/share/groff for all directories.
-P \033[4mdir\033[0m
Path to the top-level groff directory if groff has been
installed in a non-default location.
-c Copy file(s) named on the command line to a system-accessible
location. If neither -s nor -C is given, copy to the family
directory (see -F) under /usr/local/share/fonts/<fonttype>/,
where <fonttype> is one of 'truetype', 'type1', or 'opentype'.
If -s is given, copy to the family directory located under
/usr/share/fonts/<fonttype>/.
If neither -c nor -C is given, a prompt asks whether to copy
the file(s) named on the command line.
-n Don't copy file(s) named on the command line to a system-accessible
location.
-d Make font available to gropdf.
-D Do not make font available to gropdf.
-p Ask before overwriting or linking files. Default is to
overwrite without asking.
-C \033[4mdir\033[0m
Copy file(s) named on the command line to the family directory
(see -F) in \033[4mdir\033[0m.
-F \033[4mfamily\033[0m
Family to which the font belongs. Creates a family for the
groff font, which can then be accessed by calls to .fam or
.FAMILY (mom macros). Also creates a family directory for
fonts being made available system-wide (see -c and -C).
-F is useful for batch processing fonts that belong to the
same family. Use with care, since all files named on the
command line will be assigned to \033[4mfamily\033[0m.
If -F is not given, a prompt asks for the family name.
-f \033[4mname\033[0m or +\033[4mSTYLE\033[0m
Name by which to access the font with calls to .ft or
.FT (mom macros). \033[4mname\033[0m may be arbitrary, or
a '+' sign prefixed to an uppercase fontstyle recognized
by groff, eg +R, +I, +B, +BI, which respectively stand for
regular, italic, bold, and bold italic. The mom macros
provide additional styles, which may also be used.
+\033[4mSTYLE\033[0m is affixed to the family name to arrive at the
groff fontname.
install-font -F Garamond -f +R <file>
creates font GaramondR, which can be accessed by
.fam Garamond
.ft R
or
.ft GaramondR
-f is not compatible with batch processing. \033[4minstall-font\033[0m
will abort if the -f option is given and multiple files are
named on the command line.
If -f is not given, a prompt asks for the font name.
"
EOF
}
case $1 in
-h | "")
show_usage
exit 0
;;
-H)
long_help
exit 0
;;
esac
# if fontforge not installed, no point going any further
type fontforge > /dev/null 2>&1 || {
printf "fontforge not installed. Aborting.\n" >&2
exit 1
}
tmp_dir=/tmp/install-font
[ -d ${tmp_dir} ] || mkdir ${tmp_dir}
clean_tmp()
{
for i in ${tmp_dir}/*[!pe] ; do rm -f "$i" ; done # everything but .pe
for i in ${tmp_dir}/* ; do [ -L "$i" ] && rm "$i" ; done # symlinks
}
interrupt()
{
clean_tmp
printf "\nAborting.\n"
exit 130
}
error()
{
case "$1" in
no_filename)
printf \
"[${script}]: Missing filename. \
Aborting.\n" >&2
exit 1
;;
no_file)
printf \
"[${script}]: File \"${file}\" not found. \
Aborting.\n" >&2
exit 1
;;
no_arg)
printf \
"[${script}]: Option \"-${option}\" requires an argument. \
Aborting.\n" >&2
show_usage
exit 1
;;
filename_arg)
printf \
"[${script}]: Option \"-${option}\" requires a non-filename argument. \
Aborting.\n" >&2
show_usage
exit 1
;;
no_dir)
printf \
"[${script}]: Directory \"${copy_dir}\" not found. \
Aborting.\n" >&2
exit 1
;;
not_dir)
printf \
"[${script}]: \"${OPTARG}\" not a directory. \
Aborting.\n" >&2
exit 1
;;
not_writable)
printf \
"[${script}]: \"${OPTARG}\" is not writable. \
Aborting.\n" >&2
exit 1
;;
incompatible)
printf \
"[${script}]: Incompatible file type. Must have extension ttf|pfa|pfb|otf. \
Aborting.\n" >&2
exit 1
;;
arg_to_f)
printf \
"[${script}]: Option -${option} incompatible with multiple filenames. \
Aborting.\n" >&2
exit 1
esac
}
generate_t42()
{
cat <<EOF > ${tmp_dir}/generate-t42.pe
# generate-t42.pe
Open(\$1);
Generate(\$fontname + ".pfa");
Generate(\$fontname + ".t42");
EOF
}
generate_pfa()
{
cat <<EOF > ${tmp_dir}/generate-pfa.pe
# generate-pfa.pe
Open(\$1);
Generate(\$fontname + ".pfa");
EOF
}
convert_font()
{
printf "Running fontforge...\n"
fontforge -script ${script} "`basename "${file}"`"
printf "Done.\n"
}
make_font()
{
printf "Creating \033[33m${groff_font}\033[0m...\n"
if [ "${is_italic}" ] ; then
afmtodit_opts="-e text.enc -i50"
else
afmtodit_opts="-e text.enc -i0 -m"
fi
afmtodit ${afmtodit_opts} ${font}.afm ${textmap} ${groff_font}
unset afmtodit_opts
rm ${font}.afm
printf "Done.\n"
}
install_to_devps()
{
printf \
"Installing \033[33m${groff_font}\033[0m in ${site_font_devps}/... "
mv ${font}.${ext} ${site_font_devps}/
mv ${groff_font} ${site_font_devps}/
chmod 644 ${site_font_devps}/${font}.${ext}
chmod 644 ${site_font_devps}/${groff_font}
# update the download file in site-font/devps
[ -e ${site_font_devps}/download ] || {
cp ${devps}/download ${site_font_devps}
chmod 666 ${site_font_devps}/download
}
[ $argc -eq 1 ] && {
cp ${site_font_devps}/download ${site_font_devps}/download.bak
}
printf "${font}\t${font}.${ext}\n" >> ${site_font_devps}/download
printf "Done.\n"
}
install_to_devpdf()
{
if [ ${install_in_devpdf} ] ; then
gropdf=yes
else
printf \
"Make \033[33m${groff_font}\033[0m available to gropdf? (y/n; default = y) "
read gropdf
fi
case $gropdf in
Y | y | YES | Yes | yes | "")
printf "Checking for gropdf executable and devpdf directory... "
have_gropdf=`type gropdf`
if [ "$have_gropdf" ] ; then
printf \
"gropdf found.\nInstalling \033[33m${groff_font}\033[0m in ${site_font_devpdf}/... "
case ${ext} in
t42)
mv ${font}.pfa ${site_font_devpdf}/
chmod 644 ${site_font_devpdf}/${font}.pfa
;;
pfa)
ln -s ${site_font_devps}/${font}.pfa ${site_font_devpdf}/${font}.pfa
;;
esac
ln -s ${site_font_devps}/${groff_font} ${site_font_devpdf}/${groff_font}
[ -e ${site_font_devpdf}/download ] || {
touch ${site_font_devpdf}/download && chmod 666 ${site_font_devpdf}/download
}
[ $argc -eq 1 ] && {
cp -f ${site_font_devpdf}/download ${site_font_devpdf}/download.bak
}
printf "\t${font}\t${font}.pfa\n" >> ${site_font_devpdf}/download
printf "Done.\n"
else
printf \
"gropdf not found.\nNo fonts will be installed in ${site_font_devpdf}.\n"
fi ;;
esac
}
get_fontname()
{
printf \
"Enter +STYLE (eg +R, +I, +B, +BI), or a unique groff name for \
\033[36m${font}\033[0m.\n"
printf \
"Leave blank to set name to '\033[36m${font}\033[0m': "
}
convert_install()
{
cd ${tmp_dir}
convert_font # generate t42/pfa and afm files
# get postscript family and font name from afm
family_name=`grep "^FamilyName" *afm | \
sed -e 's/^FamilyName *\([[:graph:]]\{1,\}\) *[[:print:]]*$/\1/'`
font=`grep "^FontName" *afm | \
sed -e 's/^FontName *\([[:graph:]]\{1,\}\) *[[:print:]]*$/\1/'`
is_italic=`grep -i "^FullName .*italic" *afm | sed -e 's/.*\([Ii]talic\)/\1/'`
if [ ! ${family} ] ; then # get user's name for family
printf "Family name (default = ${family_name}): "
read family
[ ${family} ] || family=${family_name}
fi
printf \
" =>\033[36m${font}\033[0m (${file}) assigned to family \
'\033[33m${family}\033[0m'.\n"
if [ ! ${groff_font} ] ; then # get groff fontname
if [ ! ${append_style} ] ; then
get_fontname
read groff_font
[ ${groff_font} ] || groff_font=${font}
append_style=${groff_font:0:1}
[ "$append_style" = "+" ] && {
append_style=${groff_font##*+}
groff_font=${family}${append_style}
}
else
groff_font=${family}${append_style}
fi
fi
printf \
" =>\033[36m${font}\033[0m assigned groff fontname \
'\033[33m${groff_font}\033[0m'.\n"
# make links to textmap and text.enc if not already present in tmp_dir
# test for textmap or text.map first.
[ -e ${devps}/generate/text.map ] && textmap=text.map
[ -e ${devps}/generate/textmap ] && textmap=textmap
if [ ! -e ${textmap} ] ; then
[ -e ${devps}/generate/${textmap} ] && ln -s ${devps}/generate/${textmap} . || {
printf "'\${textmap}' not found. Aborting.\n" >&2 ; exit 1
}
fi
if [ ! -e text.enc ] ; then
[ -e ${devps}/text.enc ] && ln -s ${devps}/text.enc . || {
printf "'text.enc' not found. Aborting.\n" >&2 ; exit 1
}
fi
make_font
install_to_devps
[ ${skip_devpdf} ] || install_to_devpdf
rm -f ${font}*
cd - &>/dev/null
}
copy_file()
{
[ -d ${copy_dir} ] || {
echo "${copy_dir} not found; creating."
mkdir -p ${copy_dir}
chmod 755 ${copy_dir} ;
}
[ -d ${copy_dir}/${family} ] || {
mkdir -p ${copy_dir}/${family}
chmod 755 ${copy_dir}/${family}
}
printf "Installing ${file} in ${copy_dir}/${family}/... "
cp "${file}" ${copy_dir}/${family}/
chmod 644 ${copy_dir}/${family}/"${file}"
printf "Done.\n"
}
print_sep()
{
printf \
"======================================================================\n"
}
# getopts doesn't check if OPTARG is a flag, or a filename when some
# other value is expected
check_optarg()
{
[ "${OPTARG:0:1}" = "-" ] && error no_arg # is an opt when arg to opt expected
eval "has_ext=`echo ${OPTARG} | sed -e 's/^[[:graph:]]*\.[[:graph:]]*$/./'`"
[ "${has_ext}" = "." ] && error filename_arg # is a filename when filename not expected
:
}
check_optarg_dir()
{
[ "${OPTARG:0:1}" = "-" ] && error no_arg # is an opt when arg to opt expected
[ ! -d "${OPTARG}" ] && error not_dir
[ ! -w "${OPTARG}" ] && error not_writable
:
}
while getopts ":C:cndDF:f:hHlpP:s" opt
do
case "$opt" in
c)
copy_orig=yes
;;
C)
option=C
check_optarg
copy_orig=yes
copy_dir=${OPTARG}
[ -d ${copy_dir} ] || error no_dir
;;
n)
dont_copy=yes
;;
d)
install_in_devpdf=yes
;;
D)
skip_devpdf=yes
;;
F)
option=F
check_optarg
family=${OPTARG}
;;
f)
option=f
opt_f=true
check_optarg
append_style=${OPTARG:0:1}
case ${append_style} in
"+")
append_style=${OPTARG##*+}
;;
*)
groff_font=${OPTARG}
;;
esac
;;
h)
show_usage
exit 0
;;
H)
long_help
exit 0
;;
l)
loc_or_sysdir=/usr/local/share/groff
;;
P)
option=P
check_optarg_dir
loc_or_sysdir=${OPTARG}
;;
p)
alias mv='mv -i'
alias ln='ln -i'
alias cp='cp -i'
;;
s)
loc_or_sysdir=/usr/share/groff
;;
\?)
printf "Option \"-${OPTARG}\" not valid. Aborting.\n" >&2
show_usage
exit 1
;;
:)
printf "Option \"-${OPTARG}\" requires an argument. Aborting.\n" >&2
show_usage
exit 1
;;
esac
done
shift $((OPTIND-1))
[ "$#" -eq 0 ] && error no_filename
[ $# -gt 1 -a "${opt_f}" ] && {
error arg_to_f
exit 1
}
if [ ! -w "$loc_or_sysdir" ] ; then
# need write access to $loc_or_sysdir
scriptname=`basename $0`
printf \
"You don't have write access to ${loc_or_sysdir}
Superuser priviledges required.\nRerun as \
'\033[33msudo ${scriptname} \033[4margs\033[0m' \
or \
'\033[33msu root -c \"${scriptname} \033[4margs\033[0m\033[33m\"\033[0m'\n"
exit 126
fi
devps=${loc_or_sysdir}/${version}/font/devps
devpdf=${loc_or_sysdir}/${version}/font/devpdf
site_font_devps=${loc_or_sysdir}/site-font/devps
site_font_devpdf=${loc_or_sysdir}/site-font/devpdf
# create site-font and site-font/devps and site-font/devpdf
# if not present
[ -d ${loc_or_sysdir}/site-font ] || {
printf "${loc_or_sysdir}/site-font not found; creating.\n"
mkdir -p ${loc_or_sysdir}/site-font
chmod 755 ${loc_or_sysdir}/site-font
}
[ -d ${site_font_devps} ] || {
printf "${site_font_devps} not found; creating.\n"
mkdir -p ${site_font_devps}
chmod 755 ${site_font_devps}
}
[ -d ${site_font_devpdf} ] || {
printf "${site_font_devpdf} not found; creating.\n"
mkdir -p ${site_font_devpdf}
chmod 755 ${site_font_devpdf}
}
# process files
for i in "$@" ; do
file="$i"
argc=$((argc+1))
[ -f "${file}" ] || error no_file
case ${file##*.} in
TTF | ttf | PFB | pfb | PFA | pfa | OTF | otf)
font_type=${file##*.}
;;
*)
error incompatible
;;
esac
ln -s "$PWD/${file}" "${tmp_dir}/`basename "${file}"`" # make a link in tmp dir to file
[ $argc -gt 1 ] && print_sep
printf "Processing \033[36m$file\033[0m...\n"
case ${font_type} in
TTF | ttf | OTF | otf)
script=generate-t42.pe
ext=t42
[ -e /tmp/$script ] || generate_t42 # create if it doesn't exist
convert_install
if [ "${font_type}" = "TTF" -o "${font_type}" = "ttf" ] ; then
[ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/truetype
else
[ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/opentype
fi
;;
PFB | pfb | PFA | pfa)
script=generate-pfa.pe
ext=pfa
[ -e /tmp/$script ] || generate_pfa # create if it doesn't exist
convert_install
[ ${copy_dir} ] || copy_dir=/usr/local/share/fonts/type1
;;
esac
# copy input file to a system or named directory
if [ ! "$dont_copy" ] ; then
if [ ! "$copy_orig" ] ; then
printf \
"Copy \033[36m${file}\033[0m to ${copy_dir}/${family}/?\n (y/n; default = n) "
read copy_file
case "$copy_file" in
Y | y | YES | Yes | yes)
copy_file
;;
* )
printf \
"Install \033[36m${file}\033[0m manually to make it available system-wide.\n"
;;
esac
else
copy_file
fi
fi
unset append_style
unset ext
unset font
unset groff_font
unset is_italic
done
clean_tmp
exit 0
# vim:set autoindent expandtab shiftwidth=2 softtabstop=2:

View file

@ -0,0 +1,28 @@
.\" To observe how the different `LT` letter types affect document
.\" rendering, define the string `lT` to any of `SB`, `FB`, or `SP`,
.\" when formatting it. `BL` is the implied default.
.\"
.\" For example...
.\" $ groff -mm -dlT=SB letter.mm > letter.ps
.do if !d lT .ds lT \" empty
.ND "17 May 2023"
.WA "Epi G. Netic" "Head of Research"
123 Main Street
Anytown, ST 10101
.WE
.IA "Rufus T. Arbogast" "Autovectorization Guru"
456 Elsewhere Avenue
Nirvana, PA 20406
.IE
.LT \*(lT
.P
We have a research leak!
The next person I catch embedding engineering samples of our Lightspeed
Overdrive 2048-core processors in cork coasters distributed at trade
shows is going to regret it.
.FC
.SG
.NS
sundry careless people
.NE
.\" vim: set noexpandtab textwidth=72:

View file

@ -0,0 +1,31 @@
.\" To observe how the different `MT` memorandum types affect document
.\" rendering, define the string `mT` to any integer from 0-5 inclusive
.\" or arbitrarily when formatting it. `1` is the implied default.
.\"
.\" For example...
.\" $ groff -mm -dmT=2 memorandum.mm > memorandum.ps
.\" $ groff -mm -dmT=ATTENTION memorandum.mm > memorandum.ps
.do if !d mT .ds mT \" empty
.if n .SA 1
.AF "Yoyodyne, Inc."
.TL 123 456
A Blowdown Stack Modification to the Turbo Encabulator
.AU "Art Vandelay" axv C D E F G H I
.AT "President" "501(c)6 Convenor"
.AU "H.\& E.\& Pennypacker" hep J K L M N O P
.AT "Chairman" "Wealthy Industrialist"
.TM 78-9-ABC 98-7-DEF
.AS
We're changing the world,
one obsolescently planned gizmo at a time.
.AE
.ND 2024-06-12
.MT \*(mT
Successful leverage of our core competencies to achieve economies of
scale has transformed our entire sector of industry with exciting new
synergies in allocating more money to (already rich) people.
.SG QRS
.NS
A.\& Pratt
B.\& Sharpe
.NE

View file

@ -0,0 +1,213 @@
.\" groff -K utf8 -mm
.nr Pt 1
.SP 1i
.ce 3
.B "The Oval Portrait"
.SP
.I "E.\& A.\& Poe"
.SP
.ce 0
.if t .2C
.P
The château into which my valet had ventured to make forcible entrance,
rather than permit me,
in my desperately wounded condition,
to pass a
night in the open air,
was one of those piles of commingled gloom and grandeur
which have so long frowned among the Appennines,
not less in fact than in the fancy of Mrs.\& Radcliffe.
To all appearance it had been temporarily and very lately abandoned.
We established ourselves
in one of the smallest and least sumptuously furnished apartments.
It lay in a remote turret of the building.
Its decorations were rich,
yet tattered and antique.
Its walls were hung with tapestry
and bedecked with manifold and multiform armorial trophies,
together with an unusually great number
of very spirited modern paintings in frames of rich golden arabesque.
In these paintings,
which depended from the walls not only in their main surfaces,
but in very many nooks
which the bizarre architecture of the château rendered necessary —
in these paintings my incipient delirium,
perhaps,
had caused me to take deep interest;
so that I bade Pedro to close the heavy shutters of the room —
since it was already night —
to light the tongues of a tall candelabrum
which stood by the head of my bed,
and to throw open far and wide the fringed curtains
of black velvet which enveloped the bed itself.
I wished all this done that I might resign myself,
if not to sleep,
at least alternately to the contemplation of these pictures,
and the perusal of a small volume which had been found upon the pillow,
and which purported to criticise and describe them.
.P
Long,
long I read —
and devoutly,
devotedly I gazed.
Rapidly and gloriously the hours flew by and the deep midnight came.
The position of the candelabrum displeased me,
and outreaching my hand with difficulty,
rather than disturb my slumbering valet,
I placed it so as to throw its rays more fully upon the book.
.P
But the action produced an effect altogether unanticipated.
The rays of the numerous candles
(for there were many)
now fell within a niche of the room
which had hitherto been thrown into deep shade by one of the bed-posts.
I thus saw in vivid light a picture all unnoticed before.
It was the portrait of a young girl just ripening into womanhood.
I glanced at the painting hurriedly,
and then closed my eyes.
Why I did this was not at first apparent even to my own perception.
But while my lids remained thus shut,
I ran over in my mind my reason for so shutting them.
It was an impulsive movement to gain time for thought —
to make sure that my vision had not deceived me —
to calm and subdue my fancy for a more sober and more certain gaze.
In a very few moments I again looked fixedly at the painting.
.P
That I now saw aright I could not and would not doubt;
for the first flashing of the candles upon that canvas
had seemed to dissipate the dreamy stupor
which was stealing over my senses,
and to startle me at once into waking life.
.P
The portrait,
I have already said,
was that of a young girl.
It was a mere head and shoulders,
done in what is technically termed a vignette manner;
much in the style of the favorite heads of Sully.
The arms,
the bosom,
and even the ends of the radiant hair
melted imperceptibly into the vague yet deep shadow
which formed the back-ground of the whole.
The frame was oval,
richly gilded and filigreed in Moresque.
As a thing of art
nothing could be more admirable than the painting itself.
But it could have been neither the execution of the work,
nor the immortal beauty of the countenance,
which had so suddenly and so vehemently moved me.
Least of all,
could it have been that my fancy,
shaken from its half slumber,
had mistaken the head for that of a living person.
I saw at once that the peculiarities of the design,
of the vignetting,
and of the frame,
must have instantly dispelled such idea —
must have prevented even its momentary entertainment.
Thinking earnestly upon these points,
I remained,
for an hour perhaps,
half sitting,
half reclining,
with my vision riveted upon the portrait.
At length,
satisfied with the true secret of its effect,
I fell back within the bed.
I had found the spell of the picture
in an absolute life-likeliness of expression,
which,
at first startling,
finally confounded,
subdued,
and appalled me.
With deep and reverent awe
I replaced the candelabrum in its former position.
The cause of my deep agitation being thus shut from view,
I sought eagerly the volume which discussed the paintings
and their histories.
Turning to the number which designated the oval portrait,
I there read the vague and quaint words which follow:
.P
“She was a maiden of rarest beauty,
and not more lovely than full of glee.
And evil was the hour when she saw,
and loved,
and wedded the painter.
He,
passionate,
studious,
austere,
and having already a bride in his Art;
she a maiden of rarest beauty,
and not more lovely than full of glee;
all light and smiles,
and frolicsome as the young fawn;
loving and cherishing all things;
hating only the Art which was her rival;
dreading only the pallet
and brushes
and other untoward instruments
which deprived her of the countenance of her lover.
It was thus a terrible thing
for this lady to hear the painter speak of his desire
to portray even his young bride.
But she was humble and obedient,
and sat meekly for many weeks
in the dark,
high turret-chamber
where the light dripped upon the pale canvas only from overhead.
But he,
the painter,
took glory in his work,
which went on from hour to hour,
and from day to day.
And he was a passionate,
and wild,
and moody man,
who became lost in reveries;
so that he would not see
that the light which fell so ghastly in that lone turret
withered the health and the spirits of his bride,
who pined visibly to all but him.
Yet she smiled on and still on,
uncomplainingly,
because she saw that the painter
(who had high renown)
took a fervid and burning pleasure in his task,
and wrought day and night to depict her who so loved him,
yet who grew daily more dispirited and weak.
And in sooth some who beheld the portrait
spoke of its resemblance in low words,
as of a mighty marvel,
and a proof not less of the power of the painter
than of his deep love for her
whom he depicted so surpassingly well.
But at length,
as the labor drew nearer to its conclusion,
there were admitted none into the turret;
for the painter had grown wild with the ardor of his work,
and turned his eyes from canvas merely,
even to regard the countenance of his wife.
And he would not see that the tints
which he spread upon the canvas
were drawn from the cheeks of her who sate beside him.
And when many weeks had passed,
and but little remained to do,
save one brush upon the mouth and one tint upon the eye,
the spirit of the lady again flickered up
as the flame within the socket of the lamp.
And then the brush was given,
and then the tint was placed;
and,
for one moment,
the painter stood entranced before the work which he had wrought;
but in the next,
while he yet gazed,
he grew tremulous and very pallid,
and aghast,
and crying with a loud voice,
This is indeed Life itself!
turned suddenly to regard his beloved:
— She was dead!”

View file

@ -0,0 +1,126 @@
-*- mode: text; coding: utf-8; -*-
Copyright (C) 2014-2020 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
========================================================================
Les fichiers dans ce répertoire vous permettent de voir mom en pleine
action.
Si vous avez téléchargé et décompressé une version de mom depuis sa
page d'accueil, vous verrez qu'aucun exemple n'est accompagné du
fichier PDF (.pdf) correspondant, comme c'est le cas sur les versions
pré-compilées de groff, ou groff compilé à partir des sources.
Je n'ai pas inclu les PDF parce que je voulais conserver l'archive mom
aussi petite que possible. Pour générer les PDF, traitez les fichiers
avec pdfmom(1).
pdfmom mom-pdf.mom > mom-pdf.pdf
pdfmom sample_docs.mom > sample_docs.pdf
pdfmom -t -p -e slide-demo.mom > slide-demo.pdf
pdfmom -K utf8 letter.mom > letter.pdf
pdfmom -K utf8 mon_premier_doc.mom > mon_premier_doc.pdf
pdfmom -K utf8 typesetting.mom > typesetting.pdf
Les fichiers
------------
Tous les fichiers sont configurés pour le format lettre US, exceptés
mom-pdf.mom et mon_premier_doc.mom, qui utilisent le format A4.
***typesetting.mom***
Le fichier typesetting.mom montre l'utilisation d'éléments de
composition typographique: tabulations, tabulations intégrées dans des
chaînes de caractères, remplissage de lignes, texte sur plusieurs
colonnes et différents styles d'indentation; ainsi que certaines
subtilités et réglages précis disponibles via des macros et des
échappements en ligne ("inline escape", des commandes insérées
directement dans le texte, par opposition aux macros).
Comme ce fichier montre également l'utilisation d'une petite image au
milieu d'un texte et que cette image est la mascotte favorite de tout
le monde -- Tux, le fichier PDF de cette image, penguin.pdf, a été
ajouté dans ce répertoire.
***sample_docs.mom***
Le fichier sample_docs.mom montre en exemple les trois styles de
documents apportés par les macros de formattage de document de mom,
ansi que l'utilisation de COLLATE. Il montre également certaines
fonctionnalités PDF de mom dont l'écriture d'une ébauche de nouvelle
ou des liens cliquables dans une table des matières.
Le dernier exemple démontre, par un texte séparé en deux colonnes, la
souplesse de mom pour la conception de document.
Le PRINTSTYLE de ce fichier est TYPESET et vous donne une idée du
comportement par défaut de mom pour la composition typographique de
document.
Si vous souhaitez voir comment mom traite le même fichier quand
PRINTSTYLE est TYPEWRITE (c'est-à-dire dactylographié, avec espace
double) remplacez .PRINTSTYLE TYPESET par .PRINTSTYLE TYPEWRITE au
début du fichier.
***letter.mom***
Ceci est simplement l'exemple du tutorial de momdocs, prêt à être vu.
***slide-demo.mom***
Le fichier slide-demo.mom montre une présentation de diapositives
avec des effets PAUSE et TRANSITION. Le fichier .pdf généré avec
pdfmom devrait être ouvert en mode Présentation d'un lecteur PDF
(Okular, Evince, Acroread). Notez que pas tous les effets de
transition sont disponibles pour tous les lecteurs PDF.
***mon_premier_doc.mom***
Le fichier mon_premier_doc.mom est un exemple simple en français
montrant l'utilisation d'éléments de formattage courants: titres de
section, paragraphes, listes, table des matières et liens PDF
cliquables. Il doit être généré avec l'option -K utf8 du fait de la
présence de caractères accentués.
Un certain nombre de réglages ont également été changés pour ce
document en français: ATTRIBUTE_STRING est utilisé pour remplacer
"by" par "par" en tête de document (là où le titre et l'auteur sont
affichés). TOC_HEADER_STRING sert à modifier le titre de la table des
matières en "Table des matières" plutôt que "Table of Content". Enfin,
le paramètre de configuration INDENT_FIRST_PARAS est activé afin
d'indenter le premier paragraphe de chaque section -- ceci est l'usage
en typographie française.
***copyright-default.mom/copyright-chapter.mom***
Deux fichiers qui montrent la bonne façon d'insérer une page des
droits d'auteur dans les documents créés avec mom. "Default" est
pour DOCTYPE DEFAULT; "chapter" est pour DOCTYPE CHAPTER.
***mom-pdf.mom***
Le manuel "Producing PDFs with mom and groff".
***mom.vim***
Les règles de coloration syntaxique vim sont baséés sur celles
fournies par Christian V. J. Brüssow (cvjb@cvjb.de). Copiez le fichier
mom.vim dans votre répertoire ~/.vim/syntax directory; ensuite,
autorisez la coloration syntaxique si ce n'est pas encore le cas:
:syntax enable
ou
:syntax on
***elvis_syntax.new***
Ceux qui utilisent elvis, le clone de vi, peuvent directement
copier-coller le contenu de ce fichier dans leur elvis.syn. Tous les
fichiers ayant l'extension .mom auront la coloration syntaxique. Les
règles dans elvis_syntax ne sont pas exhaustive, mais aideront
beaucoup à rendre les fichiers mom plus lisibles.

View file

@ -0,0 +1,119 @@
-*- mode: text; coding: utf-8; -*-
Copyright (C) 2004-2020 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
========================================================================
The files in this directory show mom in action.
If you have downloaded and untarrred a version of mom from her
homepage, you'll see that none of the example files come with
corresponding PDF (.pdf) files, as they do with pre-compiled
versions of groff, or groff built from source.
I haven't included the PDF output because I want to keep the mom
archive as lean as possible. To view the PDF output, process the
files with pdfmom(1).
pdfmom mom-pdf.mom > mom-pdf.pdf
pdfmom sample_docs.mom > sample_docs.pdf
pdfmom -t -p -e slide-demo.mom > slide-demo.pdf
pdfmom -K utf8 letter.mom > letter.pdf
pdfmom -K utf8 mon_premier_doc.mom > mon_premier_doc.pdf
pdfmom -K utf8 typesetting.mom > typesetting.pdf
The files themselves
--------------------
All are set up for US letter papersize except mom-pdf.mom and
mon_premier_doc.mom, which use A4.
***typesetting.mom***
The file, typesetting.mom, demonstrates the use of typesetting tabs,
string tabs, line padding, multi-columns and various indent styles,
as well as some of the refinements and fine-tuning available via
macros and inline escapes.
Because the file also demonstrates a cutaround using a small picture
of everybody's favourite mascot, Tux, the PDF file 'penguin.pdf' has
been included in the directory.
***sample_docs.mom***
The file, sample_docs.mom, shows examples of three of the document
styles available with the mom's document processing macros, as well
as demonstrating the use of COLLATE. It also shows off some of
mom's PDF features, including a PDF outline and clickable links in
the printable Table of Contents.
The last sample, set in 2 columns, demonstrates mom's flexibility
when it comes to designing documents.
The PRINTSTYLE of this file is TYPESET, to give you an idea of mom's
default behaviour when typesetting a document.
If you'd like to see how mom handles exactly the same file when the
PRINTSTYLE is TYPEWRITE (ie typewritten, double-spaced), simply
change .PRINTSTYLE TYPESET to .PRINTSTYLE TYPEWRITE near the top of
the file.
***letter.mom***
This is just the tutorial example from the momdocs, ready for
previewing.
***slide-demo.mom***
The file, slide-demo.mom, demonstrates a slide presentation with
PAUSE and TRANSITION effects. The .pdf created by pdfmom should be
opened in Presentation Mode in a PDF reader (e.g. Okular, Evince,
Acroread). Note that not all transition effects are available in
all PDF readers.
***mon_premier_doc.mom***
The file, mon_premier_doc.mom, is a simple example in French showing
the use of common elements: section headings, paragraphs, lists,
table of contents and clickable links. It should be generated with
the option -K utf8 as there are some accented letters.
A few settings were also changed for this French document:
ATTRIBUTE_STRING is used to replace "by" by "par" in the document
header (where the title and the author are displayed).
TOC_HEADER_STRING is used to modity the Table of Content title to
"Table des matières". And finally, INDENT_FIRST_PARAS is used to
indent the first paragraph of a section -- this is the usual
convention in French typesetting.
***copyright-default.mom/copyright-chapter.mom***
These two files demonstrate the correct way to insert a copyright
page into mom documents. "Default" is for DOCTYPE DEFAULT;
"chapter" is for DOCTYPE CHAPTER.
***mom-pdf.mom***
The manual, Producing PDFs with mom and groff.
***mom.vim***
The vim syntax highlighting rules are based on those provided by
Christian V. J. Brüssow (cvjb@cvjb.de). Copy mom.vim file to your
~/.vim/syntax directory; then, if your vim isn't already set up to
do so, enable mom syntax highlighting with
:syntax enable
or
:syntax on
***elvis_syntax.new***
For those who use the vi clone, elvis, you can paste this file into
your elvis.syn. Provided your mom documents have the extension
.mom, they'll come out with colorized syntax highlighting. The
rules in elvis_syntax aren't exhaustive, but they go a long way to
making mom files more readable.

View file

@ -0,0 +1,162 @@
.\" -*- mode: text; coding: utf-8; -*-
\#
\# Copyright (C) 2019-2020 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
\# notice and this notice are preserved.
\#
.ig
***Template for creating a copyright page, DOCTYPE CHAPTER***
.
Mom documents comprised of chapters using DOCTYPE CHAPTER require
the START macro to begin each chapter, and the COLLATE macro to join
it to the subsequent chapter.
.
A copyright page (also called an edition page), which is not a
chapter, should be treated as a DOCTYPE DEFAULT. The text of
the copyright page is entered after START and joined to the first
chapter (DOCTYPE CHAPTER) with COLLATE.
.
Copyright pages are not identified by a title or heading, however
they require a TITLE in order to be included in PDF viewer outlines
and the Table of Contents. Supplying '.TITLE "Copyright"'
but disabling the DOCHEADER achieves both these requirements.
.
Pagination should also be disabled for the copyright page. Both
docheader and pagination should be re-enabled before the START of
the first chapter.
..
.
.\" Cover setup
.
.\" By default, mom uses the last TITLE macro before START for the
.\" title that appears on the cover. Since the TITLE is "Copyright,"
.\" mom needs to be told explicitly to use a different title.
.
.\" Cover and PDF viewer setup
.
.DOCTITLE "Book Title"
.TITLE DOC_COVER \
"\*[$DOCTITLE]" \" Title for the cover page
.AUTHOR \
"Book Author"
.DOC_COVER \
TITLE AUTHOR
.PDF_TITLE \
"DOCTYPE CHAPTER with copyright page" \" For PDF viewer titlebar
.
.\" Copyright page setup
.
.PRINTSTYLE TYPESET
.DOCTYPE DEFAULT \" Copyright page is not a chapter.
.
.DOCHEADER off 1i \" Turn off docheader for copyright page.
. \" Begin text 1 inch from page top.
.PAGINATION off \" Disable pagination for copyright page.
.
.TITLE "Copyright" \" Required for the PDF viewer outline; does not
. \" get printed because docheader is disabled.
.NO_TOC_ENTRY \" So copyright page is not included in the TOC
.
.START \" Begin copyright page
.PDF_OUTLINE_PN SUSPEND \" So copyright page has no pagenumber in the pdf outline
. \" Outline page numbering resumes after the next START
All rights reserved. No part of this publication may be reproduced,
distributed, or transmitted in any form or by any means, including
photocopying, recording, or other electronic or mechanical methods,
without the prior written permission of the publisher, except
in the case of brief quotations embodied in critical reviews
and certain other noncommercial uses permitted by copyright
law. For permission requests, write to the publisher, addressed
“Attention: Permissions Coordinator,” at the address below.
.SP
.LEFT
Copyright \[co]2019 Copyright Holder
.SP
Additional information...
.TOC_AFTER_HERE \" Place TOC after copyright page.
.
.COLLATE
.
.\" Chapter setup
.
.DOCTYPE CHAPTER \" Begin using DOCTYPE CHAPTER.
.TITLE \
"\*[$DOCTITLE]" \" Needed for page headers.
. \" Only required before first chapter.
.CHAPTER 1
.CHAPTER_TITLE \
"Sample Chapter"
.DOCHEADER \" Re-enable docheader.
.PAGINATE \" Re-enable pagination.
.PAGENUMBER 1
.
.START \" Begin first chapter.
.PP
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at
ante. Mauris eleifend, quam a vulputate dictum, massa quam dapibus
leo, eget vulputate orci purus ut lorem. In fringilla mi in ligula.
Pellentesque aliquam quam vel dolor. Nunc adipiscing. Sed quam odio,
tempus ac, aliquam molestie, varius ac, tellus. Vestibulum ut nulla
aliquam risus rutrum interdum. Pellentesque lorem. Curabitur sit
amet erat quis risus feugiat viverra. Pellentesque augue justo,
sagittis et, lacinia at, venenatis non, arcu. Nunc nec libero. In
cursus dictum risus. Etiam tristique nisl a nulla. Ut a orci.
Curabitur dolor nunc, egestas at, accumsan at, malesuada nec, magna.
.PP
Nulla facilisi. Nunc volutpat. Vestibulum ante ipsum primis in
faucibus orci luctus et ultrices posuere cubilia Curae; Ut sit
amet orci vel mauris blandit vehicula. Nullam quis enim. Integer
dignissim viverra velit. Curabitur in odio. In hac habitasse platea
dictumst. Ut consequat, tellus eu volutpat varius, justo orci
elementum dolor, sed imperdiet nulla tellus ut diam. Vestibulum
ipsum ante, malesuada quis, tempus ac, placerat sit amet, elit.
.PP
Sed eget turpis a pede tempor malesuada. Vivamus quis mi at leo
pulvinar hendrerit. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Pellentesque aliquet
lacus vitae pede. Nullam mollis dolor ac nisi. Phasellus sit amet
urna. Praesent pellentesque sapien sed lacus. Donec lacinia odio
in odio. In sit amet elit. Maecenas gravida interdum urna. Integer
pretium, arcu vitae imperdiet facilisis, elit tellus tempor nisi,
vel feugiat ante velit sit amet mauris. Vivamus arcu. Integer
pharetra magna ac lacus. Aliquam vitae sapien in nibh vehicula
auctor. Suspendisse leo mauris, pulvinar sed, tempor et, consequat
ac, lacus. Proin velit. Nulla semper lobortis mauris. Duis urna
erat, ornare et, imperdiet eu, suscipit sit amet, massa. Nulla nulla
nisi, pellentesque at, egestas quis, fringilla eu, diam.
.PP
Donec semper, sem nec tristique tempus, justo neque commodo nisl,
ut gravida sem tellus suscipit nunc. Aliquam erat volutpat. Ut
tincidunt pretium elit. Aliquam pulvinar. Nulla cursus. Suspendisse
potenti. Etiam condimentum hendrerit felis. Duis iaculis aliquam
enim. Donec dignissim augue vitae orci. Curabitur luctus felis a
metus. Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. In varius neque at enim. Suspendisse massa
nulla, viverra in, bibendum vitae, tempor quis, lorem.
.PP
Donec dapibus orci sit amet elit. Maecenas rutrum ultrices lectus.
Aliquam suscipit, lacus a iaculis adipiscing, eros orci pellentesque
nisl, non pharetra dolor urna nec dolor. Integer cursus dolor vel
magna. Integer ultrices feugiat sem. Proin nec nibh. Duis eu dui
quis nunc sagittis lobortis. Fusce pharetra, enim ut sodales luctus,
lectus arcu rhoncus purus, in fringilla augue elit vel lacus. In
hac habitasse platea dictumst. Aliquam erat volutpat. Fusce iaculis
elit id tellus. Ut accumsan malesuada turpis. Suspendisse potenti.
Vestibulum lacus augue, lobortis mattis, laoreet in, varius at,
nisi. Nunc gravida. Phasellus faucibus. In hac habitasse platea
dictumst. Integer tempor lacus eget lectus. Praesent fringilla augue
fringilla.
.PP
Pellentesque aliquam quam vel dolor. Nunc adipiscing. Sed quam odio,
tempus ac, aliquam molestie, varius ac, tellus. Vestibulum ut nulla
aliquam risus rutrum interdum. Pellentesque lorem. Curabitur sit
amet erat quis risus feugiat viverra. Pellentesque augue justo,
sagittis et, lacinia at, venenatis non, arcu. Nunc nec libero. In
cursus dictum risus. Etiam tristique nisl a nulla. Ut a orci.
.TOC
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: filetype=groff:

View file

@ -0,0 +1,150 @@
.\" -*- mode: text; coding: utf-8; -*-
\#
\# Copyright (C) 2019-2020 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
\# notice and this notice are preserved.
\#
.ig
***Template for creating a copyright page, DOCTYPE DEFAULT***
Mom documents comprised of titled sections using DOCTYPE DEFAULT
(e.g. a collection of articles or a book of short stories by
different authors) require the START macro to begin each new
section, and the COLLATE macro to join it to the subsequent section.
.
A copyright page (also called an edition page) should be treated
as a titled section. The text of the copyright page is entered
after START and joined to the next major section (i.e. the beginning
of a document's content) with COLLATE.
.
Copyright pages are not identified by a title or heading, however
they require a TITLE in order to be included in PDF viewer outlines
and, if desired, the Table of Contents. Supplying '.TITLE "Copyright"'
but disabling the DOCHEADER achieves both these requirements.
.
Pagination should also be disabled for the copyright page. Both
docheader and pagination should be re-enabled before the START of
the first (titled) section of the document.
..
.
.\" Cover and PDF viewer setup
.
.\" By default, mom uses the last TITLE macro before START for the
.\" title that appears on the cover. Since the TITLE is "Copyright,"
.\" mom needs to be told explicitly to use a different title.
.
.TITLE DOC_COVER \
"Document Title"
.EDITOR DOC_COVER \
"Document Editor"
.ATTRIBUTE_STRING DOC_COVER \
"Edited by"
.DOC_COVER \
TITLE EDITOR
.PDF_TITLE \
"DOCTYPE DEFAULT with copyright page" \" For PDF viewer titlebar
.
.\" Copyright page setup
.
.PRINTSTYLE TYPESET
.DOCHEADER off 1i \" Turn off docheader for copyright page.
. \" Begin text 1 inch from page top.
.PAGINATION off \" Disable pagination for copyright page.
.
.TITLE "Copyright" \" Required for PDF viewer outline; does not
. \" get printed because docheader is disabled.
.NO_TOC_ENTRY \" So copyright page is not included in the TOC
.
.START \" Begin copyright page
.PDF_OUTLINE_PN SUSPEND \" So copyright page has no pagenumber in the pdf outline
. \" Outline page numbering resumes after the next START
All rights reserved. No part of this publication may be reproduced,
distributed, or transmitted in any form or by any means, including
photocopying, recording, or other electronic or mechanical methods,
without the prior written permission of the publisher, except
in the case of brief quotations embodied in critical reviews
and certain other noncommercial uses permitted by copyright
law. For permission requests, write to the publisher, addressed
“Attention: Permissions Coordinator,” at the address below.
.SP
.LEFT
Copyright \[co]2019 Copyright Holder
.SP
Additional information...
.TOC_AFTER_HERE \" Place TOC after copyright page.
.
.COLLATE
.
.\" Sample article setup
.
.TITLE \
"Sample article" \" Title of first article
.AUTHOR \
"Article Author"
.DOCHEADER \" Re-enable docheader.
.PAGINATE \" Re-enable pagination.
.PAGENUMBER 1
.
.START
.PP
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed at
ante. Mauris eleifend, quam a vulputate dictum, massa quam dapibus
leo, eget vulputate orci purus ut lorem. In fringilla mi in ligula.
Pellentesque aliquam quam vel dolor. Nunc adipiscing. Sed quam odio,
tempus ac, aliquam molestie, varius ac, tellus. Vestibulum ut nulla
aliquam risus rutrum interdum. Pellentesque lorem. Curabitur sit
amet erat quis risus feugiat viverra. Pellentesque augue justo,
sagittis et, lacinia at, venenatis non, arcu. Nunc nec libero. In
cursus dictum risus. Etiam tristique nisl a nulla. Ut a orci.
Curabitur dolor nunc, egestas at, accumsan at, malesuada nec, magna.
.PP
Nulla facilisi. Nunc volutpat. Vestibulum ante ipsum primis in
faucibus orci luctus et ultrices posuere cubilia Curae; Ut sit
amet orci vel mauris blandit vehicula. Nullam quis enim. Integer
dignissim viverra velit. Curabitur in odio. In hac habitasse platea
dictumst. Ut consequat, tellus eu volutpat varius, justo orci
elementum dolor, sed imperdiet nulla tellus ut diam. Vestibulum
ipsum ante, malesuada quis, tempus ac, placerat sit amet, elit.
.PP
Sed eget turpis a pede tempor malesuada. Vivamus quis mi at leo
pulvinar hendrerit. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Pellentesque aliquet
lacus vitae pede. Nullam mollis dolor ac nisi. Phasellus sit amet
urna. Praesent pellentesque sapien sed lacus. Donec lacinia odio
in odio. In sit amet elit. Maecenas gravida interdum urna. Integer
pretium, arcu vitae imperdiet facilisis, elit tellus tempor nisi,
vel feugiat ante velit sit amet mauris. Vivamus arcu. Integer
pharetra magna ac lacus. Aliquam vitae sapien in nibh vehicula
auctor. Suspendisse leo mauris, pulvinar sed, tempor et, consequat
ac, lacus. Proin velit. Nulla semper lobortis mauris. Duis urna
erat, ornare et, imperdiet eu, suscipit sit amet, massa. Nulla nulla
nisi, pellentesque at, egestas quis, fringilla eu, diam.
.PP
Donec semper, sem nec tristique tempus, justo neque commodo nisl,
ut gravida sem tellus suscipit nunc. Aliquam erat volutpat. Ut
tincidunt pretium elit. Aliquam pulvinar. Nulla cursus. Suspendisse
potenti. Etiam condimentum hendrerit felis. Duis iaculis aliquam
enim. Donec dignissim augue vitae orci. Curabitur luctus felis a
metus. Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. In varius neque at enim. Suspendisse massa
nulla, viverra in, bibendum vitae, tempor quis, lorem.
.PP
Donec dapibus orci sit amet elit. Maecenas rutrum ultrices lectus.
Aliquam suscipit, lacus a iaculis adipiscing, eros orci pellentesque
nisl, non pharetra dolor urna nec dolor. Integer cursus dolor vel
magna. Integer ultrices feugiat sem. Proin nec nibh. Duis eu dui
quis nunc sagittis lobortis. Fusce pharetra, enim ut sodales luctus,
lectus arcu rhoncus purus, in fringilla augue elit vel lacus. In
hac habitasse platea dictumst. Aliquam erat volutpat. Fusce iaculis
elit id tellus. Ut accumsan malesuada turpis. Suspendisse potenti.
Vestibulum lacus augue, lobortis mattis, laoreet in, varius at,
nisi. Nunc gravida. Phasellus faucibus. In hac habitasse platea
dictumst. Integer tempor lacus eget lectus. Praesent fringilla augue
fringilla dui.
.TOC
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: filetype=groff:

View file

@ -0,0 +1,96 @@
" Copyright (C) 2004-2020 Free Software Foundation, Inc.
"
" Copying and distribution of this file, with or without modification,
" are permitted in any medium without royalty provided the copyright
" notice and this notice are preserved.
#Mom
language mom
extension .mom .tmac
startword .
color startword normal
inword _.'
color inword normal
other initialpunct
mostly normal
backslash none
color args like fixed
color braces like char
color brackets like underlined
color chars like emphasized
color decimals like number
color ellipsis normal
color escapes like keyword
color math like cursor
color misc like string
color operators like string
color parens like comment
color reg_string like math
color tmac_escapes like keyword
color single_slash like char
font args DA DE EN ES FR IT NL NO PT SV
font args DEFAULT CHAPTER NAMED LETTER
font args TYPESET TYPEWRITE
font args FINAL DRAFT
font args BLOCK QUAD
font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
font args OFF QUIT END EXIT DONE NO ALL
font args PAGE NUMBER STAR
font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
font args 10x14 A3 A4 A5 B4 B5
font args SINGLESPACE
font args FACTOR
font args DASH BULLET ALPHA DIGIT USER
font args RGB CYM CMYK GRAY GREY
font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
font args BOLDER BOLDERX SLANT SLANTX
font args UP DOWN BCK FWD BU BP FU FP
font args ROM IT BD BDI PREV
font args ST
font args SUSPEND RESUME
prefix { \{ \{\
font braces { \{ \{\
prefix [ ]
font brackets [ ]
prefix \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
font chars \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
prefix \(14 \(12 \(34 \(+-
font chars \(14 \(12 \(34 \(+-
prefix \fR \fB \fI \fP \f0 \f1 \f2 \f3
font chars \fR \fB \fI \fP \f0 \f1 \f2 \f3
prefix .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
font decimals . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
prefix \/ \/. \/? \/! \/, \/; \/:
font escapes \/ \/. \/? \/! \/, \/; \/:
prefix \, \,. \,? \,! \,, \,; \,:
font escapes \, \,. \,? \,! \,, \,; \,:
prefix \~ \0 \: \| \^ \& \% \!
font escapes \~ \0 \: \| \^ \& \% \!
prefix \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
font escapes \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
prefix ...
font ellipsis ...
prefix + - * / = == < > <= >= <? >? %
font math + - * / = == < > <= >= <? >? %
prefix |
font misc |
prefix ! : &
font operators ! : &
prefix ( )
font parens ( )
prefix # * $
font reg_string # * $
prefix \n \* \[
font single_slash \n \* \[
prefix \\n \\* \\$
font tmac_escapes \\n \\* \\$
comment \#
comment \"

View file

@ -0,0 +1,116 @@
" Copyright (C) 2004-2020 Free Software Foundation, Inc.
"
" Copying and distribution of this file, with or without modification,
" are permitted in any medium without royalty provided the copyright
" notice and this notice are preserved.
" Steve Kirkendall has thoughtfully reworked elvis's syntax
" highlighting so that it now supports nroff constructs like \fBword
" and \(emword, with \fB and \(em being highlighted while "word" is
" not.
"
" There are some other enhancements as well, making it possible
" to have any word beginning with punctuation (i.e. groff
" requests) highlighted. I've decided to take advantage of these
" improvements, which apply to elvis-2.2h onwards, and write a new
" simplified set of syntax highlighting rules for mom. Just plug
" this file at the end of /etc/elvis/elvis.syn to use them.
"
" If you're using an older version of elvis, stick with the
" highlighting rules in the files elvis_syntax.
#Mom
language mom
extension .mom .tmac
startword .
color startword normal
inword _.'
color inword normal
other initialpunct
mostly normal
backslash none
color args like fixed
color braces like char
color brackets like underlined
color chars like emphasized
color decimals normal
color ellipsis normal
color escapes like keyword
color math like cursor
color misc like string
color operators like string
color parens like comment
color reg_string like math
color tmac_escapes like keyword
color single_slash like char
font args DA DE EN ES FR IT NL NO PT SV
font args DEFAULT CHAPTER NAMED LETTER
font args TYPESET TYPEWRITE
font args FINAL DRAFT
font args BLOCK QUAD
font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
font args OFF QUIT END EXIT DONE NO ALL
font args PAGE NUMBER STAR LINE
font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
font args 10x14 A3 A4 A5 B4 B5
font args SINGLESPACE
font args FACTOR
font args DASH BULLET ALPHA DIGIT USER ROMAN roman alpha
font args SUSPEND RESUME
font args RGB CYM CMYK GRAY GREY
font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
font args BOLDER BOLDERX SLANT SLANTX
font args UP DOWN BCK FWD BU BP FU FP FN_MARK EN_MARK
font args ROM IT BD BDI PREV
font args ST
font args COVER DOC_COVER
font args COVERTITLE DOCTITLE TITLE CHAPTER CHAPTER_TITLE CHAPTER+TITLE SUBTITLE
font args AUTHOR DOCTYPE COPYRIGHT MISC
font args NULL BLANKPAGE NOBREAK
prefix { \{ \} \{\ }
font braces { \{ \} \{\ }
prefix [ ]
font brackets [ ]
prefix \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
font chars \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
prefix \(14 \(12 \(34 \(+-
font chars \(14 \(12 \(34 \(+-
prefix \fR \fB \fI \fP \f0 \f1 \f2 \f3
font chars \fR \fB \fI \fP \f0 \f1 \f2 \f3
prefix .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
font decimals . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
prefix \/ \/. \/? \/! \/, \/; \/:
font escapes \/ \/. \/? \/! \/, \/; \/:
prefix \, \,. \,? \,! \,, \,; \,:
font escapes \, \,. \,? \,! \,, \,; \,:
prefix \~ \0 \: \| \^ \& \% \!
font escapes \~ \0 \: \| \^ \& \% \!
prefix \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
font escapes \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
prefix ...
font ellipsis ...
prefix + - * / = == < > <= >= <? >? %
font math + - * / = == < > <= >= <? >? %
prefix |
font misc |
prefix ! : &
font operators ! : &
prefix ( )
font parens ( )
prefix # * $
font reg_string # * $
prefix \n \*
font single_slash \n \*
prefix \\n \\* \\$
font tmac_escapes \\n \\* \\$
character \]'
comment \#
comment \"

View file

@ -0,0 +1,52 @@
.\" -*- mode: text; coding: utf-8; -*-
\#
\# Copyright (C) 2004-2024 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
\# notice and this notice are preserved.
\#
.AUTHOR "Yannick P. Guique"
.DOCTYPE LETTER
.PRINTSTYLE TYPESET
.START
.DATE
August 25, 2013
\# Or enter the current date symbolically using date(1).
\#.pso date "+%B %-e, %Y%n" \" Pass pdfmom the -U flag when using .pso
.TO
GUILLAUME BARRIÈRES
Minidoux Corporation
5000 Pannes Drive
Redmond, Virginia
USA
.CC
John Doe
Jane Deere
Joe Blow
.FROM
Y.P. GUIQUE
022 Umask Road
St-Sauveur-en-dehors-de-la-mappe, Québec
CANADA
.GREETING
Dear Mr. Barrières,
.PP
It has come to my attention that you have been lobbying the
US government to prohibit the use of open source software by
endeavouring to outlaw so-called "warranty free" applications.
.PP
I feel it is my duty to inform you that the success of your
operating system with its embedded web browser relies heavily
on open source programs and protocols, most notably TCP/IP.
.PP
Therefore, in the interests of your corporation's fiscal health,
I strongly advise that you withdraw support for any US
legislation that would cripple or render illegal open source
development.
.CLOSING
Sincerely,
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: filetype=groff:

Some files were not shown because too many files have changed in this diff Show more