home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / latexsty2 / FANCYHEAD / DOC next >
LaTeX Document  |  1991-02-10  |  5.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 4e 41 4d 45 3a 20 66 | 61 6e 63 79 68 65 61 64 |%NAME: f|ancyhead|
|00000010| 69 6e 67 73 2d 64 6f 63 | 2e 74 78 74 0a 0a 48 65 |ings-doc|.txt..He|
|00000020| 72 65 20 69 73 20 61 20 | 64 6f 63 75 6d 65 6e 74 |re is a |document|
|00000030| 73 74 79 6c 65 73 74 79 | 6c 65 20 6f 70 74 69 6f |stylesty|le optio|
|00000040| 6e 20 74 68 61 74 20 61 | 6c 6c 6f 77 73 20 79 6f |n that a|llows yo|
|00000050| 75 20 74 6f 20 63 75 73 | 74 6f 6d 69 7a 65 20 79 |u to cus|tomize y|
|00000060| 6f 75 72 0a 70 61 67 65 | 20 68 65 61 64 65 72 73 |our.page| headers|
|00000070| 20 61 6e 64 20 66 6f 6f | 74 65 72 73 20 69 6e 20 | and foo|ters in |
|00000080| 61 6e 20 65 61 73 79 20 | 77 61 79 2e 20 49 74 20 |an easy |way. It |
|00000090| 63 6f 6d 62 69 6e 65 73 | 20 66 65 61 74 75 72 65 |combines| feature|
|000000a0| 73 20 74 68 61 74 20 77 | 65 72 65 0a 73 65 70 61 |s that w|ere.sepa|
|000000b0| 72 61 74 65 6c 79 20 61 | 76 61 69 6c 61 62 6c 65 |rately a|vailable|
|000000c0| 20 69 6e 20 6f 74 68 65 | 72 20 70 61 67 65 73 74 | in othe|r pagest|
|000000d0| 79 6c 65 73 2c 20 77 69 | 74 68 6f 75 74 20 69 6e |yles, wi|thout in|
|000000e0| 74 72 6f 64 75 63 69 6e | 67 20 6d 75 63 68 0a 63 |troducin|g much.c|
|000000f0| 6f 6d 70 6c 65 78 69 74 | 79 2e 20 59 6f 75 20 63 |omplexit|y. You c|
|00000100| 61 6e 20 64 65 66 69 6e | 65 3a 0a 0a 20 20 20 20 |an defin|e:.. |
|00000110| 2d 20 74 68 72 65 65 2d | 70 61 72 74 20 68 65 61 |- three-|part hea|
|00000120| 64 65 72 73 20 61 6e 64 | 20 66 6f 6f 74 65 72 73 |ders and| footers|
|00000130| 0a 20 20 20 20 2d 20 72 | 75 6c 65 73 20 69 6e 20 |. - r|ules in |
|00000140| 68 65 61 64 65 72 20 61 | 6e 64 20 66 6f 6f 74 65 |header a|nd foote|
|00000150| 72 0a 20 20 20 20 2d 20 | 68 65 61 64 65 72 73 20 |r. - |headers |
|00000160| 61 6e 64 20 66 6f 6f 74 | 65 72 73 20 77 69 64 65 |and foot|ers wide|
|00000170| 72 20 74 68 61 6e 20 5c | 74 65 78 74 77 69 64 74 |r than \|textwidt|
|00000180| 68 0a 20 20 20 20 2d 20 | 6d 75 6c 74 69 6c 69 6e |h. - |multilin|
|00000190| 65 20 68 65 61 64 65 72 | 73 20 61 6e 64 20 66 6f |e header|s and fo|
|000001a0| 6f 74 65 72 73 0a 20 20 | 20 20 2d 20 73 65 70 61 |oters. | - sepa|
|000001b0| 72 61 74 65 20 68 65 61 | 64 65 72 73 20 61 6e 64 |rate hea|ders and|
|000001c0| 20 66 6f 6f 74 65 72 73 | 20 66 6f 72 20 65 76 65 | footers| for eve|
|000001d0| 6e 20 61 6e 64 20 6f 64 | 64 20 70 61 67 65 73 0a |n and od|d pages.|
|000001e0| 20 20 20 20 2d 20 73 65 | 70 61 72 61 74 65 20 68 | - se|parate h|
|000001f0| 65 61 64 65 72 73 20 61 | 6e 64 20 66 6f 6f 74 65 |eaders a|nd foote|
|00000200| 72 73 20 66 6f 72 20 63 | 68 61 70 74 65 72 20 70 |rs for c|hapter p|
|00000210| 61 67 65 73 0a 0a 54 6f | 20 75 73 65 20 74 68 69 |ages..To| use thi|
|00000220| 73 20 70 61 67 65 73 74 | 79 6c 65 2c 20 79 6f 75 |s pagest|yle, you|
|00000230| 20 6d 75 73 74 20 69 6e | 63 6c 75 64 65 20 74 68 | must in|clude th|
|00000240| 65 20 60 60 66 61 6e 63 | 79 68 65 61 64 69 6e 67 |e ``fanc|yheading|
|00000250| 73 27 27 20 73 74 79 6c | 65 0a 6f 70 74 69 6f 6e |s'' styl|e.option|
|00000260| 20 69 6e 20 79 6f 75 72 | 20 5c 64 6f 63 75 6d 65 | in your| \docume|
|00000270| 6e 74 73 74 79 6c 65 2c | 20 61 6e 64 20 69 73 73 |ntstyle,| and iss|
|00000280| 75 65 20 74 68 65 20 5c | 70 61 67 65 73 74 79 6c |ue the \|pagestyl|
|00000290| 65 7b 66 61 6e 63 79 7d | 20 63 6f 6d 6d 61 6e 64 |e{fancy}| command|
|000002a0| 2e 0a 54 68 65 20 5c 70 | 61 67 65 73 74 79 6c 65 |..The \p|agestyle|
|000002b0| 7b 66 61 6e 63 79 7d 20 | 63 6f 6d 6d 61 6e 64 20 |{fancy} |command |
|000002c0| 73 68 6f 75 6c 64 20 62 | 65 20 69 73 73 75 65 64 |should b|e issued|
|000002d0| 20 61 66 74 65 72 20 61 | 6e 79 20 63 68 61 6e 67 | after a|ny chang|
|000002e0| 65 73 20 6d 61 64 65 20 | 74 6f 0a 5c 74 65 78 74 |es made |to.\text|
|000002f0| 77 69 64 74 68 2e 0a 0a | 54 68 65 20 70 61 67 65 |width...|The page|
|00000300| 20 6c 61 79 6f 75 74 20 | 77 69 6c 6c 20 62 65 20 | layout |will be |
|00000310| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 0a 09 09 4c |as follo|ws:....L|
|00000320| 48 45 41 44 20 20 20 20 | 20 20 20 20 20 20 43 48 |HEAD | CH|
|00000330| 45 41 44 20 20 20 20 20 | 20 20 20 20 20 52 48 45 |EAD | RHE|
|00000340| 41 44 0a 09 09 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |AD...---|--------|
|00000350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000360| 2d 2d 2d 2d 2d 2d 2d 2d | 20 28 72 75 6c 65 29 0a |--------| (rule).|
|00000370| 0a 09 09 09 20 20 20 20 | 20 70 61 67 65 20 62 6f |.... | page bo|
|00000380| 64 79 0a 0a 0a 09 09 2d | 2d 2d 2d 2d 2d 2d 2d 2d |dy.....-|--------|
|00000390| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 28 72 75 6c 65 |--------|-- (rule|
|000003b0| 29 0a 09 09 4c 46 4f 4f | 54 09 20 20 20 20 20 20 |)...LFOO|T. |
|000003c0| 20 43 46 4f 4f 54 09 20 | 20 20 20 20 20 52 46 4f | CFOOT. | RFO|
|000003d0| 4f 54 0a 0a 54 68 65 20 | 4c 2d 66 69 65 6c 64 73 |OT..The |L-fields|
|000003e0| 20 77 69 6c 6c 20 62 65 | 20 6c 65 66 74 61 64 6a | will be| leftadj|
|000003f0| 75 73 74 65 64 2c 20 74 | 68 65 20 43 2d 66 69 65 |usted, t|he C-fie|
|00000400| 6c 64 73 20 63 65 6e 74 | 65 72 65 64 20 61 6e 64 |lds cent|ered and|
|00000410| 20 74 68 65 0a 52 2d 66 | 69 65 6c 64 73 20 72 69 | the.R-f|ields ri|
|00000420| 67 68 74 61 64 6a 75 73 | 74 65 64 2e 0a 45 61 63 |ghtadjus|ted..Eac|
|00000430| 68 20 6f 66 20 74 68 65 | 20 73 69 78 20 66 69 65 |h of the| six fie|
|00000440| 6c 64 73 20 61 6e 64 20 | 74 68 65 20 74 77 6f 20 |lds and |the two |
|00000450| 72 75 6c 65 73 20 63 61 | 6e 20 62 65 20 64 65 66 |rules ca|n be def|
|00000460| 69 6e 65 64 20 73 65 70 | 61 72 61 74 65 6c 79 2e |ined sep|arately.|
|00000470| 0a 0a 0a 53 69 6d 70 6c | 65 20 75 73 65 0a 0a 54 |...Simpl|e use..T|
|00000480| 68 65 20 68 65 61 64 65 | 72 20 61 6e 64 20 66 6f |he heade|r and fo|
|00000490| 6f 74 65 72 20 66 69 65 | 6c 64 73 20 63 61 6e 20 |oter fie|lds can |
|000004a0| 62 65 20 64 65 66 69 6e | 65 64 20 62 79 20 63 6f |be defin|ed by co|
|000004b0| 6d 6d 61 6e 64 73 20 5c | 6c 68 65 61 64 7b 4c 48 |mmands \|lhead{LH|
|000004c0| 45 41 44 7d 0a 61 6e 64 | 20 73 6f 20 6f 6e 20 66 |EAD}.and| so on f|
|000004d0| 6f 72 20 74 68 65 20 6f | 74 68 65 72 20 66 69 65 |or the o|ther fie|
|000004e0| 6c 64 73 2e 20 49 66 20 | 74 68 65 20 66 69 65 6c |lds. If |the fiel|
|000004f0| 64 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 73 6f 6d |d depend|s on som|
|00000500| 65 74 68 69 6e 67 20 69 | 6e 20 74 68 65 0a 64 6f |ething i|n the.do|
|00000510| 63 75 6d 65 6e 74 20 28 | 65 2e 67 2e 20 73 65 63 |cument (|e.g. sec|
|00000520| 74 69 6f 6e 20 74 69 74 | 6c 65 73 29 20 79 6f 75 |tion tit|les) you|
|00000530| 20 6d 75 73 74 20 69 6e | 20 67 65 6e 65 72 61 6c | must in| general|
|00000540| 20 75 73 65 20 74 68 65 | 20 5c 6d 61 72 6b 62 6f | use the| \markbo|
|00000550| 74 68 20 61 6e 64 0a 5c | 6d 61 72 6b 72 69 67 68 |th and.\|markrigh|
|00000560| 74 20 63 6f 6d 6d 61 6e | 64 73 2c 20 6f 74 68 65 |t comman|ds, othe|
|00000570| 72 77 69 73 65 20 61 20 | 74 69 74 6c 65 20 6d 61 |rwise a |title ma|
|00000580| 79 20 65 6e 64 20 6f 6e | 20 74 68 65 20 77 72 6f |y end on| the wro|
|00000590| 6e 67 20 70 61 67 65 2e | 20 59 6f 75 0a 63 61 6e |ng page.| You.can|
|000005a0| 20 64 6f 20 74 68 69 73 | 20 65 2e 67 2e 20 62 79 | do this| e.g. by|
|000005b0| 20 72 65 64 65 66 69 6e | 69 6e 67 20 74 68 65 20 | redefin|ing the |
|000005c0| 63 6f 6d 6d 61 6e 64 73 | 20 5c 63 68 61 70 74 65 |commands| \chapte|
|000005d0| 72 6d 61 72 6b 2c 20 5c | 73 65 63 74 69 6f 6e 6d |rmark, \|sectionm|
|000005e0| 61 72 6b 0a 61 6e 64 20 | 73 6f 20 6f 6e 20 28 73 |ark.and |so on (s|
|000005f0| 65 65 20 65 78 61 6d 70 | 6c 65 20 62 65 6c 6f 77 |ee examp|le below|
|00000600| 29 2e 20 54 68 65 20 64 | 65 66 61 75 6c 74 73 20 |). The d|efaults |
|00000610| 66 6f 72 20 74 68 65 73 | 65 20 6d 61 72 6b 73 20 |for thes|e marks |
|00000620| 61 72 65 20 61 73 20 69 | 6e 0a 74 68 65 20 73 74 |are as i|n.the st|
|00000630| 61 6e 64 61 72 64 20 70 | 61 67 65 73 74 79 6c 65 |andard p|agestyle|
|00000640| 73 2e 20 54 68 65 20 6d | 61 72 6b 73 20 63 61 6e |s. The m|arks can|
|00000650| 20 62 65 20 70 75 74 20 | 69 6e 74 6f 20 61 20 68 | be put |into a h|
|00000660| 65 61 64 65 72 20 6f 72 | 20 66 6f 6f 74 65 72 0a |eader or| footer.|
|00000670| 66 69 65 6c 64 20 62 79 | 20 72 65 66 65 72 65 6e |field by| referen|
|00000680| 63 69 6e 67 20 5c 6c 65 | 66 74 6d 61 72 6b 20 61 |cing \le|ftmark a|
|00000690| 6e 64 20 5c 72 69 67 68 | 74 6d 61 72 6b 2e 0a 0a |nd \righ|tmark...|
|000006a0| 0a 52 75 6c 65 73 20 69 | 6e 20 68 65 61 64 65 72 |.Rules i|n header|
|000006b0| 20 61 6e 64 20 66 6f 6f | 74 65 72 0a 0a 54 68 65 | and foo|ter..The|
|000006c0| 20 74 68 69 63 6b 6e 65 | 73 73 20 6f 66 20 74 68 | thickne|ss of th|
|000006d0| 65 20 72 75 6c 65 73 20 | 62 65 6c 6f 77 20 74 68 |e rules |below th|
|000006e0| 65 20 68 65 61 64 65 72 | 20 61 6e 64 20 61 62 6f |e header| and abo|
|000006f0| 76 65 20 74 68 65 20 66 | 6f 6f 74 65 72 20 63 61 |ve the f|ooter ca|
|00000700| 6e 20 62 65 0a 63 68 61 | 6e 67 65 64 20 62 79 20 |n be.cha|nged by |
|00000710| 72 65 64 65 66 69 6e 69 | 6e 67 20 74 68 65 20 6c |redefini|ng the l|
|00000720| 65 6e 67 74 68 20 70 61 | 72 61 6d 65 74 65 72 73 |ength pa|rameters|
|00000730| 20 5c 68 65 61 64 72 75 | 6c 65 77 69 64 74 68 20 | \headru|lewidth |
|00000740| 28 64 65 66 61 75 6c 74 | 0a 30 2e 34 70 74 29 20 |(default|.0.4pt) |
|00000750| 61 6e 64 20 5c 66 6f 6f | 74 72 75 6c 65 77 69 64 |and \foo|trulewid|
|00000760| 74 68 20 28 64 65 66 61 | 75 6c 74 20 30 29 2e 20 |th (defa|ult 0). |
|00000770| 54 68 65 73 65 20 6d 61 | 79 20 62 65 20 72 65 64 |These ma|y be red|
|00000780| 65 66 69 6e 65 64 20 62 | 79 20 74 68 65 0a 5c 73 |efined b|y the.\s|
|00000790| 65 74 6c 65 6e 67 74 68 | 20 63 6f 6d 6d 61 6e 64 |etlength| command|
|000007a0| 2e 20 41 20 74 68 69 63 | 6b 6e 65 73 73 20 6f 66 |. A thic|kness of|
|000007b0| 20 30 70 74 20 6d 61 6b | 65 73 20 74 68 65 20 72 | 0pt mak|es the r|
|000007c0| 75 6c 65 20 69 6e 76 69 | 73 69 62 6c 65 2e 0a 49 |ule invi|sible..I|
|000007d0| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 6d 61 |f you wa|nt to ma|
|000007e0| 6b 65 20 6d 6f 72 65 20 | 63 6f 6d 70 6c 69 63 61 |ke more |complica|
|000007f0| 74 65 64 20 63 68 61 6e | 67 65 73 2c 20 79 6f 75 |ted chan|ges, you|
|00000800| 20 68 61 76 65 20 74 6f | 20 72 65 64 65 66 69 6e | have to| redefin|
|00000810| 65 20 74 68 65 0a 63 6f | 6d 6d 61 6e 64 73 20 5c |e the.co|mmands \|
|00000820| 68 65 61 64 72 75 6c 65 | 20 61 6e 64 2f 6f 72 20 |headrule| and/or |
|00000830| 5c 66 6f 6f 74 72 75 6c | 65 2e 0a 0a 0a 48 65 61 |\footrul|e....Hea|
|00000840| 64 65 72 73 20 61 6e 64 | 20 66 6f 6f 74 65 72 73 |ders and| footers|
|00000850| 20 77 69 64 65 72 20 74 | 68 61 6e 20 5c 74 65 78 | wider t|han \tex|
|00000860| 74 77 69 64 74 68 0a 0a | 54 68 65 20 68 65 61 64 |twidth..|The head|
|00000870| 65 72 73 20 61 6e 64 20 | 66 6f 6f 74 65 72 73 20 |ers and |footers |
|00000880| 61 72 65 20 73 65 74 20 | 69 6e 20 61 20 62 6f 78 |are set |in a box|
|00000890| 20 6f 66 20 77 69 64 74 | 68 20 5c 68 65 61 64 77 | of widt|h \headw|
|000008a0| 69 64 74 68 2e 20 54 68 | 65 0a 64 65 66 61 75 6c |idth. Th|e.defaul|
|000008b0| 74 20 66 6f 72 20 74 68 | 69 73 20 69 73 20 74 68 |t for th|is is th|
|000008c0| 65 20 76 61 6c 75 65 20 | 6f 66 20 5c 74 65 78 74 |e value |of \text|
|000008d0| 77 69 64 74 68 2e 20 59 | 6f 75 20 63 61 6e 20 6d |width. Y|ou can m|
|000008e0| 61 6b 65 20 69 74 20 77 | 69 64 65 72 20 28 6f 72 |ake it w|ider (or|
|000008f0| 0a 73 6d 61 6c 6c 65 72 | 29 20 62 79 20 72 65 64 |.smaller|) by red|
|00000900| 65 66 69 6e 69 6e 67 20 | 5c 68 65 61 64 77 69 64 |efining |\headwid|
|00000910| 74 68 20 77 69 74 68 20 | 74 68 65 20 5c 73 65 74 |th with |the \set|
|00000920| 6c 65 6e 67 74 68 20 6f | 72 20 5c 61 64 64 74 6f |length o|r \addto|
|00000930| 6c 65 6e 67 74 68 0a 63 | 6f 6d 6d 61 6e 64 2e 20 |length.c|ommand. |
|00000940| 54 68 65 20 68 65 61 64 | 65 72 73 20 61 6e 64 20 |The head|ers and |
|00000950| 66 6f 6f 74 65 72 73 20 | 77 69 6c 6c 20 73 74 69 |footers |will sti|
|00000960| 63 6b 20 6f 75 74 20 74 | 68 65 20 70 61 67 65 20 |ck out t|he page |
|00000970| 6f 6e 20 74 68 65 20 73 | 61 6d 65 0a 73 69 64 65 |on the s|ame.side|
|00000980| 20 61 73 20 74 68 65 20 | 6d 61 72 67 69 6e 61 6c | as the |marginal|
|00000990| 20 6e 6f 74 65 73 2e 20 | 46 6f 72 20 65 78 61 6d | notes. |For exam|
|000009a0| 70 6c 65 20 74 6f 20 69 | 6e 63 6c 75 64 65 20 74 |ple to i|nclude t|
|000009b0| 68 65 20 6d 61 72 67 69 | 6e 61 6c 20 6e 6f 74 65 |he margi|nal note|
|000009c0| 73 2c 0a 61 64 64 20 62 | 6f 74 68 20 5c 6d 61 72 |s,.add b|oth \mar|
|000009d0| 67 69 6e 70 61 72 73 65 | 70 20 61 6e 64 20 5c 6d |ginparse|p and \m|
|000009e0| 61 72 67 69 6e 70 61 72 | 77 69 64 74 68 20 74 6f |arginpar|width to|
|000009f0| 20 5c 68 65 61 64 77 69 | 64 74 68 20 28 73 65 65 | \headwi|dth (see|
|00000a00| 20 61 6c 73 6f 20 74 68 | 65 0a 65 78 61 6d 70 6c | also th|e.exampl|
|00000a10| 65 20 62 65 6c 6f 77 29 | 2e 0a 0a 0a 4d 75 6c 74 |e below)|....Mult|
|00000a20| 69 6c 69 6e 65 20 68 65 | 61 64 65 72 73 20 61 6e |iline he|aders an|
|00000a30| 64 20 66 6f 6f 74 65 72 | 73 0a 0a 45 61 63 68 20 |d footer|s..Each |
|00000a40| 6f 66 20 74 68 65 20 73 | 69 78 20 66 69 65 6c 64 |of the s|ix field|
|00000a50| 73 20 69 73 20 73 65 74 | 20 69 6e 20 61 6e 20 61 |s is set| in an a|
|00000a60| 70 70 72 6f 70 72 69 61 | 74 65 20 70 61 72 62 6f |ppropria|te parbo|
|00000a70| 78 2c 20 73 6f 20 79 6f | 75 20 63 61 6e 20 70 75 |x, so yo|u can pu|
|00000a80| 74 20 61 0a 6d 75 6c 74 | 69 6c 69 6e 65 20 70 61 |t a.mult|iline pa|
|00000a90| 72 74 20 69 6e 20 69 74 | 20 77 69 74 68 20 74 68 |rt in it| with th|
|00000aa0| 65 20 5c 5c 20 63 6f 6d | 6d 61 6e 64 2e 20 49 74 |e \\ com|mand. It|
|00000ab0| 20 69 73 20 61 6c 73 6f | 20 70 6f 73 73 69 62 6c | is also| possibl|
|00000ac0| 65 20 74 6f 20 70 75 74 | 0a 65 78 74 72 61 20 73 |e to put|.extra s|
|00000ad0| 70 61 63 65 20 69 6e 20 | 69 74 20 77 69 74 68 20 |pace in |it with |
|00000ae0| 74 68 65 20 5c 76 73 70 | 61 63 65 20 63 6f 6d 6d |the \vsp|ace comm|
|00000af0| 61 6e 64 2e 20 4e 6f 74 | 65 20 74 68 61 74 20 69 |and. Not|e that i|
|00000b00| 66 20 79 6f 75 20 64 6f | 20 74 68 69 73 20 79 6f |f you do| this yo|
|00000b10| 75 0a 77 69 6c 6c 20 70 | 72 6f 62 61 62 6c 79 20 |u.will p|robably |
|00000b20| 68 61 76 65 20 74 6f 20 | 69 6e 63 72 65 61 73 65 |have to |increase|
|00000b30| 20 74 68 65 20 5c 68 65 | 61 64 68 65 69 67 68 74 | the \he|adheight|
|00000b40| 20 6f 72 20 5c 66 6f 6f | 74 73 6b 69 70 20 6c 65 | or \foo|tskip le|
|00000b50| 6e 67 74 68 73 2e 0a 0a | 0a 53 65 70 61 72 61 74 |ngths...|.Separat|
|00000b60| 65 20 68 65 61 64 65 72 | 73 20 61 6e 64 20 66 6f |e header|s and fo|
|00000b70| 6f 74 65 72 73 20 66 6f | 72 20 65 76 65 6e 20 61 |oters fo|r even a|
|00000b80| 6e 64 20 6f 64 64 20 70 | 61 67 65 73 0a 0a 49 66 |nd odd p|ages..If|
|00000b90| 20 79 6f 75 20 77 61 6e | 74 20 74 68 65 20 68 65 | you wan|t the he|
|00000ba0| 61 64 65 72 73 20 61 6e | 64 20 66 6f 6f 74 65 72 |aders an|d footer|
|00000bb0| 73 20 74 6f 20 62 65 20 | 64 69 66 66 65 72 65 6e |s to be |differen|
|00000bc0| 74 20 6f 6e 20 65 76 65 | 6e 2d 20 61 6e 64 0a 6f |t on eve|n- and.o|
|00000bd0| 64 64 2d 6e 75 6d 62 65 | 72 65 64 20 70 61 67 65 |dd-numbe|red page|
|00000be0| 73 20 69 6e 20 74 68 65 | 20 60 60 74 77 6f 73 69 |s in the| ``twosi|
|00000bf0| 64 65 27 27 20 73 74 79 | 6c 65 2c 20 74 68 65 20 |de'' sty|le, the |
|00000c00| 66 69 65 6c 64 2d 64 65 | 66 69 6e 69 6e 67 20 6d |field-de|fining m|
|00000c10| 61 63 72 6f 73 0a 63 61 | 6e 20 62 65 20 67 69 76 |acros.ca|n be giv|
|00000c20| 65 6e 20 61 6e 20 6f 70 | 74 69 6f 6e 61 6c 20 61 |en an op|tional a|
|00000c30| 72 67 75 6d 65 6e 74 2c | 20 74 6f 20 62 65 20 75 |rgument,| to be u|
|00000c40| 73 65 64 20 6f 6e 20 74 | 68 65 20 65 76 65 6e 2d |sed on t|he even-|
|00000c50| 6e 75 6d 62 65 72 65 64 | 0a 70 61 67 65 73 2c 20 |numbered|.pages, |
|00000c60| 6c 69 6b 65 20 5c 6c 68 | 65 61 64 5b 45 56 45 4e |like \lh|ead[EVEN|
|00000c70| 2d 4c 48 45 41 44 5d 7b | 4f 44 44 2d 4c 48 45 41 |-LHEAD]{|ODD-LHEA|
|00000c80| 44 7d 2e 0a 0a 0a 53 65 | 70 61 72 61 74 65 20 68 |D}....Se|parate h|
|00000c90| 65 61 64 65 72 73 20 61 | 6e 64 20 66 6f 6f 74 65 |eaders a|nd foote|
|00000ca0| 72 73 20 66 6f 72 20 63 | 68 61 70 74 65 72 20 70 |rs for c|hapter p|
|00000cb0| 61 67 65 73 0a 0a 4c 61 | 54 65 58 20 67 69 76 65 |ages..La|TeX give|
|00000cc0| 73 20 61 20 5c 74 68 69 | 73 70 61 67 65 73 74 79 |s a \thi|spagesty|
|00000cd0| 6c 65 7b 70 6c 61 69 6e | 7d 20 63 6f 6d 6d 61 6e |le{plain|} comman|
|00000ce0| 64 20 66 6f 72 20 74 68 | 65 20 66 69 72 73 74 20 |d for th|e first |
|00000cf0| 70 61 67 65 20 6f 66 20 | 74 68 65 0a 64 6f 63 75 |page of |the.docu|
|00000d00| 6d 65 6e 74 2c 20 74 68 | 65 20 66 69 72 73 74 20 |ment, th|e first |
|00000d10| 70 61 67 65 20 6f 66 20 | 65 61 63 68 20 63 68 61 |page of |each cha|
|00000d20| 70 74 65 72 20 61 6e 64 | 20 61 20 63 6f 75 70 6c |pter and| a coupl|
|00000d30| 65 20 6f 66 20 6f 74 68 | 65 72 20 70 61 67 65 73 |e of oth|er pages|
|00000d40| 2e 20 49 74 0a 6d 69 67 | 68 74 20 62 65 20 69 6e |. It.mig|ht be in|
|00000d50| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 20 |compatib|le with |
|00000d60| 79 6f 75 72 20 70 61 67 | 65 73 74 79 6c 65 2e 20 |your pag|estyle. |
|00000d70| 49 6e 20 74 68 69 73 20 | 63 61 73 65 20 79 6f 75 |In this |case you|
|00000d80| 20 63 61 6e 20 75 73 65 | 20 61 0a 73 6c 69 67 68 | can use| a.sligh|
|00000d90| 74 6c 79 20 64 69 66 66 | 65 72 65 6e 74 20 76 65 |tly diff|erent ve|
|00000da0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 61 67 |rsion of| the pag|
|00000db0| 65 73 74 79 6c 65 2c 20 | 63 61 6c 6c 65 64 20 5c |estyle, |called \|
|00000dc0| 70 61 67 65 73 74 79 6c | 65 7b 66 61 6e 63 79 70 |pagestyl|e{fancyp|
|00000dd0| 6c 61 69 6e 7d 2e 20 0a | 54 68 69 73 20 70 61 67 |lain}. .|This pag|
|00000de0| 65 73 74 79 6c 65 20 72 | 65 64 65 66 69 6e 65 73 |estyle r|edefines|
|00000df0| 20 74 68 65 20 70 61 67 | 65 73 74 79 6c 65 20 60 | the pag|estyle `|
|00000e00| 60 70 6c 61 69 6e 27 27 | 20 74 6f 20 61 6c 73 6f |`plain''| to also|
|00000e10| 20 75 73 65 20 70 61 67 | 65 73 74 79 6c 65 0a 60 | use pag|estyle.`|
|00000e20| 60 66 61 6e 63 79 27 27 | 20 77 69 74 68 20 74 68 |`fancy''| with th|
|00000e30| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 6f 64 69 |e follow|ing modi|
|00000e40| 66 69 63 61 74 69 6f 6e | 73 3a 0a 20 20 20 20 2d |fication|s:. -|
|00000e50| 20 74 68 65 20 74 68 69 | 63 6b 6e 65 73 73 65 73 | the thi|cknesses|
|00000e60| 20 6f 66 20 74 68 65 20 | 72 75 6c 65 73 20 69 73 | of the |rules is|
|00000e70| 20 64 65 66 69 6e 65 64 | 20 62 79 20 5c 70 6c 61 | defined| by \pla|
|00000e80| 69 6e 68 65 61 64 72 75 | 6c 65 77 69 64 74 68 20 |inheadru|lewidth |
|00000e90| 61 6e 64 0a 20 20 20 20 | 20 20 5c 70 6c 61 69 6e |and. | \plain|
|00000ea0| 66 6f 6f 74 72 75 6c 65 | 77 69 64 74 68 20 28 62 |footrule|width (b|
|00000eb0| 6f 74 68 20 64 65 66 61 | 75 6c 74 20 30 29 2e 0a |oth defa|ult 0)..|
|00000ec0| 20 20 20 20 2d 20 74 68 | 65 20 36 20 66 69 65 6c | - th|e 6 fiel|
|00000ed0| 64 73 20 6d 61 79 20 62 | 65 20 64 65 66 69 6e 65 |ds may b|e define|
|00000ee0| 64 20 73 65 70 61 72 61 | 74 65 6c 79 20 66 6f 72 |d separa|tely for|
|00000ef0| 20 74 68 65 20 70 6c 61 | 69 6e 20 70 61 67 65 73 | the pla|in pages|
|00000f00| 20 62 79 0a 20 20 20 20 | 20 20 67 69 76 69 6e 67 | by. | giving|
|00000f10| 20 74 68 65 6d 20 74 68 | 65 20 76 61 6c 75 65 20 | them th|e value |
|00000f20| 5c 66 61 6e 63 79 70 6c | 61 69 6e 7b 50 4c 41 49 |\fancypl|ain{PLAI|
|00000f30| 4e 2d 56 41 4c 55 45 7d | 7b 4e 4f 52 4d 41 4c 2d |N-VALUE}|{NORMAL-|
|00000f40| 56 41 4c 55 45 7d 2e 20 | 54 68 69 73 0a 20 20 20 |VALUE}. |This. |
|00000f50| 20 20 20 63 6f 6e 73 74 | 72 75 63 74 20 6d 61 79 | const|ruct may|
|00000f60| 20 62 65 20 75 73 65 64 | 20 69 6e 20 62 6f 74 68 | be used| in both|
|00000f70| 20 74 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 61 72 | the opt|ional ar|
|00000f80| 67 75 6d 65 6e 74 20 61 | 6e 64 20 74 68 65 20 6e |gument a|nd the n|
|00000f90| 6f 72 6d 61 6c 0a 20 20 | 20 20 20 20 61 72 67 75 |ormal. | argu|
|00000fa0| 6d 65 6e 74 2e 20 54 68 | 75 73 20 5c 6c 68 65 61 |ment. Th|us \lhea|
|00000fb0| 64 5b 5c 66 61 6e 63 79 | 70 6c 61 69 6e 7b 46 31 |d[\fancy|plain{F1|
|00000fc0| 7d 7b 46 32 7d 5d 7b 5c | 66 61 6e 63 79 70 6c 61 |}{F2}]{\|fancypla|
|00000fd0| 69 6e 7b 46 33 7d 7b 46 | 34 7d 7d 0a 20 20 20 20 |in{F3}{F|4}}. |
|00000fe0| 20 20 73 70 65 63 69 66 | 69 65 73 20 74 68 65 20 | specif|ies the |
|00000ff0| 4c 48 45 41 44 20 76 61 | 6c 75 65 20 69 6e 20 61 |LHEAD va|lue in a|
|00001000| 20 74 77 6f 2d 73 69 64 | 65 64 20 64 6f 63 75 6d | two-sid|ed docum|
|00001010| 65 6e 74 3a 0a 09 46 31 | 20 6f 6e 20 61 6e 20 65 |ent:..F1| on an e|
|00001020| 76 65 6e 2d 6e 75 6d 62 | 65 72 65 64 20 60 60 70 |ven-numb|ered ``p|
|00001030| 6c 61 69 6e 27 27 20 70 | 61 67 65 0a 09 46 32 20 |lain'' p|age..F2 |
|00001040| 6f 6e 20 61 6e 20 65 76 | 65 6e 2d 6e 75 6d 62 65 |on an ev|en-numbe|
|00001050| 72 65 64 20 6e 6f 72 6d | 61 6c 20 70 61 67 65 0a |red norm|al page.|
|00001060| 09 46 33 20 6f 6e 20 61 | 6e 20 6f 64 64 2d 6e 75 |.F3 on a|n odd-nu|
|00001070| 6d 62 65 72 65 64 20 60 | 60 70 6c 61 69 6e 27 27 |mbered `|`plain''|
|00001080| 20 70 61 67 65 0a 09 46 | 34 20 6f 6e 20 61 6e 20 | page..F|4 on an |
|00001090| 6f 64 64 2d 6e 75 6d 62 | 65 72 65 64 20 6e 6f 72 |odd-numb|ered nor|
|000010a0| 6d 61 6c 20 70 61 67 65 | 2e 0a 0a 0a 44 65 66 61 |mal page|....Defa|
|000010b0| 75 6c 74 73 0a 0a 5c 68 | 65 61 64 72 75 6c 65 77 |ults..\h|eadrulew|
|000010c0| 69 64 74 68 20 09 20 20 | 20 20 20 20 30 2e 34 70 |idth . | 0.4p|
|000010d0| 74 0a 5c 66 6f 6f 74 72 | 75 6c 65 77 69 64 74 68 |t.\footr|ulewidth|
|000010e0| 09 09 30 70 74 0a 5c 70 | 6c 61 69 6e 68 65 61 64 |..0pt.\p|lainhead|
|000010f0| 72 75 6c 65 77 69 64 74 | 68 09 30 70 74 0a 5c 70 |rulewidt|h.0pt.\p|
|00001100| 6c 61 69 6e 66 6f 6f 74 | 72 75 6c 65 77 69 64 74 |lainfoot|rulewidt|
|00001110| 68 09 30 70 74 0a 0a 5c | 6c 68 65 61 64 5b 5c 66 |h.0pt..\|lhead[\f|
|00001120| 61 6e 63 79 70 6c 61 69 | 6e 7b 7d 7b 5c 73 6c 5c |ancyplai|n{}{\sl\|
|00001130| 72 69 67 68 74 6d 61 72 | 6b 7d 5d 7b 5c 66 61 6e |rightmar|k}]{\fan|
|00001140| 63 79 70 6c 61 69 6e 7b | 7d 7b 5c 73 6c 5c 6c 65 |cyplain{|}{\sl\le|
|00001150| 66 74 6d 61 72 6b 7d 7d | 0a 25 20 20 69 2e 65 2e |ftmark}}|.% i.e.|
|00001160| 20 65 6d 70 74 79 20 6f | 6e 20 60 60 70 6c 61 69 | empty o|n ``plai|
|00001170| 6e 27 27 20 70 61 67 65 | 73 20 5c 72 69 67 68 74 |n'' page|s \right|
|00001180| 6d 61 72 6b 20 6f 6e 20 | 65 76 65 6e 2c 20 5c 6c |mark on |even, \l|
|00001190| 65 66 74 6d 61 72 6b 20 | 6f 6e 20 6f 64 64 20 70 |eftmark |on odd p|
|000011a0| 61 67 65 73 0a 5c 63 68 | 65 61 64 7b 7d 0a 5c 72 |ages.\ch|ead{}.\r|
|000011b0| 68 65 61 64 5b 5c 66 61 | 6e 63 79 70 6c 61 69 6e |head[\fa|ncyplain|
|000011c0| 7b 7d 7b 5c 73 6c 5c 6c | 65 66 74 6d 61 72 6b 7d |{}{\sl\l|eftmark}|
|000011d0| 5d 7b 5c 66 61 6e 63 79 | 70 6c 61 69 6e 7b 7d 7b |]{\fancy|plain{}{|
|000011e0| 5c 73 6c 5c 72 69 67 68 | 74 6d 61 72 6b 7d 7d 0a |\sl\righ|tmark}}.|
|000011f0| 25 20 20 69 2e 65 2e 20 | 65 6d 70 74 79 20 6f 6e |% i.e. |empty on|
|00001200| 20 60 60 70 6c 61 69 6e | 27 27 20 70 61 67 65 73 | ``plain|'' pages|
|00001210| 20 5c 6c 65 66 74 6d 61 | 72 6b 20 6f 6e 20 65 76 | \leftma|rk on ev|
|00001220| 65 6e 2c 20 5c 72 69 67 | 68 74 6d 61 72 6b 20 6f |en, \rig|htmark o|
|00001230| 6e 20 6f 64 64 20 70 61 | 67 65 73 0a 5c 6c 66 6f |n odd pa|ges.\lfo|
|00001240| 6f 74 7b 7d 0a 5c 63 66 | 6f 6f 74 7b 5c 72 6d 5c |ot{}.\cf|oot{\rm\|
|00001250| 74 68 65 70 61 67 65 7d | 20 25 20 70 61 67 65 20 |thepage}| % page |
|00001260| 6e 75 6d 62 65 72 0a 5c | 72 66 6f 6f 74 7b 7d 0a |number.\|rfoot{}.|
|00001270| 0a 0a 45 78 61 6d 70 6c | 65 73 0a 0a 54 6f 20 70 |..Exampl|es..To p|
|00001280| 75 74 20 74 77 6f 20 6c | 69 6e 65 73 20 63 6f 6e |ut two l|ines con|
|00001290| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 73 65 63 74 |taining |the sect|
|000012a0| 69 6f 6e 20 74 69 74 6c | 65 20 61 6e 64 20 74 68 |ion titl|e and th|
|000012b0| 65 20 73 75 62 73 65 63 | 74 69 6f 6e 20 74 69 74 |e subsec|tion tit|
|000012c0| 6c 65 0a 69 6e 20 74 68 | 65 20 72 69 67 68 74 68 |le.in th|e righth|
|000012d0| 61 6e 64 73 69 64 65 20 | 63 6f 72 6e 65 72 2c 20 |andside |corner, |
|000012e0| 75 73 65 3a 0a 0a 5c 64 | 6f 63 75 6d 65 6e 74 73 |use:..\d|ocuments|
|000012f0| 74 79 6c 65 5b 66 61 6e | 63 79 68 65 61 64 69 6e |tyle[fan|cyheadin|
|00001300| 67 73 5d 7b 61 72 74 69 | 63 6c 65 7d 0a 5c 70 61 |gs]{arti|cle}.\pa|
|00001310| 67 65 73 74 79 6c 65 7b | 66 61 6e 63 79 7d 0a 5c |gestyle{|fancy}.\|
|00001320| 72 65 6e 65 77 63 6f 6d | 6d 61 6e 64 7b 5c 73 65 |renewcom|mand{\se|
|00001330| 63 74 69 6f 6e 6d 61 72 | 6b 7d 5b 31 5d 7b 5c 6d |ctionmar|k}[1]{\m|
|00001340| 61 72 6b 62 6f 74 68 7b | 23 31 7d 7b 7d 7d 0a 5c |arkboth{|#1}{}}.\|
|00001350| 72 65 6e 65 77 63 6f 6d | 6d 61 6e 64 7b 5c 73 75 |renewcom|mand{\su|
|00001360| 62 73 65 63 74 69 6f 6e | 6d 61 72 6b 7d 5b 31 5d |bsection|mark}[1]|
|00001370| 7b 5c 6d 61 72 6b 72 69 | 67 68 74 7b 23 31 7d 7d |{\markri|ght{#1}}|
|00001380| 0a 5c 72 66 6f 6f 74 7b | 5c 6c 65 66 74 6d 61 72 |.\rfoot{|\leftmar|
|00001390| 6b 5c 5c 5c 72 69 67 68 | 74 6d 61 72 6b 7d 0a 0a |k\\\righ|tmark}..|
|000013a0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 65 |The foll|owing de|
|000013b0| 66 69 6e 69 74 69 6f 6e | 73 20 67 69 76 65 20 61 |finition|s give a|
|000013c0| 6e 20 61 70 70 72 6f 78 | 69 6d 61 74 69 6f 6e 20 |n approx|imation |
|000013d0| 6f 66 20 74 68 65 20 73 | 74 79 6c 65 20 75 73 65 |of the s|tyle use|
|000013e0| 64 20 69 6e 20 74 68 65 | 0a 4c 61 54 65 58 20 62 |d in the|.LaTeX b|
|000013f0| 6f 6f 6b 3a 0a 0a 5c 64 | 6f 63 75 6d 65 6e 74 73 |ook:..\d|ocuments|
|00001400| 74 79 6c 65 5b 66 61 6e | 63 79 68 65 61 64 69 6e |tyle[fan|cyheadin|
|00001410| 67 73 5d 7b 62 6f 6f 6b | 7d 0a 5c 70 61 67 65 73 |gs]{book|}.\pages|
|00001420| 74 79 6c 65 7b 66 61 6e | 63 79 70 6c 61 69 6e 7d |tyle{fan|cyplain}|
|00001430| 0a 5c 61 64 64 74 6f 6c | 65 6e 67 74 68 7b 5c 68 |.\addtol|ength{\h|
|00001440| 65 61 64 77 69 64 74 68 | 7d 7b 5c 6d 61 72 67 69 |eadwidth|}{\margi|
|00001450| 6e 70 61 72 73 65 70 7d | 0a 5c 61 64 64 74 6f 6c |nparsep}|.\addtol|
|00001460| 65 6e 67 74 68 7b 5c 68 | 65 61 64 77 69 64 74 68 |ength{\h|eadwidth|
|00001470| 7d 7b 5c 6d 61 72 67 69 | 6e 70 61 72 77 69 64 74 |}{\margi|nparwidt|
|00001480| 68 7d 0a 5c 72 65 6e 65 | 77 63 6f 6d 6d 61 6e 64 |h}.\rene|wcommand|
|00001490| 7b 5c 63 68 61 70 74 65 | 72 6d 61 72 6b 7d 5b 31 |{\chapte|rmark}[1|
|000014a0| 5d 7b 5c 6d 61 72 6b 62 | 6f 74 68 7b 23 31 7d 7b |]{\markb|oth{#1}{|
|000014b0| 23 31 7d 7d 20 25 20 72 | 65 6d 65 6d 62 65 72 20 |#1}} % r|emember |
|000014c0| 63 68 61 70 74 65 72 20 | 74 69 74 6c 65 0a 5c 72 |chapter |title.\r|
|000014d0| 65 6e 65 77 63 6f 6d 6d | 61 6e 64 7b 5c 73 65 63 |enewcomm|and{\sec|
|000014e0| 74 69 6f 6e 6d 61 72 6b | 7d 5b 31 5d 7b 5c 6d 61 |tionmark|}[1]{\ma|
|000014f0| 72 6b 72 69 67 68 74 7b | 5c 74 68 65 73 65 63 74 |rkright{|\thesect|
|00001500| 69 6f 6e 5c 20 23 31 7d | 7d 0a 20 20 20 20 20 20 |ion\ #1}|}. |
|00001510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001530| 20 20 20 20 20 20 20 20 | 20 20 25 20 73 65 63 74 | | % sect|
|00001540| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 61 6e 64 20 74 |ion numb|er and t|
|00001550| 69 74 6c 65 0a 5c 6c 68 | 65 61 64 5b 5c 66 61 6e |itle.\lh|ead[\fan|
|00001560| 63 79 70 6c 61 69 6e 7b | 7d 7b 5c 62 66 5c 74 68 |cyplain{|}{\bf\th|
|00001570| 65 70 61 67 65 7d 5d 7b | 5c 66 61 6e 63 79 70 6c |epage}]{|\fancypl|
|00001580| 61 69 6e 7b 7d 7b 5c 62 | 66 5c 72 69 67 68 74 6d |ain{}{\b|f\rightm|
|00001590| 61 72 6b 7d 7d 0a 5c 72 | 68 65 61 64 5b 5c 66 61 |ark}}.\r|head[\fa|
|000015a0| 6e 63 79 70 6c 61 69 6e | 7b 7d 7b 5c 62 66 5c 6c |ncyplain|{}{\bf\l|
|000015b0| 65 66 74 6d 61 72 6b 7d | 5d 7b 5c 66 61 6e 63 79 |eftmark}|]{\fancy|
|000015c0| 70 6c 61 69 6e 7b 7d 7b | 5c 62 66 5c 74 68 65 70 |plain{}{|\bf\thep|
|000015d0| 61 67 65 7d 7d 0a 5c 63 | 66 6f 6f 74 7b 7d 0a |age}}.\c|foot{}. |
+--------+-------------------------+-------------------------+--------+--------+