-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslide_style_new.sty
executable file
·613 lines (510 loc) · 22.2 KB
/
slide_style_new.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
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
%
% FANCY HEADINGS.STY
%
% fancyheadings.sty version 1.98
% Fancy headers and footers.
% Piet van Oostrum, Dept of Computer Science, University of Utrecht
% Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
% Telephone: +31 30 2531806. Email: [email protected]
% Sep 16, 1994
% version 1.4: Correction for use with \reversemargin
% Sep 29, 1994:
% version 1.5: Added the \iftopfloat, \ifbotfloat and \iffloatpage commands
% Oct 4, 1994:
% version 1.6: Reset single spacing in headers/footers for use with
% setspace.sty or doublespace.sty
% Oct 4, 1994:
% version 1.7: changed \let\@mkboth\markboth to
% \def\@mkboth{\protect\markboth} to make it more robust
% Dec 5, 1994:
% version 1.8: corrections for amsbook/amsart: define \@chapapp and (more
% importantly) use the \chapter/sectionmark definitions from ps@headings if
% they exist (which should be true for all standard classes).
% May 31, 1995:
% version 1.9: The proposed \renewcommand{\headrulewidth}{\iffloatpage...
% construction in the doc did not work properly with the fancyplain style.
% June 1, 1995:
% version 1.91: The definition of \@mkboth wasn't restored on subsequent
% \pagestyle{fancy}'s.
% June 1, 1995:
% version 1.92: The sequence \pagestyle{fancyplain} \pagestyle{plain}
% \pagestyle{fancy} would erroneously select the plain version.
% June 1, 1995:
% version 1.93: \fancypagestyle command added.
% Dec 11, 1995:
% version 1.94: suggested by Conrad Hughes <[email protected]>
% CJCH, Dec 11, 1995: added \footruleskip to allow control over footrule
% position (old hardcoded value of .3\normalbaselineskip is far too high
% when used with very small footer fonts).
% Jan 31, 1996:
% version 1.95: call \@normalsize in the reset code if that is defined,
% otherwise \normalsize.
% this is to solve a problem with ucthesis.cls, as this doesn't
% define \@currsize. Unfortunately for latex209 calling \normalsize doesn't
% work as this is optimized to do very little, so there \@normalsize should
% be called. Hopefully this code works for all versions of LaTeX known to
% mankind.
% April 25, 1996:
% version 1.96: initialize \headwidth to a magic (negative) value to catch
% most common cases that people change it before calling \pagestyle{fancy}.
% Note it can't be initialized when reading in this file, because
% \textwidth could be changed afterwards. This is quite probable.
% We also switch to \MakeUppercase rather than \uppercase and introduce a
% \nouppercase command for use in headers. and footers.
% May 3, 1996:
% version 1.97: Two changes:
% 1. Undo the change in version 1.8 (using the pagestyle{headings} defaults
% for the chapter and section marks. The current version of amsbook and
% amsart classes don't seem to need them anymore. Moreover the standard
% latex classes don't use \markboth if twoside isn't selected, and this is
% confusing as \leftmark doesn't work as expected.
% 2. include a call to \ps@empty in ps@@fancy. This is to solve a problem
% in the amsbook and amsart classes, that make global changes to \topskip,
% which are reset in \ps@empty. Hopefully this doesn't break other things.
% May 7, 1996:
% version 1.98:
% Added % after the line \def\nouppercase
% BY THE WAY, THIS IS THE LAST RELEASE OF VERSION 1.
\let\fancy@def\gdef
\def\lhead{\@ifnextchar[{\@xlhead}{\@ylhead}}
\def\@xlhead[#1]#2{\fancy@def\@elhead{#1}\fancy@def\@olhead{#2}}
\def\@ylhead#1{\fancy@def\@elhead{#1}\fancy@def\@olhead{#1}}
\def\chead{\@ifnextchar[{\@xchead}{\@ychead}}
\def\@xchead[#1]#2{\fancy@def\@echead{#1}\fancy@def\@ochead{#2}}
\def\@ychead#1{\fancy@def\@echead{#1}\fancy@def\@ochead{#1}}
\def\rhead{\@ifnextchar[{\@xrhead}{\@yrhead}}
\def\@xrhead[#1]#2{\fancy@def\@erhead{#1}\fancy@def\@orhead{#2}}
\def\@yrhead#1{\fancy@def\@erhead{#1}\fancy@def\@orhead{#1}}
\def\lfoot{\@ifnextchar[{\@xlfoot}{\@ylfoot}}
\def\@xlfoot[#1]#2{\fancy@def\@elfoot{#1}\fancy@def\@olfoot{#2}}
\def\@ylfoot#1{\fancy@def\@elfoot{#1}\fancy@def\@olfoot{#1}}
\def\cfoot{\@ifnextchar[{\@xcfoot}{\@ycfoot}}
\def\@xcfoot[#1]#2{\fancy@def\@ecfoot{#1}\fancy@def\@ocfoot{#2}}
\def\@ycfoot#1{\fancy@def\@ecfoot{#1}\fancy@def\@ocfoot{#1}}
\def\rfoot{\@ifnextchar[{\@xrfoot}{\@yrfoot}}
\def\@xrfoot[#1]#2{\fancy@def\@erfoot{#1}\fancy@def\@orfoot{#2}}
\def\@yrfoot#1{\fancy@def\@erfoot{#1}\fancy@def\@orfoot{#1}}
\newdimen\headrulewidth
\newdimen\footrulewidth
\newdimen\plainheadrulewidth
\newdimen\plainfootrulewidth
\newdimen\headwidth
\newdimen\footruleskip
\newif\if@fancyplain \@fancyplainfalse
\def\fancyplain#1#2{\if@fancyplain#1\else#2\fi}
\headwidth=-123456789sp %magic constant
% Command to reset various things in the headers:
% a.o. single spacing (taken from setspace.sty)
% and the catcode of ^^M (so that epsf files in the header work if a
% verbatim crosses a page boundary)
% It also defines a \nouppercase command that disables \uppercase and
% \Makeuppercase. It can only be used in the headers and footers.
\def\fancy@reset{\restorecr
\def\baselinestretch{1}%
\def\nouppercase##1{{\let\uppercase\relax\let\MakeUppercase\relax##1}}%
\ifx\undefined\@newbaseline% NFSS not present; 2.09 or 2e
\ifx\@normalsize\undefined \normalsize % for ucthesis.cls
\else \@normalsize \fi
\else% NFSS (2.09) present
\@newbaseline%
\fi}
% Initialization of the head and foot text.
\headrulewidth 0.4pt
\footrulewidth\z@
\plainheadrulewidth\z@
\plainfootrulewidth\z@
\footruleskip .3\normalbaselineskip
\lhead[\fancyplain{}{\sl\rightmark}]{\fancyplain{}{\sl\leftmark}}
% i.e. empty on ``plain'' pages, \rightmark on even, \leftmark on odd pages
\chead{}
\rhead[\fancyplain{}{\sl\leftmark}]{\fancyplain{}{\sl\rightmark}}
% i.e. empty on ``plain'' pages, \leftmark on even, \rightmark on odd pages
\lfoot{}
\cfoot{\rm\thepage} % page number
\rfoot{}
% Put together a header or footer given the left, center and
% right text, fillers at left and right and a rule.
% The \lap commands put the text into an hbox of zero size,
% so overlapping text does not generate an errormessage.
\def\@fancyhead#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\hbox
{\rlap{\parbox[b]{\headwidth}{\raggedright#2\strut}}\hfill
\parbox[b]{\headwidth}{\centering#3\strut}\hfill
\llap{\parbox[b]{\headwidth}{\raggedleft#4\strut}}}\headrule}}#5}
\def\@fancyfoot#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\footrule
\hbox{\rlap{\parbox[t]{\headwidth}{\raggedright#2\strut}}\hfill
\parbox[t]{\headwidth}{\centering#3\strut}\hfill
\llap{\parbox[t]{\headwidth}{\raggedleft#4\strut}}}}}#5}
\def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi
\hrule\@height\headrulewidth\@width\headwidth \vskip-\headrulewidth}}
\def\footrule{{\if@fancyplain\let\footrulewidth\plainfootrulewidth\fi
\vskip-\footruleskip\vskip-\footrulewidth
\hrule\@width\headwidth\@height\footrulewidth\vskip\footruleskip}}
\def\ps@fancy{%
\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}%for amsbook
% Define \MakeUppercase for old LaTeXen.
% Note: we used \def rather than \let, so that \let\uppercase\relax (from
% the original documentation) will still work.
\@ifundefined{MakeUppercase}{\def\MakeUppercase{\uppercase}}{}
\@ifundefined{chapter}{\def\sectionmark##1{\markboth
{\MakeUppercase{\ifnum \c@secnumdepth>\z@
\thesection\hskip 1em\relax \fi ##1}}{}}%
\def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
\thesubsection\hskip 1em\relax \fi ##1}}}%
{\def\chaptermark##1{\markboth {\MakeUppercase{\ifnum \c@secnumdepth>\m@ne
\@chapapp\ \thechapter. \ \fi ##1}}{}}
\def\sectionmark##1{\markright{\MakeUppercase{\ifnum \c@secnumdepth >\z@
\thesection. \ \fi ##1}}}}%
%\csname ps@headings\endcsname % use \ps@headings defaults if they exist
\ps@@fancy
\gdef\ps@fancy{\@fancyplainfalse\ps@@fancy}%
% Initialize \headwidth if the user didn't
\ifdim\headwidth<0sp
% This catches the case that \headwidth hasn't been initialized and the
% case that the user added something to \headwidth in the expectation that
% it was initialized to \textwidth. We compensate this now. This loses if
% the user intended to multiply it by a factor. But that case is more
% likely done by saying something like \headwidth=1.2\textwidth The doc
% says you have to change \headwidth after the first call to,
% \pagestyle{fancy}. This code is just to catch the most common cases were
% that requirement is violated.
\advance\headwidth123456789sp\advance\headwidth\textwidth\fi}
\def\ps@fancyplain{\ps@fancy \let\ps@plain\ps@plain@fancy}
\def\ps@plain@fancy{\@fancyplaintrue\ps@@fancy}
\def\ps@@fancy{%
\ps@empty % This is for amsbook/amsart, which do strange things with \topskip
\def\@mkboth{\protect\markboth}%
\def\@oddhead{\@fancyhead\@lodd\@olhead\@ochead\@orhead\@rodd}%
\def\@oddfoot{\@fancyfoot\@lodd\@olfoot\@ocfoot\@orfoot\@rodd}%
\def\@evenhead{\@fancyhead\@rodd\@elhead\@echead\@erhead\@lodd}%
\def\@evenfoot{\@fancyfoot\@rodd\@elfoot\@ecfoot\@erfoot\@lodd}%
}
\def\@lodd{\if@reversemargin\hss\else\relax\fi}
\def\@rodd{\if@reversemargin\relax\else\hss\fi}
\let\latex@makecol\@makecol
\def\@makecol{\let\topfloat\@toplist\let\botfloat\@botlist\latex@makecol}
\def\iftopfloat#1#2{\ifx\topfloat\empty #2\else #1\fi}
\def\ifbotfloat#1#2{\ifx\botfloat\empty #2\else #1\fi}
\def\iffloatpage#1#2{\if@fcolmade #1\else #2\fi}
\newcommand{\fancypagestyle}[2]{%
\@namedef{ps@#1}{\let\fancy@def\def#2\relax\ps@fancy}}
%
% ROYER's mystile.sty
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PAGE SIZE HACKS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\jimspagedims{%
\oddsidemargin 50pt
\evensidemargin 50pt
\topmargin -0.3cm
\textwidth 13cm
\textheight 21cm
}
\def\jimsafour{%
\topmargin -1cm
\textwidth 13cm
\oddsidemargin 40pt
\evensidemargin 40pt
\textheight 21cm
\setlength\paperwidth {210mm}
\setlength\paperheight {297mm}
\special{papersize=210mm,297mm}
}
%
% landscape page settings for two columns
%
\newcommand{\landscapedims}{%
\addtolength{\headheight}{37pt}
\topmargin -2cm
\textwidth 25cm
\footskip 1.5cm
\textheight 16cm
\oddsidemargin -1cm
\evensidemargin -1cm
\columnseprule 0.4pt
\special{papersize=11in,8.5in}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% RE-TUNING SECTION FORMATTING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewcommand{\section}{\@startsection {section}{1}{\z@}%
% {-3.5ex \@plus -1ex \@minus -.2ex}%
% {2.3ex \@plus.2ex}%
% {\reset@font\large\bfseries}}
%\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
% {-3.25ex\@plus -1ex \@minus -.2ex}%
% {1.5ex \@plus .2ex}%
% {\reset@font\normalsize\bfseries}}
%%
%% subsubsection, paragraph, and subparagraph are
%% as in the deflaut
%%
%%
%% Add a period after the section number
%%
\renewcommand{\@seccntformat}[1]{%
{\csname the#1\endcsname}.\hspace{0.5em}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% RE-TUNING THEOREM-LIKE ENVIRONMENTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newcommand{\thmtitle}[1]{\textsc{#1}}
%
%\def\@begintheorem#1#2{\trivlist\sl %
% \item[]{\sc #1\ #2.}\sl \hskip \labelsep}
%\def\@opargbegintheorem#1#2#3{\trivlist\sl
% \item[]{\sc #1\ #2\ (#3).}\sl \hskip \labelsep}
%\def\@thmcountersep{.}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Stuart's defs.sty
%
% Construct a "newdefinition" command analogous to the newtheorem
% command. The primary difference is that the newdefinition widget
% does not cause it's body to be italicized and a $\Diamond$ is tacked
% onto the end of the definition text.
%
% This is all cribbed from latex.tex.
% Contact Stuart A. Kurtz if there are any difficulties ---
% I'm sure he will be delighted.
%\def\newdefinition#1{\@ifnextchar[{\@odefn{#1}}{\@ndefn{#1}}}
%\def\@ndefn#1#2{%
%\@ifnextchar[{\@xndefn{#1}{#2}}{\@yndefn{#1}{#2}}}
%\def\@xndefn#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname
%{\@definecounter{#1}\@addtoreset{#1}{#3}%
%\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
% \csname the#3\endcsname \@thmcountersep \@thmcounter{#1}}%
%\global\@namedef{#1}{\@defn{#1}{#2}}\global\@namedef{end#1}{\@enddefinition}}}
%\def\@yndefn#1#2{\expandafter\@ifdefinable\csname #1\endcsname
%{\@definecounter{#1}%
%\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
%\global\@namedef{#1}{\@defn{#1}{#2}}\global\@namedef{end#1}{\@enddefinition}}}
%\def\@odefn#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname
% {\global\@namedef{the#1}{\@nameuse{the#2}}%
%\global\@namedef{#1}{\@defn{#2}{#3}}%
%\global\@namedef{end#1}{\@enddefinition}}}
%\def\@defn#1#2{\refstepcounter
% {#1}\@ifnextchar[{\@ydefn{#1}{#2}}{\@xdefn{#1}{#2}}}
%\def\@xdefn#1#2{\@begindefinition{#2}{\csname the#1\endcsname}\ignorespaces}
%\def\@ydefn#1#2[#3]{\@opargbegindefinition{#2}{\csname
% the#1\endcsname}{#3}\ignorespaces}
%
%\newcommand{\defend}{{\hbox{}\unskip\nobreak\hfil\penalty50
% \hskip1em\hbox{}\nobreak\hfil$\Diamond$
% \parfillskip=0pt \finalhyphendemerits=0 \par}}
%
%\def\@begindefinition#1#2{ \trivlist \item[\hskip
%\labelsep{\thmtitle{#1\ #2.}}]}
%\def\@opargbegindefinition#1#2#3{\trivlist
% \item[\hskip \labelsep{\thmtitle{#1\ #2\ (#3).}}]}
%\def\@enddefinition{\defend\endtrivlist}
%
%\def\@@dotheorem#1{\trivlist\item[\hskip\labelsep{\thmtitle{#1.}}] \sl}
%\newenvironment{oldtheorem}[1]{\@@dotheorem{#1}}{\endtrivlist}
%\def\@@Dotheorem#1#2{\trivlist\item[\hskip\labelsep{\thmtitle{#1 (#2).}}] \sl}
%\newenvironment{Oldtheorem}[2]{\@@Dotheorem{#1}{#2}}{\endtrivlist}
%%
%% Construct a "newscholium" command analogous to the newtheorem
%% command.
%%
%% This is all cribbed from latex.tex.
%% Contact Stuart A. Kurtz if there are any difficulties.
%\def\newscholium#1{\@ifnextchar[{\@oschm{#1}}{\@nschm{#1}}}
%\def\@nschm#1#2{%
%\@ifnextchar[{\@xnschm{#1}{#2}}{\@ynschm{#1}{#2}}}
%\def\@xnschm#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname
%{\@definecounter{#1}\@addtoreset{#1}{#3}%
%\expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
% \csname the#3\endcsname \@thmcountersep \@thmcounter{#1}}%
%\global\@namedef{#1}{\@schm{#1}{#2}}\global\@namedef{end#1}{\@endscholium}}}
%\def\@ynschm#1#2{\expandafter\@ifdefinable\csname #1\endcsname
%{\@definecounter{#1}%
%\expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
%\global\@namedef{#1}{\@schm{#1}{#2}}\global\@namedef{end#1}{\@endscholium}}}
%\def\@oschm#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname
% {\global\@namedef{the#1}{\@nameuse{the#2}}%
%\global\@namedef{#1}{\@schm{#2}{#3}}%
%\global\@namedef{end#1}{\@endscholium}}}
%\def\@schm#1#2{\refstepcounter
% {#1}\@ifnextchar[{\@yschm{#1}{#2}}{\@xschm{#1}{#2}}}
%\def\@xschm#1#2{\@beginscholium{#2}{\csname the#1\endcsname}\ignorespaces}
%\def\@yschm#1#2[#3]{\@opargbeginscholium{#2}{\csname
% the#1\endcsname}{#3}\ignorespaces}
%\def\@beginscholium#1#2{\footnotesize \trivlist %
% \item[]{\thmtitle{#1\ #2.}\hskip \labelsep}}
%\def\@opargbeginscholium#1#2#3{\footnote \trivlist %
% \item[]{\thmtitle{#1\ #2\ (#3).}\hskip \labelsep}}
%\def\@endscholium{\endtrivlist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% JIMS MACROS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PAGE SIZE HACKS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\jimspagedims{%
\oddsidemargin 50pt
\evensidemargin 50pt
\topmargin -0.3cm
\textwidth 13cm
\textheight 21cm
}
\def\jimsafour{%
\topmargin -1cm
\textwidth 13cm
\oddsidemargin 40pt
\evensidemargin 40pt
\textheight 21cm
\setlength\paperwidth {210mm}
\setlength\paperheight {297mm}
\special{papersize=210mm,297mm}
}
\definecolor{GreenYellow}{cmyk}{0.15,0,0.69,0}
\definecolor{Yellow}{cmyk}{0,0,1.,0}
\definecolor{Goldenrod}{cmyk}{0,0.10,0.84,0}
\definecolor{Dandelion}{cmyk}{0,0.29,0.84,0}
\definecolor{Apricot}{cmyk}{0,0.32,0.52,0}
\definecolor{Peach}{cmyk}{0,0.50,0.70,0}
\definecolor{Melon}{cmyk}{0,0.46,0.50,0}
\definecolor{YellowOrange}{cmyk}{0,0.42,1.,0}
\definecolor{Orange}{cmyk}{0,0.61,0.87,0}
\definecolor{BurntOrange}{cmyk}{0,0.51,1.,0}
\definecolor{Bittersweet}{cmyk}{0,0.75,1.,0.24}
\definecolor{RedOrange}{cmyk}{0,0.77,0.87,0}
\definecolor{Mahogany}{cmyk}{0,0.85,0.87,0.35}
\definecolor{Maroon}{cmyk}{0,0.87,0.68,0.32}
\definecolor{BrickRed}{cmyk}{0,0.89,0.94,0.28}
\definecolor{Red}{cmyk}{0,1.,1.,0}
\definecolor{OrangeRed}{cmyk}{0,1.,0.50,0}
\definecolor{RubineRed}{cmyk}{0,1.,0.13,0}
\definecolor{WildStrawberry}{cmyk}{0,0.96,0.39,0}
\definecolor{Salmon}{cmyk}{0,0.53,0.38,0}
\definecolor{CarnationPink}{cmyk}{0,0.63,0,0}
\definecolor{Magenta}{cmyk}{0,1.,0,0}
\definecolor{VioletRed}{cmyk}{0,0.81,0,0}
\definecolor{Rhodamine}{cmyk}{0,0.82,0,0}
\definecolor{Mulberry}{cmyk}{0.34,0.90,0,0.02}
\definecolor{RedViolet}{cmyk}{0.07,0.90,0,0.34}
\definecolor{Fuchsia}{cmyk}{0.47,0.91,0,0.08}
\definecolor{Lavender}{cmyk}{0,0.48,0,0}
\definecolor{Thistle}{cmyk}{0.12,0.59,0,0}
\definecolor{Orchid}{cmyk}{0.32,0.64,0,0}
\definecolor{DarkOrchid}{cmyk}{0.40,0.80,0.20,0}
\definecolor{Purple}{cmyk}{0.45,0.86,0,0}
\definecolor{Plum}{cmyk}{0.50,1.,0,0}
\definecolor{Violet}{cmyk}{0.79,0.88,0,0}
\definecolor{RoyalPurple}{cmyk}{0.75,0.90,0,0}
\definecolor{BlueViolet}{cmyk}{0.86,0.91,0,0.04}
\definecolor{Periwinkle}{cmyk}{0.57,0.55,0,0}
\definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
\definecolor{CornflowerBlue}{cmyk}{0.65,0.13,0,0}
\definecolor{MidnightBlue}{cmyk}{0.98,0.13,0,0.43}
\definecolor{NavyBlue}{cmyk}{0.94,0.54,0,0}
\definecolor{RoyalBlue}{cmyk}{1.,0.50,0,0}
\definecolor{Blue}{cmyk}{1.,1.,0,0}
\definecolor{Cerulean}{cmyk}{0.94,0.11,0,0}
\definecolor{Cyan}{cmyk}{1.,0,0,0}
\definecolor{ProcessBlue}{cmyk}{0.96,0,0,0}
\definecolor{SkyBlue}{cmyk}{0.62,0,0.12,0}
\definecolor{Turquoise}{cmyk}{0.85,0,0.20,0}
\definecolor{TealBlue}{cmyk}{0.86,0,0.34,0.02}
\definecolor{Aquamarine}{cmyk}{0.82,0,0.30,0}
\definecolor{BlueGreen}{cmyk}{0.85,0,0.33,0}
\definecolor{Emerald}{cmyk}{1.,0,0.50,0}
\definecolor{JungleGreen}{cmyk}{0.99,0,0.52,0}
\definecolor{SeaGreen}{cmyk}{0.69,0,0.50,0}
\definecolor{Green}{cmyk}{1.,0,1.,0}
\definecolor{ForestGreen}{cmyk}{0.91,0,0.88,0.12}
\definecolor{PineGreen}{cmyk}{0.92,0,0.59,0.25}
\definecolor{LimeGreen}{cmyk}{0.50,0,1.,0}
\definecolor{YellowGreen}{cmyk}{0.44,0,0.74,0}
\definecolor{SpringGreen}{cmyk}{0.26,0,0.76,0}
\definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
\definecolor{RawSienna}{cmyk}{0,0.72,1.,0.45}
\definecolor{Sepia}{cmyk}{0,0.83,1.,0.70}
\definecolor{Brown}{cmyk}{0,0.81,1.,0.60}
\definecolor{Tan}{cmyk}{0.14,0.42,0.56,0}
\definecolor{Gray}{cmyk}{0,0,0,0.50}
\definecolor{Black}{cmyk}{0,0,0,1.}
\definecolor{White}{cmyk}{0,0,0,0}
\newcommand{\bstart}[1]{\fl\bleu{\bf#1}}
\renewcommand{\baselinestretch}{1.1}
\topmargin -3cm
\textwidth 25cm
\footskip 1.5cm
\textheight 18cm
\oddsidemargin -1cm
\evensidemargin -1cm
\columnseprule 0.4pt
\special{papersize=11in,8.5in}
\hfuzz 10pt \vfuzz 10pt
\pagestyle{fancy}
\headrulewidth 0pt \footrulewidth 0pt
\newcommand{\bsl}[1]{\textbf{\textsl{#1}}}
\lfoot{}
\cfoot{\textcolor{Sepia}{\Large\bsl{--- \thepage\/ ---}}}
\rfoot{}
\addtolength{\headheight}{10pt}
\hfuzz=10pt
\vfuzz=10pt
\parindent 0pt
\setlength{\fboxrule}{1pt}
\definecolor{paleyellow}{cmyk}{0,0,0.25,0}
\definecolor{fog}{cmyk}{.43,.06,.00,.21}
\newcommand{\Myfog}[1]{\textcolor{fog}{#1}}
\newcommand{\bleu}[1]{\textbf{\textcolor{blue}{#1}}}
\newcommand{\offbleu}[1]{\textcolor{CornflowerBlue}{#1}}
\newcommand{\vertt}[1]{\textbf{\textcolor{PineGreen}{#1}}}
\newcommand{\rouge}[1]{{\textcolor{Red}{#1}}}
\newcommand{\maroon}[1]{\textcolor{Maroon}{#1}}
\newcommand{\brun}[1]{\textcolor{Brown}{#1}}
\newcommand{\orchid}[1]{\textcolor{Orchid}{#1}}
\newcommand{\sienna}[1]{\textcolor{Bittersweet}{#1}}
\newcommand{\noir}[1]{\textbf{\textcolor{black}{#1}}}
\renewcommand{\colon}{\mathpunct{:}}
\newcommand{\IFF}{\textcolor{Red}{iff}\xspace}
\newcommand{\eqdef}{%
\ensuremath{\mathrel{\textcolor{Red}{\stackrel{\rm def}{=}}}}\xspace}
\newcommand{\eqvdef}{%
\ensuremath{\mathrel{\textcolor{Red}{\stackrel{\rm def}{\iff}}}}\xspace}
\newcommand{\redflag}{\textcolor{Black}{\rule{2pt}{1cm}}%
\textcolor{Red}{\rule[.5cm]{.75cm}{.5cm}}}
\newcommand{\yellowbox}[2]{\par\colorbox{paleyellow}{\begin{minipage}{#1}
#2\end{minipage}}}
\newcommand\intro[1]{\ensuremath{\scriptstyle#1\mathrm{i}}}
\newcommand\introne[1]{\ensuremath{\scriptstyle#1\mathrm{i}_1}}
\newcommand\intrtwo[1]{\ensuremath{\scriptstyle#1\mathrm{i}_2}}
\newcommand\elimi[1]{\ensuremath{\scriptstyle#1\mathrm{e}}}
\newcommand\elimone[1]{\ensuremath{\scriptstyle#1\mathrm{e}_1}}
\newcommand\elimtwo[1]{\ensuremath{\scriptstyle#1\mathrm{e}_2}}
\newcommand\subst[3]{\ensuremath{#1[#2/#3]}}
\newcommand\class[1]{\ensuremath{#1^{\circ}}}
\newenvironment{Eqnarray}{\color{Brown}\begin{eqnarray*}}{\end{eqnarray*}\par}
\renewcommand{\emph}[1]{{\bleu{#1}}}
\newcommand{\Math}[1]{{\color{Brown}{${#1}$}}}
\newcommand{\redtri}{\textcolor{Red}{$\blacktriangleright$}}
\newcommand{\bluetri}{\textcolor{Blue}{$\blacktriangleright$}}
\newcommand{\verttri}{\vertt{$\blacktriangleright$}}
\newcommand{\bluebul}{\textcolor{Blue}{$\bullet$}}
\renewcommand{\labelitemi}{\redtri}
\renewcommand{\labelitemii}{\textcolor{Green}{$\bullet$}}
\renewcommand{\descriptionlabel}[1]%
{\hspace{\labelsep}\bleu{#1}}
% \renewcommand{\Comment}[1]{\vertt{\texttt{(*} #1 \texttt{*)}}}
\newcommand{\Comment}[1]{\vertt{\texttt{(*} #1 \texttt{*)}}}
\newcommand{\displaybox}[1]{\fcolorbox{Red}{White}{#1}}
\newcommand{\pageheading}[1]{\begin{center}\huge%
\textbf{\textcolor{RedOrange}{\uppercase{#1}}}\\[-1.5ex]
\rule{\textwidth}{4pt}
\end{center}
}
\newenvironment{slide}[1]{%
\newpage\pageheading{#1}\begin{trivlist}\item[]}%
{\end{trivlist}}
\newcommand{\rulelabel}[1]{(\textit{\color{red}#1\/})\;\;}
\newcommand{\ints}{\ensuremath{\mathbb{Z}}\xspace}
\newcommand{\nat}{\ensuremath{\mathbb{N}}\xspace}
\newcommand{\intp}{\ensuremath{\mathbb{Z}^{+}}\xspace}
% \renewcommand{\defeq}{%
% {\ensuremath{\mathbin{\rouge{=_{\!\rm def}}}}}\xspace}
\newcommand{\defeq}{%
{\ensuremath{\mathbin{\rouge{=_{\!\rm def}}}}}\xspace}
\newcommand{\defeqv}{%
\rouge{\ensuremath{\mathbin{\equiv_{\!\rm def}}}}}
% \renewcommand{\defiff}{\rouge{\ensuremath{\iff_{\!\rm def}}}}
\newcommand{\defiff}{\rouge{\ensuremath{\iff_{\!\rm def}}}}