DocGraphics.Style
Copyright © 1986 by Xerox Corporation. All rights reserved.
Rick Beach, May 28, 1987 8:17:26 am PDT
Subhana Menis, May 14, 1987 12:25:32 pm PDT
BeginStyle
(BlueAndWhite) AttachStyle
(CodeFont) "code font" { "Lucida" family 10 bp size } StyleRule
(FontFamily) "main font" { "Lucida" family } StyleRule
(BodyFontFamily) "screen font" { "Lucida" family } ScreenRule
(BodyFontFamily) "print font" { "Lucida" family } PrintRule
(AlternateFontFamily) "other font" { "LucidaSans" family } StyleRule
(FixedPitchFont) "fixed pitch font" { "LucidaMono" family } StyleRule
(GreekFont) "Greek font" { "Hippo" family } StyleRule
(LogoFont) "Xerox logo font" { "Logo" family } StyleRule
(FontPrefix) "default font prefix" { XCPrintFonts } StyleRule
(BasicSize) % normal type font size
{11 bp} .cvx .def
(BasicLeading) % normal type leading
{16 bp} .cvx .def
General declarations
Looks
Formats
(block) "for block paragraphs, no initial indentation" {
docStandard
regular face
BasicLeading MoreLead 0 topLeadingGlue
(English) hyphenation
justified lineFormatting
flushLeft lastLineFormatting
0 keep
1 fil keepStretch
1 fil bottomIndentStretch
} StyleRule
(caption) "for figure captions" {
block
justified lineFormatting
bold face
the leading topLeading
6 pt bottomLeading
} StyleRule
(center1) "for centered paragraphs" {
center
BreakSize ExtraLead .add topLeading
} StyleRule
(contents) "for centered paragraphs" {
head
nestingLevel 1 .eq .not {ParaIndent bigger leftIndent} .cvx .if
BasicLeading leading
BreakSize BasicSize MoreLead topLeadingGlue
BreakSize BasicSize MoreLead bottomLeadingGlue
} StyleRule
(example) "for displayed examples" {
ragged
(No) hyphenation
6 pt smaller leading
MoreLead bigger topLeading
MoreLead bigger bottomLeading
ParaIndent bigger leftIndent
2 em tabStops
} StyleRule
(head1) "for chapter headings" {
docStandard
bold face
LargeSize size
LargeSize MoreLead .add leading
TripleBreak BasicSize MoreLead topLeadingGlue
BreakSize bottomLeading
75 pageBreakAfterLastLinePenalty
BasicLeading 4 .mul pt keep
} StyleRule
(head2) "for major section headings" {
docStandard
bold face
BasicSize MoreLead .add leading
DoubleBreak BasicSize MoreLead topLeadingGlue
BreakSize bottomLeading
50 pageBreakAfterLastLinePenalty
BasicLeading 2 .mul keep
} StyleRule
(horizontalrule) "for rules (solid lines) used to separate things" {
docStandard
6 pt leading
6 pt topLeading
6 pt bottomLeading
0 em firstIndent
0 em restIndent
} StyleRule
(indent) "for indented paragraphs" {
block
BasicSize 2 .mul bigger leftIndent
} StyleRule
(item) "for lists of items." {
indent
BasicSize 2 .mul bigger restIndent
the restIndent tabStops
LooseLeading ExtraLead 0 topLeadingGlue
} StyleRule
(note) "for fine points" {
block
BasicIncrement smaller size
BasicIncrement smaller topLeading
BasicIncrement smaller leading
} StyleRule
(pageNumber) "applied to the folio number when printing" {
unleaded
} StyleRule
(reference) "an item in a reference list" {
block
(No) hyphenation
3 em restIndent
3 maxHorizontalExpansion
the restIndent tabStops
LooseLeading ExtraLead 0 topLeadingGlue
} StyleRule
(right) "for flush right" {
ragged
flushRight lineFormatting
flushRight lastLineFormatting
} StyleRule
(root) "default format for root nodes" {
cedarRoot
} ScreenRule
(root) "default format for root nodes" {
cedarRoot
85 pt leftMargin
85 pt rightMargin
442 pt lineLength
0 leftIndent
0 pt rightIndent
2 sided
1 firstFolio
1 firstVisibleFolio
0 lastDropFolio
} PrintRule
EndStyle