-
Notifications
You must be signed in to change notification settings - Fork 4
/
monops.sty
539 lines (415 loc) · 14.3 KB
/
monops.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
% ======================================================================
%+
% NAME:
% SciBook.tex
%
% PURPOSE:
% Master latex file for the LSST SciBook
%
% COMMENTS:
% - Includes Title page, Preface and Introduction, then \includes
% all technical material provided by science collaborations.
% - Use make to process, calls pdflatex
% - checkbook.csh can be used to check that all inputs are present
%
% INPUTS:
% Many and varied, via the \include command for bibliographic reasons
% grep '\\include' SciBook.tex
%
% OPTIONAL INPUTS:
% final option to make final version
%
% OUTPUTS:
% SciBook.pdf
%
% DEPENDENCIES:
% - Scibook.sty, SciBook.bst
% - komascript package, providing the scrbook.cls
% http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
%
% EXAMPLES:
% make produces draft version of SciBook.pdf
% make final produces final version of SciBook.pdf
%
% BUGS:
% - see trac system for open tickets
%
% AUTHORS:
% Michael Sivertz <[email protected]>
% Phil Marshall <[email protected]>
%-
% ======================================================================
\def\pscurrentversion{June 11, 2003}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% PostScript fonts for
%% Monograph Style
%% Kluwer Academic Publishers
%%
%% Prepared by Amy Hendrickson, TeXnology Inc.
%% (617) 738-8029
%%
%% Use: \documentclass{kapmono}
%% (optional font encoding) \usepackage{t1enc} or \usepackage{OT1enc}
%% \usepackage{monops}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% You may need to rename these fonts to match the
%% names of the .tfm files on your system. If you look at
%% the directory where the .tfm files are stored you should
%% be able to make the appropriate substitution.
%% You only need the names of ten common fonts, so this shouldn't
%% be too difficult
%% If you have problems with accents, you can comment out the \endinput
%% below
%% Change these definitions, if necessary ====>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Times-Roman
%% Dvipsone Names:
\def\timesroman{tir}
\def\timesbold{tib}
\def\timesitalic{tii}
\def\timesbolditalic{tibi}
%% Karl Berry Names:
%\def\timesroman{ptmr8t}
%\def\timesbold{ptmb8t}
%\def\timesitalic{ptmri8t}
%\def\timesbolditalic{ptmbi8t}
%% BlueSky or other TeX Systems, write in appropriate font name:
%\def\timesroman{}
%\def\timesbold{}
%\def\timesitalic{}
%\def\timesbolditalic{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Helvetica
%% Dvipsone Names:
\def\helvetica{hv}
\def\helveticaoblique{hvo}
\def\helveticabold{hvb}
\def\helveticaboldoblique{hvbo}
\def\helveticamedium{hv}
%% Karl Berry Names:
%\def\helvetica{phvr8t}
%\def\helveticaoblique{phvro8t}
%\def\helveticabold{phvb8t}
%\def\helveticaboldoblique{phvbo8t}
%\def\helveticamedium{phvr8t}
%% BlueSky or other TeX Systems, write in appropriate font name:
%\def\helvetica{}
%\def\helveticaoblique{}
%\def\helveticabold{}
%\def\helveticaboldoblique{}
%\def\helveticamedium{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Courier
%% Computer Modern name
\def\courier{cmtt10}
% Dvipsone name:
%\def\courier{com}
% Berry name:
%\def\courier{pcrr8t}
%% BlueSky or other TeX Systems, write in appropriate font name:
%\def\courier{}
%% <==== End of changes needed. Please do not make changes below this point.
%% !!!!!!!!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% default definitions, since these fonts
%% will not be used:
\def\courieroblique{pcrro8r}
\def\courierbold{pcrb8r}
\def\courierboldoblique{pcrbo8r}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% switch used in documentation:
\def\psfonts{true}
\global\let\sfdefault\helvetica
\global\let\rmdefault\timesroman
\global\let\ttdefault\courier
\typeout{^^J^^J
PostScript Fonts for Kluwer Monograph Style^^J
\pscurrentversion^^J^^J
IMPORTANT: If you use font encoding, as
in \string\usepackage{T1enc},^^J please use it BEFORE
\string\usepackage{monops}, ie:^^J
\string\documentclass{kapmono}^^J
\string\usepackage{T1enc}^^J
\string\usepackage{monops}^^J^^J
}
%% Times-Roman
\xdef\timesroman{\timesroman\space}
\xdef\timesbold{\timesbold\space}
\xdef\timesitalic{\timesitalic\space}
\xdef\timesbolditalic{\timesbolditalic\space}
%% Helvetica
\xdef\helvetica{\helvetica\space}
\xdef\helveticaoblique{\helveticaoblique\space}
\xdef\helveticabold{\helveticabold\space}
\xdef\helveticaboldoblique{\helveticaboldoblique\space}
\xdef\helveticamedium{\helveticamedium\space}
%% Courier
\xdef\courier{\courier\space}
\xdef\courieroblique{\courieroblique\space}
\xdef\courierbold{\courierbold\space}
\xdef\courierboldoblique{\courierboldoblique\space}
%% Special Use Fonts ==>>
%% Table of Contents
\font\toctitlefont=\timesbold at 15pt % title of Table of Contents
\font\tocbodyfont=\timesroman at 11pt % text of table of contents
\font\tocauthorfont=\timesitalic at 10pt % used for introduction author
%% Running heads
\font\runningheadfont=\timesitalic at10pt
\font\foliofont=\timesroman at 11pt
%% Book Title, Half title page
\font\halftitlefont=\helveticamedium at 18pt
\font\booktitlefont=\helveticamedium at 18pt
\font\subtitlefont=\helvetica at 12pt
\font\seriestitlefont=\helveticamedium at 12pt
\font\professorfont=\helvetica at 8pt
\font\seriesbookfont=\helveticamedium at 8pt
%% changes from specs made here to compensate for the fact that
%% authors will usually not have helvetica medium
\font\authorfont=\timesroman at 11pt %% specs call for \helvetica
\font\authoraffilfont=\helvetica at 9pt%% specs call for \helveticamedium
\font\kluwerfont=\helveticabold at 9pt %% specs call for \helveticamedium
\font\locationfont=\helvetica at 9pt
\font\copyrightfont=\helveticamedium at 6pt
\font\copyrighttextfont=\helvetica at 6pt
\font\dedicationfont=\timesbolditalic at 10pt
%% Part Title
\font\partfont=\timesroman at 16pt %\helvetica at 24pt
\font\partnumberfont=\timesroman at 12pt %\helvetica at 42pt
\font\partsubtitle=\timesitalic at 16pt %\helveticaboldoblique at 24pt
%% Chapter Title
\font\chapternumberfont=\timesroman at 15pt
\font\chaptertitlefont=\timesbold at 15pt
\font\schaptertitlefont=\timesbold at 15pt
\font\chaptersubtitlefont=\timesitalic at 15pt
%% Section heads
\font\sectionfont=\timesbold at 13pt
\font\subsectionfont=\timesbold at 13pt
\font\subsubsectionfont=\timesbold at 11pt
\font\paragraphfont=\timesbold at 11pt
%% Theorem fonts
\font\theoremfont=cmcsc10 at 11pt
%% Caption
\font\fignumfont=\timesitalic at 9pt
\def\figtextfont{\small} %\timesroman at 9pt
\def\tabtextfont{\small} %\timesroman at 9pt
%% Table fonts
\def\tabletitlefont{\timesroman}
\def\tablefontsize{\small}
\def\tablefootnotesize{\footnotesize}
%% References/Bibliography
\def\bibfontsize{\small}
%% Text fonts
\font\bit=\timesbolditalic at 10pt
%% Fake Small Caps
\font\bigscfont\timesroman at 9.5pt
\font\smscfont\timesroman at 7.5pt
%%% equivalent of bringing in .fd files
%Filename: <encodingdefault><rmdefault>.fd
\DeclareFontFamily{\encodingdefault}{\rmdefault}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{b}{n}{
<-> \timesbold
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{b}{sc}{
<-> cmcsc10
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{b}{sl}{
<-> \timesbolditalic
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{b}{it}{
<-> \timesbolditalic
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{m}{n}{
<-> \timesroman
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{m}{sc}{
<-> cmcsc10
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{m}{sl}{
<-> \timesitalic
}{}
\DeclareFontShape{\encodingdefault}{\rmdefault}{m}{it}{
<-> \timesitalic
}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{bx}{n}{<->ssub * \rmdefault/b/n}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{bx}{sc}{<->ssub * \rmdefault/b/sc}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{bx}{sl}{<->ssub * \rmdefault/b/sl}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{bx}{it}{<->ssub * \rmdefault/b/it}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{l}{n}{<->ssub * \rmdefault/m/n}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{l}{sc}{<->ssub * \rmdefault/m/sc}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{l}{sl}{<->ssub * \rmdefault/m/sl}{}
\DeclareFontShape{\encodingdefault}
{\rmdefault}{l}{it}{<->ssub * \rmdefault/m/it}{}
%%
%\ProvidesFile{<encodingdefault><ttdefault>.fd}
% [1996/02/19 v2.3e Standard LaTeX font definitions]
\DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar \font\m@ne}
\DeclareFontShape{\encodingdefault}{\ttdefault}{b}{n}{
<-> \courierbold
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{b}{sc}{
<-> cmcsc10
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{b}{sl}{
<-> \courierboldoblique
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{b}{it}{
<-> \courierboldoblique
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{n}
{<-> \courier
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{n}
{<-> \courier
}{}
%%%%%% make sure subst shapes are available
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{it}
{<-> \courieroblique
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{sl}
{<-> \courieroblique
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{sc}
{<-> \courier
}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{m}{ui}
{<->sub * cmtt/m/it}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{n}
{<->sub * cmtt/m/n}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{it}
{<->sub * cmtt/m/it}{}
\DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{ui}
{<->sub * cmtt/m/it}{}
%%
%% End of file `<encodingdefault><ttdefault>.fd'.
%Filename: <encodingdefault><sfdefault>.fd
\DeclareFontFamily{\encodingdefault}{\sfdefault}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{b}{n}{
<-> \helveticabold
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{b}{sc}{
<-> cmcsc10
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{b}{sl}{
<-> \helveticaboldoblique
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{b}{it}{
<-> \helveticaboldoblique
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{m}{n}{
<-> \helvetica
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{m}{sc}{
<-> cmcsc10
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{m}{sl}{
<-> \helveticaoblique
}{}
\DeclareFontShape{\encodingdefault}{\sfdefault}{m}{it}{
<-> \helveticaoblique
}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{bx}{n}{<->ssub * \sfdefault/b/n}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{bx}{sc}{<->ssub * \sfdefault/b/sc}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{bx}{sl}{<->ssub * \sfdefault/b/sl}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{bx}{it}{<->ssub * \sfdefault/b/it}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{l}{n}{<->ssub * \sfdefault/m/n}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{l}{sc}{<->ssub * \sfdefault/m/sc}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{l}{sl}{<->ssub * \sfdefault/m/sl}{}
\DeclareFontShape{\encodingdefault}
{\sfdefault}{l}{it}{<->ssub * \sfdefault/m/it}{}
\rm
%% ACCENT FIXES
\expandafter\font\csname cm10.95pt\endcsname =cmr10 at 10.95pt
\def\currfontsizecm{%
\expandafter\ifx\csname cm\f@size pt\endcsname\relax
\expandafter\font\csname cm\f@size pt\endcsname =cmr10 at \f@size pt\fi%
\expandafter\csname cm\f@size pt\endcsname}
\let\saveaccten\H
\def\H#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccten{\savefont#1}\savefont}
\let\saveaccseven\.
\def\.#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccseven{\savefont#1}\savefont}
\let\saveAA\AA
\def\AA{{\currfontsizecm\saveAA}}
\let\saveslashl\l
\def\l{{\currfontsizecm\saveslashl}}
\let\saveslashL\L
\def\L{{\currfontsizecm\saveslashL}}
\let\saveslashss\ss
\def\ss{{\currfontsizecm\saveslashss}}
\let\savepounds\pounds
\def\pounds{{\currfontsizecm$\mathrm\savepounds$}}
%%% If you have problems with other accents, please delete \endinput, below
%\endinput
%%% Font hacks to make accents use Computer Modern even tho
%%% the rest of the text is using Times or other Adobe fonts.
%%% Amy Hendrickson, TeXnology Inc.
\let\saveaccone\`
\def\`#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccone{\savefont #1}\savefont}
\let\saveacctwo\'
\def\'#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveacctwo{\savefont#1}\savefont}
\let\saveaccthree\^
\def\^#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccthree{\savefont#1}\savefont}
\let\saveaccfour\"
\def\"#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccfour{\savefont#1}\savefont}
\let\saveaccfive\~
\def\~#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccfive{\savefont#1}\savefont}
\let\saveaccsix\=
\def\=#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccsix{\savefont#1}\savefont}
\let\saveacceight\u
\def\u#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveacceight{\savefont#1}\savefont}
\let\saveaccnine\v
\def\v#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccnine{\savefont#1}\savefont}
\let\saveaccelv\t
\def\t#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccelv{\savefont#1}\savefont}
\let\saveacctwlv\c
\def\c#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveacctwlv{\savefont#1}\savefont}
\let\saveaccthir\d
\def\d#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccthir{\savefont#1}\savefont}
\let\saveaccfourt\b
\def\b#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccfourt{\savefont#1}\savefont}
\let\saveaccfift\r
\def\r#1{\xdef\savefont{\the\font}%
\currfontsizecm\saveaccfift{\savefont#1}\savefont}
\let\saveoe\oe
\def\oe{{\currfontsizecm\saveoe}}
\let\saveOE\OE
\def\OE{{\currfontsizecm\saveOE}}
\let\saveae\ae
\def\ae{{\currfontsizecm\saveae}}
\let\saveAE\AE
\def\AE{{\currfontsizecm\saveAE}}
\let\saveaa\aa
\def\aa{{\currfontsizecm\saveaa}}
\let\saveslasho\o
\def\o{{\currfontsizecm\saveslasho}}
\let\saveslashO\O
\def\O{{\currfontsizecm\saveslashO}}