ACMDAC.Style
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
Copied from CedarACM.style (by Rick Beach) by Bertrand Serlet March 8, 1987 4:27:49 pm PST
Bertrand Serlet March 9, 1987 12:45:42 pm PST
Subhana Menis, March 26, 1987 2:43:45 pm PST
Last Edited by: Bryan Preas March 26, 1987 2:47:21 pm PST
Last edited by: Subhana Menis - March 7, 1988 12:27:45 pm PST
Produce a 25-pica galley for paste-up on the ACM reduction mats.
BeginStyle
(Cedar) AttachStyle
StyleParam declarations (can go away after Cedar bounce)
(firstHeaders) 0 StyleParam
(keep) 0 pt StyleParam
General declarations
(BasicSize) % normal type font size
{11 bp} .cvx .def % was 11 bp
(CodeFont) "code font" { "Tioga" family 11 bp size } StyleRule % was 11 bp
TSetter Page Builder
(PageBuilder) { % without any paging; no headers, page numbers, footers
DO {
.page EXITifFALSE
.fill
.page IF .not THEN {.fill} FI
3 GalleyWidth .hboxto
.fill 1 the headerMargin .vboxto
.exchbox
.fill 1 the footerMargin .vboxto
3 .vbox .shipout
} ENDLOOP
}.cvx .def
Formats
(look.m) "math looks for the display" {
"Math" family
10 bp size
} ScreenRule
(abstract) "for abstract on title page" {
block
} StyleRule
(abstractbody) "for abstract on title page" {
body
BasicIncrement smaller size
BasicIncrement smaller leading
the leading topLeading
the leading bottomLeading
} StyleRule
(authors) "for authors on title page" {
center
6 in lineLength
} StyleRule
(fullPageAuthors) "for authors on title page" {
authors
1000 pt lineLength
1 column
QuadBreak bottomIndent
} StyleRule
(block) "for block paragraphs, no initial indentation" {
docStandard
regular face
the leading MoreLead 0 topLeadingGlue
10 pageBreakPenalty
justified lineFormatting
flushLeft lastLineFormatting
} StyleRule
(caption) "for figure captions" {
block
BasicIncrement smaller size
BasicIncrement smaller leading
the leading topLeading
} StyleRule
(CodeFont) "for figure captions" {
"Tioga" family 10 bp size
11 pt leading
11 pt topLeading
11 pt bottomLeading
} StyleRule
(head1) "for chapter headings" {
center
bold face
LargeSize size
BreakSize ExtraLead 2 .mul .add topLeading
} StyleRule
(head2) "for major section headings" {
docStandard
bold face
} 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
justified lastLineFormatting
all underlining
} StyleRule
(hungOverItem) "for definitions, etc." {
body
0 leftIndent
2 in restIndent
LooseLeading ExtraLead 0 topLeadingGlue
flushLeft lineFormatting
flushLeft lastLineFormatting
} StyleRule
(item) "for lists of items." {
block
ParaIndent leftIndent
BasicSize 1.5 .mul bigger restIndent
the restIndent tabStops
LooseLeading ExtraLead 0 topLeadingGlue
} StyleRule
(reference) "an item in a reference list" {
block
BasicIncrement smaller size
the size BasicIncrement .add topLeading
the size BasicIncrement .add bottomLeading
the size BasicIncrement .add leading
6 sp restIndent
the restIndent tabStops
} StyleRule
(root) "default format for root nodes" {
cedarRoot
} ScreenRule
(root) "default format for root nodes" {
cedarRoot
0 pt topMargin % try to get 11.5 inches in each column
0 pt headerMargin
0 pt footerMargin
0 pt bottomMargin
.5 in leftMargin
.5 in rightMargin
4.125 in lineLength % for ACM reduction mats
0 pt leftIndent
0 pt rightIndent
2 column
0.375 in columnGap
9.625 in pageWidth
11.5 in pageLength
999999 firstHeaders
} PrintRule
(subtitle) "for subtitle nodes" {
title
BasicIncrement smaller size
} StyleRule
(fullPageTable) "for full page table" {
block
1000 pt lineLength
1 column
10 sp tabStops
QuadBreak bottomIndent
} StyleRule
(title) "for title nodes" {
head
bold face
18 bp size
DoubleBreak leading
QuadBreak DoubleBreak .add BasicSize MoreLead topLeadingGlue
QuadBreak BasicSize MoreLead bottomLeadingGlue
6 in lineLength
200 pageBreakAfterLastLinePenalty
0 firstIndent
0 restIndent
centered lineFormatting
centered lastLineFormatting
} ScreenRule
(title) "for title nodes" {
head
bold face
DoubleIncrement bigger size
DoubleBreak leading
QuadBreak DoubleBreak .add BasicSize MoreLead topLeadingGlue
QuadBreak BasicSize MoreLead bottomLeadingGlue
6 in lineLength
200 pageBreakAfterLastLinePenalty
0 firstIndent
0 restIndent
centered lineFormatting
centered lastLineFormatting
144 pt keep
} PrintRule
(fullPageTitle) "for chapter headings" {
title
1000 pt lineLength
1 column
} StyleRule
EndStyle