BlueAndWhiteXC.style
Copyright Ó 1986, 1987, 1991 by Xerox Corporation. All rights reserved.
Contents: mostly the same as BlueAndWhite.style, but uses XC fonts.
Bier, June 22, 1993 1:39 pm PDT
BeginStyle
(Cedar) AttachStyle
Basic StyleParam Declarations
(device) "xc" StyleParam
controls font selection; known options are:
press, anacapa, xc
General declarations
(BasicLeading) % normal type leading
{BasicSize 6 bp .add} .cvx .def
(FontPrefix) "default font prefix" {
"Xerox/TiogaFonts/" fontPrefix
} ScreenRule
(FontPrefix) "default font prefix" {
IF the device (press) .eq
THEN {"Xerox/PressFonts/" fontPrefix}
ELSE {"Xerox/XC1-2-2/" fontPrefix} FI
} PrintRule
(FontFamily) "main font" {
"TimesRoman" family
} ScreenRule
(FontFamily) "main font" {
"Classic" family
} PrintRule
(AlternateFontFamily) "other font" {
"Helvetica" family
} ScreenRule
(AlternateFontFamily) "other font" {
"Modern" family
} PrintRule
StyleParam declarations (can go away after Cedar bounce)
(firstFolio) 0 StyleParam
(firstHeaders) 0 StyleParam
(sided) 1 StyleParam
(bottomIndentStretch) 0 StyleParam
(topIndentStretch) 0 StyleParam
(keep) 0 pt StyleParam
Looks
(look.q) "quaint Xerox logo font" {
"logotypes-xerox" family 24 pt size -8 pt vShift} PrintRule
(look.q) "quaint Xerox logo font" {
"Logo" family 24 pt size -8 pt vShift} ScreenRule
Formats
(pageNumber) "page number appearance" {body} StyleRule
(block) "for block paragraphs, no initial indentation" {
docStandard
regular face
BasicLeading MoreLead 0 topLeadingGlue
10 pageBreakPenalty
justified lineFormatting
flushLeft lastLineFormatting
} StyleRule
(head1) "for chapter headings" {
docStandard
bold face
LargeSize size
LargeSize MoreLead .add leading
TripleBreak BasicSize MoreLead topLeadingGlue
BreakSize bottomLeading
} StyleRule
(head2) "for major section headings" {
docStandard
bold face
BasicSize MoreLead .add leading
DoubleBreak BasicSize MoreLead topLeadingGlue
BreakSize bottomLeading
} StyleRule
(head3) "for minor section headings" {
docStandard
italic face
BasicSize MoreLead .add leading
BreakSize BasicSize MoreLead topLeadingGlue
BreakSize bottomLeading
} StyleRule
(pageBreak) "to force a new page" {
standard
0 pt 1 fill 0 pt topLeadingGlue
1 fill 0 pt 0 pt bottomLeadingGlue
} PrintRule
(pageBreak) "to force a new page" {
standard
} ScreenRule
(standard) "shared by various formats" {
regular face
caps+lowercase alphabets
BasicSize size
BasicLeading leading
BasicLeading MoreLead 0 topLeadingGlue
BasicLeading MoreLead 0 bottomLeadingGlue
20 pageBreakAfterFirstLinePenalty
20 pageBreakBeforeLastLinePenalty
0 pageBreakPenalty
flushLeft lineFormatting
flushLeft lastLineFormatting
0 em firstIndent
0 em restIndent
the size MoreLead .add topIndent
15 sp tabStops
0 pt keep
0 pt keepStretch
1 maxVerticalExpansion
1 fil maxHorizontalExpansion
(No) hyphenation
0 pt backgroundAscent
0 pt backgroundDescent
0 pt outlineBoxThickness
} StyleRule
(blueAndWhiteRoot) "format for root nodes" {
cedarRoot
85 pt leftMargin
85 pt rightMargin
442 pt lineLength
0 leftIndent
0 pt rightIndent
0 firstFolio
1 firstHeaders
0 lastDropFolio
1 column
2 sided
1 maxVerticalExpansion
} StyleRule
(root) "format for root nodes" {blueAndWhiteRoot} PrintRule
(tight) "for items with less leading" {
block
BasicSize ExtraLead .add ExtraLead 0 topLeadingGlue
BasicSize ExtraLead .add ExtraLead 0 bottomLeadingGlue
BasicSize ExtraLead .add leading
} StyleRule
EndStyle