1# $Id$
2#
3# >>Title::	Fancy MIF Tuning
4#
5# >>Copyright::
6# Copyright (c) 1992-1996, Ian Clatworthy (ianc@mincom.com).
7# You may distribute under the terms specified in the LICENSE file.
8#
9# >>History::
10# -----------------------------------------------------------------------
11# Date      Who     Change
12# 15-May-98 ianc    Commented out generated list headings
13# 01-Oct-96 ianc    SDF 2.000
14# -----------------------------------------------------------------------
15#
16# >>Purpose::
17# This template provides the mif objects required for the fancy look.
18#
19# >>Description::
20#
21# >>Limitations::
22#
23
24# Change the base font size
25!default _BASE_SIZE 11.5
26
27# Change the default list indent (1 cm)
28!default OPT_LIST_INDENT 28.3
29
30# Inherit what we can from the simple look
31!use "look/simple/mif.sdn"
32
33################ Override the heading paragraph formats ###################
34
35!targetobject "Para"; "h2_Heading"; "b0_Body"; \
36  AcrobatLevel=4; \
37  BlockSize=3; \
38  BotSeparator="H2 Below"; \
39  FontFamily=Helvetica; \
40  FontSize="18.0 pt"; \
41  FontWeight=Bold; \
42  Leading="2.0 pt"; \
43  Placement="PageTop"; \
44  PlacementStyle=Straddle; \
45  SpAfter="8.0 pt"; \
46  SpBefore="12.0 pt"; \
47  WithNext=Yes
48
49!targetobject "Para"; "h3_Heading"; "h2_Heading"; \
50  AcrobatLevel=7; \
51  BotSeparator="H3 Below"; \
52  FontSize="16.0 pt"; \
53  Placement=Anywhere; \
54  SpAfter="10.0 pt"; \
55  SpBefore="25.0 pt"
56
57!targetobject "Para"; "h4_Heading"; "h3_Heading"; \
58  AcrobatLevel=10; \
59  BotSeparator="H4 Below"; \
60  FontSize="12.0 pt"; \
61  PlacementStyle=Normal; \
62  SpAfter="5.0 pt"; \
63  SpBefore="20.0 pt"
64
65!targetobject "Para"; "h5_Heading"; "h4_Heading"; \
66  AcrobatLevel=13; \
67  BlockSize=2; \
68  BotSeparator=""; \
69  SpAfter="8.0 pt"; \
70  SpBefore="12.0 pt"
71
72# Appendix and plain headings look the same as normal headings for levels 2 ..
73!targetobject "Para"; "a2_Appendix"; "h2_Heading"
74!targetobject "Para"; "a3_Appendix"; "h3_Heading"
75!targetobject "Para"; "a4_Appendix"; "h4_Heading"
76!targetobject "Para"; "a5_Appendix"; "h5_Heading"
77!targetobject "Para"; "p2_PlainHeading"; "h2_Heading"
78!targetobject "Para"; "p3_PlainHeading"; "h3_Heading"
79!targetobject "Para"; "p4_PlainHeading"; "h4_Heading"
80!targetobject "Para"; "p5_PlainHeading"; "h5_Heading"
81
82# NoTOC versions for headings excluding from the contents
83!targetobject "Para"; "h1_HeadingNoTOC"; "h1_Heading"; AcrobatLevel=0
84!targetobject "Para"; "h2_HeadingNoTOC"; "h2_Heading"; AcrobatLevel=0
85!targetobject "Para"; "h3_HeadingNoTOC"; "h3_Heading"; AcrobatLevel=0
86!targetobject "Para"; "h4_HeadingNoTOC"; "h4_Heading"; AcrobatLevel=0
87!targetobject "Para"; "h5_HeadingNoTOC"; "h5_Heading"; AcrobatLevel=0
88!targetobject "Para"; "a1_AppendixNoTOC"; "a1_Appendix"; AcrobatLevel=0
89!targetobject "Para"; "a2_AppendixNoTOC"; "a2_Appendix"; AcrobatLevel=0
90!targetobject "Para"; "a3_AppendixNoTOC"; "a3_Appendix"; AcrobatLevel=0
91!targetobject "Para"; "a4_AppendixNoTOC"; "a4_Appendix"; AcrobatLevel=0
92!targetobject "Para"; "a5_AppendixNoTOC"; "a5_Appendix"; AcrobatLevel=0
93!targetobject "Para"; "p1_PlainHeadingNoTOC"; "p1_PlainHeading"; AcrobatLevel=0
94!targetobject "Para"; "p2_PlainHeadingNoTOC"; "p2_PlainHeading"; AcrobatLevel=0
95!targetobject "Para"; "p3_PlainHeadingNoTOC"; "p3_PlainHeading"; AcrobatLevel=0
96!targetobject "Para"; "p4_PlainHeadingNoTOC"; "p4_PlainHeading"; AcrobatLevel=0
97!targetobject "Para"; "h5_PlainHeadingNoTOC"; "p5_PlainHeading"; AcrobatLevel=0
98
99
100############# Override the generated list paragraph formats ################
101
102#!targetobject "Para"; "h1_HeadingTOC"; "b0_Body"; \
103#  BlockSize=1; \
104#  FIndent='0.5"'; \
105#  FontPairKern=0; \
106#  FontSize="11.5 pt"; \
107#  HyphenMinPrefix=2; \
108#  HyphenMinSuffix=2; \
109#  Hyphenate=Yes; \
110#  LIndent='0.625"'; \
111#  MaxWordSpace=125; \
112#  MinWordSpace=75; \
113#  PlacementStyle=Straddle; \
114#  RIndent='0.246"'; \
115#  SpAfter="0.0 pt"; \
116#  SpBefore="4.0 pt"; \
117#  TabStop="$var{'_TABR'}/Right/. "
118#
119#!targetobject "Para"; "h2_HeadingTOC"; "h1_HeadingTOC"; \
120#  BlockSize=2; \
121#  FIndent='0.75"'; \
122#  LIndent='0.875"'; \
123#  SpBefore="0.0 pt"
124#
125#!targetobject "Para"; "h3_HeadingTOC"; "h2_HeadingTOC"; \
126#  BlockSize=1; \
127#  FIndent='1.0"'; \
128#  LIndent='1.125"'
129#
130#!targetobject "Para"; "h4_HeadingTOC"; "h3_HeadingTOC"; \
131#  BlockSize=2; \
132#  FIndent='0.0"'; \
133#  FontPairKern=Yes; \
134#  LIndent='0.0"'; \
135#  MaxWordSpace=110; \
136#  MinWordSpace=90; \
137#  RIndent='0.0"'; \
138#  SpBefore="2.0 pt"; \
139#  TabStop="1.0in,$var{'_TABR'}/Right/. "
140#
141#!targetobject "Para"; "h5_HeadingTOC"; "h4_HeadingTOC"; \
142#  TabStop="1.25in,$var{'_TABR'}/Right/. "
143#
144#!targetobject "Para"; "a1_AppendixTOC"; "h1_HeadingTOC"
145#!targetobject "Para"; "a2_AppendixTOC"; "h2_HeadingTOC"
146#!targetobject "Para"; "a3_AppendixTOC"; "h3_HeadingTOC"
147#!targetobject "Para"; "a4_AppendixTOC"; "h4_HeadingTOC"
148#!targetobject "Para"; "a5_AppendixTOC"; "h5_HeadingTOC"
149#
150#!targetobject "Para"; "p1_PlainHeadingTOC"; "h1_HeadingTOC"
151#!targetobject "Para"; "p2_PlainHeadingTOC"; "h2_HeadingTOC"
152#!targetobject "Para"; "p3_PlainHeadingTOC"; "h3_HeadingTOC"
153#!targetobject "Para"; "p4_PlainHeadingTOC"; "h4_HeadingTOC"
154#!targetobject "Para"; "p5_PlainHeadingTOC"; "h5_HeadingTOC"
155
156################ Other paragraph formats overrides ###################
157
158!targetobject "Para"; "gh_GlossaryHeading"; "b0_Body"; \
159  FontFamily=Helvetica; \
160  FontWeight=Bold; \
161  PlacementStyle="SideheadTop"; \
162  SpAfter="8.0 pt"; \
163  SpBefore="16.0 pt"; \
164  TabStop='0.5",1.0",1.5",2.0",2.5",3.0"'; \
165  WithNext=Yes
166
167!targetobject "Para"; "gl_Glossary"; "b0_Body"; \
168  FontFamily=Helvetica; \
169  FontSize="10.0 pt"; \
170  Hyphenate=Yes; \
171  LIndent='1.5"'; \
172  SpAfter="2.0 pt"; \
173  SpBefore="0.0 pt"; \
174  TabStop='1.5"'
175
176
177################ Look specific paragraph formats ###################
178
179!targetobject "Para"; "LFI left footer inside"; "b0_Body"; \
180  Alignment=Right; \
181  BlockSize=1; \
182  FontFamily=Helvetica; \
183  FontPairKern=0; \
184  FontSize="7.0 pt"; \
185  HyphenMinPrefix=2; \
186  HyphenMinSuffix=2; \
187  Hyphenate=Yes; \
188  MaxWordSpace=125; \
189  MinWordSpace=75; \
190  SpAfter="0.0 pt"; \
191  SpBefore="0.0 pt"; \
192  TabStop='2.85453"/Center,5.70905"/Right'
193
194!targetobject "Para"; "LFO left footer outside"; "LFI left footer inside"; \
195  Alignment=Left; \
196  FontSize="10.0 pt"; \
197  FontWeight=Bold
198
199!targetobject "Para"; "LH1 left header 1"; "LFO left footer outside"; \
200  FontPairKern=Yes; \
201  FontSize="12.0 pt"; \
202  SpAfter="6.0 pt"
203
204!targetobject "Para"; "LH2 left header 2"; "LH1 left header 1"; \
205  FontSize="11.5 pt"; \
206  FontWeight=Regular; \
207  SpAfter="0.0 pt"
208
209!targetobject "Para"; "RFI right footer inside"; "LH2 left header 2"; \
210  FontPairKern=0; \
211  FontSize="7.0 pt"
212
213!targetobject "Para"; "RFO right footer outside"; "RFI right footer inside"; \
214  Alignment=Right; \
215  FontSize="10.0 pt"; \
216  FontWeight=Bold
217
218!targetobject "Para"; "RH1 right header 1"; "RFO right footer outside"; \
219  FontPairKern=Yes; \
220  FontSize="12.0 pt"; \
221  SpAfter="6.0 pt"
222
223!targetobject "Para"; "RH2 right header 2"; "RH1 right header 1"; \
224  FontSize="11.5 pt"; \
225  FontWeight=Regular; \
226  SpAfter="0.0 pt"
227
228!targetobject "Para"; "ed_EndDocument"; "b0_Body"; \
229  BotSeparator="End Section"; \
230  FIndent='1.0"'; \
231  FontFamily=Helvetica; \
232  FontSize="9.0 pt"; \
233  LIndent='1.0"'; \
234  Leading="4.0 pt"; \
235  SpBefore="0.0 pt"; \
236  WithPrev=Yes
237
238
239################ Reference page frames ###################
240
241!targetobject "Frame"; "End Section";; \
242  Width=481; \
243  Height=23; \
244  Objects=\
245'  <PolyLine \
246   <Pen 3>\
247   <Overprint No>\
248   <NumPoints 2>\
249   <Point  320.1221 pt 11.232 pt>\
250   <Point  3.4351 pt 11.232 pt>\
251  > # end of PolyLine\
252  <Polygon \
253   <Pen 0>\
254   <Overprint No>\
255   <NumPoints 6>\
256   <Point  332.6069 pt 5.3381 pt>\
257   <Point  335.4768 pt 10.309 pt>\
258   <Point  332.6069 pt 15.2805 pt>\
259   <Point  326.867 pt 15.2805 pt>\
260   <Point  323.9971 pt 10.309 pt>\
261   <Point  326.867 pt 5.3381 pt>\
262  > # end of Polygon'
263
264!targetobject "Frame"; "H2 Below";; \
265  Height=14;\
266  Pen=3; \
267  PenWidth=3.0; \
268  LineLength=DOC_FULL_WIDTH
269
270!targetobject "Frame"; "H3 Below";; \
271  Height=8;\
272  Pen=3; \
273  PenWidth=0.25; \
274  LineLength=DOC_FULL_WIDTH
275
276!targetobject "Frame"; "H4 Below";; \
277  Height=8;\
278  PenWidth=0.1; \
279  LineLength=DOC_FULL_WIDTH
280
281!targetobject "Frame"; "Note Above";; \
282  Height=17;\
283  Pen=4; \
284  PenWidth=0.5; \
285  LineY=6; \
286  LineLength=DOC_FULL_WIDTH
287
288!targetobject "Frame"; "Note Below";; \
289  Height=17;\
290  Pen=4; \
291  PenWidth=0.5; \
292  LineY=6; \
293  LineLength=DOC_FULL_WIDTH
294