ep90.style
Copyright Ó 1987, 1991, 1992 by Xerox Corporation. All rights reserved.
Rick Beach, December 7, 1987 4:51:01 pm PST
Last edited by: Subhana Menis - December 8, 1987 11:22:13 am PST
Updated from EP88.style by Eric Bier, May 2, 1990
Bier, May 10, 1990 6:42:25 pm PDT
Michael Plass, February 10, 1992 10:13 am PST
(Cedar) AttachStyle
(FontPrefix) "default font prefix" { IF the device (press) .eq THEN {OldFonts} ELSE {"Xerox/XC1-3-3/" fontPrefix} FI } PrintRule
(FontPrefix) "default font prefix" { OldFonts } ScreenRule
(
device) "xc" StyleParam
controls font selection; known options are:
press, anacapa, xc
(
CodeFont) "code font" {
IF the device (press) .eq THEN {"Tioga" family} ELSE {FontFamily} FI
CodeSize size
} PrintRule
(
CodeFont) "code font" {
"Tioga" family
CodeSize size
} ScreenRule
(
FontFamily) "main font" {
IF the device (press) .eq THEN {"TimesRoman"} ELSE {"CG-CSTimes"} FI family
} PrintRule
(
FontFamily) "main font" {
"TimesRoman" family
} ScreenRule
(
AlternateFontFamily) "other font" {
IF the device (press) .eq THEN {"Helvetica"} ELSE {"CG-CSTriumvirate"} FI family
} PrintRule
(
AlternateFontFamily) "other font" {
"Helvetica" family
} ScreenRule
(
FixedPitchFont) "fixed pitch font" {
IF the device (press) .eq THEN {"Gacha"} ELSE {"Terminal"} FI family
} PrintRule
(
FixedPitchFont) "fixed pitch font" {
"Gacha" family
} ScreenRule
(
LogoFont) "Xerox logo font" {
IF the device (press) .eq THEN {"Logo"} ELSE {"Xerox/XC1-3-3/Logotypes-Xerox"} FI family
} PrintRule
(
LogoFont) "Xerox logo font" {
"Logo" family
} ScreenRule
(
BasicLeading) % normal type leading
{14 pt} .cvx .def
(
ParaIndent) % normal indentation of paragraphs
{1.5 em} .cvx .def
(8ptAtPARC) 8 pt StyleParam
(10ptAtPARC) 10 pt StyleParam
(11ptAtPARC) 11 pt StyleParam
(14ptAtPARC) 14 pt StyleParam
(
abstract) "for abstract on title page" {
% For the abstract, use 9 pts Roman with 10 pts line spacing. The first line appears 28 pts below the affiliations. Justified. Keywords may use this format as well.
block
9 pt size
10 pt leading
28 pt 0 0 topLeadingGlue
28 pt 0 0 bottomLeadingGlue
} StyleRule
(
authors) "for authors on title page" {
% For the author names use 11 pts Roman with 14 pts line spacing, starting 28 pts below the last one point rule. Not justified.
ragged
the 11ptAtPARC size
14 pt leading
28 pt topLeading
the leading bottomLeading
flushLeft lineFormatting
(No) hyphenation
} StyleRule
(
affiliation) "for author's affiliation" {
% For the author's affiliation, use 10 pts italic with 12 pts line spacing, starting 18 pts below the authors. Use LOOK-r (r for "regular face") to over-ride the italic looks on the dagger at the beginning of each affiliation.
ragged
the 10ptAtPARC size
italic face
12 pt leading
18 pt topLeading
the leading bottomLeading
flushLeft lineFormatting
(No) hyphenation
} StyleRule
(
body) "for ordinary paragraphs with indentation" {
block
1.5 em firstIndent
} StyleRule
(
block) "for block paragraphs, no initial indentation" {
% The first paragraph following a head should not be indented. Use this format.
docStandard
the 11ptAtPARC size
14 pt leading
regular face
justified lineFormatting
} StyleRule
(
caption) "for table or figure captions" {
% table and figure captions use 10 pts Roman with 12 pts spacing. They are placed 9 pts below the table or figure. Left aligned with a 12 pt indent. They are separated from the main text by 21 pts.
block
regular face
the 10ptAtPARC size
12 pt leading
9 pt topLeading
21 pt bottomLeading
flushLeft lineFormatting
12 pt firstIndent
} StyleRule
(
code) "short pieces of program text" {
% Short pieces of programs should be written, 10 pt sized, with typewriter-like font.
standard
FixedPitchFont
IF isComment THEN {italic face} ELSE {regular face} FI
IF isComment THEN {6 pt restIndent} ELSE {CodeIndent 3 .mul restIndent} FI
IF nestingLevel 1 .eq THEN {} ELSE {CodeIndent bigger leftIndent} FI
} StyleRule
(
docStandard) "shared by various text formats" {
standard
the 11ptAtPARC topIndent
(English) hyphenation
FontFamily
Nest
} StyleRule
(
figure) "footnote" {
% Figures should be centered with 21 pts space above and 9 pts below (to the caption)
center
21 pt topLeading
9 pt bottomLeading
19 pt keep
} StyleRule
(
footnote) "footnote" {
% For footnotes, use 9 pts Roman, with 10 pt spacing. Allow 21 pts space between the text and the footnote.
block
9 pt size
10 pt leading
21 pt topIndent
21 pt topLeading
0 pt bottomLeading
0 pt bottomIndent
} StyleRule
(
equations) "mathematical equations" {
% Formulae should be placed inline as far as possible. However, larger formulae can be a separate node and use this format, with 21 pts line spacing above and below. IF equations are numbered, the number should be right justified (how to get Tioga to do that, I haven't a clue.)
block
9 pt size
10 pt leading
21 pt topIndent
21 pt topLeading
21 pt bottomLeading
0 pt bottomIndent
} StyleRule
(
head1) "for chapter headings" {
% For the first-level headings, use 14 pt text with 21 pt spacing. Use a 35 pts spacing above and 15 pts spacing below.
docStandard
flushLeft lineFormatting
the 14ptAtPARC size
21 pt leading
35 pt topLeading
15 pt bottomLeading
} StyleRule
(
head2) "for major section headings" {
% For lower level headings, use 11 pts italic with 14 pts spacing. Using 28 pts spacing above and 14 pts spacing below.
docStandard
italic face
flushLeft lineFormatting
the 11ptAtPARC size
14 pt leading
28 pt topLeading
14 pt bottomLeading
} StyleRule
(
head3) "for minor section headings" {
% try to avoid deep nesting
head2
} StyleRule
(
headBelowHead) "for a heading that follows another directly" {
% If a head follows immediatly after another, use 13 pts line spacing above
head
13 pt topLeading
} StyleRule
(
indent) "for indented paragraphs" {
block
1.5 em leftIndent
} StyleRule
(
item) "for lists of items." {
% The official instructions don't mention item nodes. I use the same restIndent as for references. This works fine for bullets but isn't enough for numbers in parens like (1). The instructions do show some items. They are spaced at about 21 pts apart.
indent
14 pt restIndent
the restIndent tabStops
21 pt ExtraLead 0 topLeadingGlue
21 pt ExtraLead 0 bottomLeadingGlue
} StyleRule
(
pageNumber) "applied to the folio number when printing" {
unleaded
} StyleRule
(
quote) "for quotation" {
block
ParaIndent bigger leftIndent
ParaIndent bigger rightIndent
} StyleRule
(
reference) "an item in a reference list" {
% For the reference section use 10 pts Roman with 12 pts spacing. Turnovers indent 14 pt space.
ragged
the 10ptAtPARC size
12 pt leading
14 pt restIndent
1.5 em tabStops
} StyleRule
(
referenceHead) "an item in a reference list" {
% The reference section starts with the word "References" in 14 pt. The references begin 15 pts below the word References.
head
14 pt size
15 pt bottomLeading
} StyleRule
(
root) "page layout information for the printed page" {
% The guidelines ask for a region 360 x 588 pts (including running heads). An 8.5 by 11 page is 612 x 792 pts. Total margins top and bottom are 55.5+78 +70.5 = 204 pts, leaving 792-204 = 588 pts.
FontPrefix
DefaultNest
360 pt lineLength
55.5 pt topMargin
42 pt headerMargin
78 pt footerMargin
70.5 pt bottomMargin
126 pt leftMargin
126 pt rightMargin
0 lastDropFolio
999 firstVisibleFolio
2 firstHeaders
28 pt topIndent
28 pt topLeading
0 pt leftIndent
0 pt rightIndent
2 sided
1 fil bottomIndentStretch
0.5 maxVerticalExpansion
} PrintRule
(
root) "page layout information for the screen" {
FontPrefix
28 pt topIndent
28 pt topLeading
0 leftIndent
10 pt rightIndent
} ScreenRule
(
table) "sets TABs for kludge tables" {
% For tables, use 10 pts Roman with 12 pts line spacing or smaller. Tables and figures should be centered on the measure (hard to do for kludge tables). They should have no box around them. Tables should have captions.
block
(No) hyphenation
flushLeft lineFormatting
flushLeft lastLineFormatting
15 pageBreakPenalty
15 sp tabStops
the 10ptAtPARC size
12 pt leading
} StyleRule
(
title) "for chapter title nodes" {
% For the title, use 14 pts Roman with 21 pts line spacing. The title should start 28 pts below the one point rule. It should not be justified. 14 pts below the title another one point rule is printed.
head
the 14ptAtPARC size
28 pt topLeading
21 pt leading
14 pt bottomLeading
0 firstIndent
0 restIndent
flushLeft lineFormatting
(No) hyphenation
} StyleRule
(
unleaded) "for running head/feet text" {
docStandard
BasicLeading 0 0 topLeadingGlue
BasicLeading 0 0 bottomLeadingGlue
BasicSize topIndent
0 bottomIndent
} PrintRule
(
unleaded) "for running head/feet text" {
docStandard
} ScreenRule
(
runninghead) "for running head/feet text" {
% Use 11 points italic upper and lower case, with 14 points line spacing to the one point rule. Align flush right on left-hand pages, flush-left on right hand pages (this can be done by setting the Mark property to outsideRectoHeader for right hand pages and outsideVersoHeader for left hand pages.)
% This format tries to accomplish two goals at once: making running heads and making a horizontal rule underneath them. To use it, make a node that has one line. This line should have the text of the running head, either preceded or followed by white space, depending on whether it should appear on the right side or left side of the page, respectively. The line will be underlined 14 pts below it. Right-click on the Tioga StyleKind button (or otherwise should Print looks) and add enough white space so the words of the running head have a proper amount of white space.
docStandard
the 11ptAtPARC size
italic face
BasicLeading 0 0 topLeadingGlue
BasicSize topIndent
14 pt leading
14 pt 0 0 bottomLeadingGlue
0 bottomIndent
justified lastLineFormatting
14 pt underlineDescent
all underlining
} StyleRule
(
firstRuleOnFirstPage) "for the horizontal rule above the paper title" {
% Because Tioga doesn't let us set the headerMargin of the first page differently from the other pages, this node needs to have a negative topIndent to get it up into the header margin. The header margin (from the root format) is 42 pt.
docStandard
6 pt leading
6 pt topLeading
BasicSize -42 pt .add topIndent
0 pt bottomLeading
0 em firstIndent
0 em restIndent
justified lastLineFormatting
all underlining
} StyleRule
(
horizontalrule) "for rules (solid lines) used to separate things" {
% Horizontal rules shall be placed 14 pts below the title on the first page and 14 pts under the running heads on all pages but the first. (The 6 pt leading allows double or triple lines to be made by inserting carriage returns in the node. This is not part of the EP '90 style specification, however.)
docStandard
6 pt leading
14 pt topLeading
6 pt topIndent
0 pt bottomLeading
0 em firstIndent
0 em restIndent
justified lastLineFormatting
all underlining
} StyleRule
(topRule) "for running head/feet text" {
% Should follow 14 pts after the running heads. This makes BasicLeading + 11 pt + 14 pts from the top of the header margin
docStandard
15 pt BasicLeading .add 0 0 topLeadingGlue
15 pt BasicLeading .add topIndent
0 em firstIndent
0 em restIndent
0 pt bottomLeading
justified lastLineFormatting
all underlining
} StyleRule
EndStyle