home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / latexsty3 / ROMANNEG / sty
LaTeX Document  |  1990-01-16  |  2.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, ASCII text, with CRLF line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 09 72 6f 6d 61 6e | 6e 65 67 2e 73 74 79 20 |% .roman|neg.sty |
|00000010| 2d 2d 2d 20 4c 61 54 65 | 58 20 73 74 79 6c 65 20 |--- LaTe|X style |
|00000020| 6f 70 74 69 6f 6e 20 66 | 6f 72 20 6e 65 67 61 74 |option f|or negat|
|00000030| 69 76 65 20 70 61 67 65 | 20 6e 75 6d 62 65 72 73 |ive page| numbers|
|00000040| 0d 0a 25 09 09 09 20 77 | 68 65 6e 20 69 6e 20 72 |..%... w|hen in r|
|00000050| 6f 6d 61 6e 0d 0a 25 0d | 0a 25 20 54 68 69 73 20 |oman..%.|.% This |
|00000060| 73 74 79 6c 65 20 6f 70 | 74 69 6f 6e 20 73 68 6f |style op|tion sho|
|00000070| 75 6c 64 20 6e 6f 74 20 | 63 68 61 6e 67 65 20 74 |uld not |change t|
|00000080| 68 65 20 61 70 70 65 61 | 72 61 6e 63 65 20 6f 66 |he appea|rance of|
|00000090| 20 61 20 64 6f 63 75 6d | 65 6e 74 2c 0d 0a 25 20 | a docum|ent,..% |
|000000a0| 62 75 74 20 6d 65 72 65 | 6c 79 20 63 68 61 6e 67 |but mere|ly chang|
|000000b0| 65 20 74 68 65 20 70 61 | 67 65 20 6e 75 6d 62 65 |e the pa|ge numbe|
|000000c0| 72 73 20 28 61 73 20 64 | 65 66 69 6e 65 64 20 62 |rs (as d|efined b|
|000000d0| 79 20 5c 63 6f 75 6e 74 | 30 29 20 69 6e 20 74 68 |y \count|0) in th|
|000000e0| 65 0d 0a 25 20 44 56 49 | 20 66 69 6c 65 20 74 6f |e..% DVI| file to|
|000000f0| 20 62 65 20 6e 65 67 61 | 74 69 76 65 20 77 68 65 | be nega|tive whe|
|00000100| 6e 20 72 6f 6d 61 6e 20 | 70 61 67 65 6e 75 6d 62 |n roman |pagenumb|
|00000110| 65 72 69 6e 67 20 69 73 | 20 69 6e 20 75 73 65 2e |ering is| in use.|
|00000120| 0d 0a 0d 0a 25 20 54 6f | 20 64 6f 20 74 68 69 73 |....% To| do this|
|00000130| 2c 20 74 68 65 20 5c 40 | 73 74 65 70 70 61 67 65 |, the \@|steppage|
|00000140| 63 6f 75 6e 74 65 72 20 | 6d 61 63 72 6f 20 69 6e |counter |macro in|
|00000150| 63 72 65 6d 65 6e 74 73 | 20 74 68 65 20 61 62 73 |crements| the abs|
|00000160| 6f 6c 75 74 65 0d 0a 25 | 20 76 61 6c 75 65 20 6f |olute..%| value o|
|00000170| 66 20 5c 63 6f 75 6e 74 | 30 0d 0a 5c 64 65 66 5c |f \count|0..\def\|
|00000180| 40 73 74 65 70 70 61 67 | 65 63 6f 75 6e 74 65 72 |@steppag|ecounter|
|00000190| 7b 25 20 62 61 73 65 64 | 20 6f 6e 20 5c 61 64 76 |{% based| on \adv|
|000001a0| 61 6e 63 65 70 61 67 65 | 6e 6f 2c 20 54 65 58 62 |ancepage|no, TeXb|
|000001b0| 6f 6f 6b 2c 20 70 2e 33 | 36 32 0d 0a 20 20 5c 69 |ook, p.3|62.. \i|
|000001c0| 66 6e 75 6d 5c 63 40 70 | 61 67 65 3c 5c 7a 40 20 |fnum\c@p|age<\z@ |
|000001d0| 5c 67 6c 6f 62 61 6c 5c | 61 64 76 61 6e 63 65 5c |\global\|advance\|
|000001e0| 63 40 70 61 67 65 5c 6d | 40 6e 65 0d 0a 20 20 5c |c@page\m|@ne.. \|
|000001f0| 65 6c 73 65 5c 67 6c 6f | 62 61 6c 5c 61 64 76 61 |else\glo|bal\adva|
|00000200| 6e 63 65 5c 63 40 70 61 | 67 65 5c 40 6e 65 20 5c |nce\c@pa|ge\@ne \|
|00000210| 66 69 7d 20 25 20 69 6e | 63 72 65 61 73 65 20 7c |fi} % in|crease ||
|00000220| 63 40 70 61 67 65 7c 0d | 0a 0d 0a 25 20 54 68 65 |c@page|.|...% The|
|00000230| 20 6f 75 74 70 75 74 20 | 72 6f 75 74 69 6e 65 20 | output |routine |
|00000240| 69 73 20 73 6c 69 67 68 | 74 6c 79 20 6d 6f 64 69 |is sligh|tly modi|
|00000250| 66 69 65 64 20 73 6f 20 | 74 68 61 74 20 5c 40 73 |fied so |that \@s|
|00000260| 74 65 70 70 61 67 65 63 | 6f 75 6e 74 65 72 20 69 |teppagec|ounter i|
|00000270| 73 0d 0a 25 20 75 73 65 | 64 2e 20 20 57 65 20 61 |s..% use|d. We a|
|00000280| 73 73 75 6d 65 20 61 29 | 20 74 68 61 74 20 74 68 |ssume a)| that th|
|00000290| 65 20 70 61 67 65 20 63 | 6f 75 6e 74 65 72 20 69 |e page c|ounter i|
|000002a0| 73 20 6f 6e 6c 79 20 6d | 6f 64 69 66 69 65 64 20 |s only m|odified |
|000002b0| 69 6e 20 74 68 65 0d 0a | 25 20 6f 75 74 70 75 74 |in the..|% output|
|000002c0| 20 72 6f 75 74 69 6e 65 | 2c 20 61 6e 64 20 62 79 | routine|, and by|
|000002d0| 20 5c 70 61 67 65 6e 75 | 6d 62 65 72 69 6e 67 2c | \pagenu|mbering,|
|000002e0| 20 61 6e 64 0d 0a 25 20 | 62 29 20 74 68 65 20 6f | and..% |b) the o|
|000002f0| 75 74 70 75 74 20 72 6f | 75 74 69 6e 65 20 62 65 |utput ro|utine be|
|00000300| 6c 6f 77 20 69 73 20 6f | 74 68 65 72 77 69 73 65 |low is o|therwise|
|00000310| 20 69 64 65 6e 74 69 63 | 61 6c 20 74 6f 20 74 68 | identic|al to th|
|00000320| 61 74 20 64 65 66 69 6e | 65 64 0d 0a 25 20 62 79 |at defin|ed..% by|
|00000330| 20 4c 61 54 65 58 2e 20 | 20 54 68 69 73 20 73 68 | LaTeX. | This sh|
|00000340| 6f 75 6c 64 20 62 65 20 | 63 68 65 63 6b 65 64 20 |ould be |checked |
|00000350| 62 65 66 6f 72 65 20 69 | 6e 73 74 61 6c 6c 61 74 |before i|nstallat|
|00000360| 69 6f 6e 2e 0d 0a 5c 64 | 65 66 5c 40 6f 75 74 70 |ion...\d|ef\@outp|
|00000370| 75 74 70 61 67 65 7b 5c | 62 65 67 69 6e 67 72 6f |utpage{\|begingro|
|00000380| 75 70 5c 63 61 74 63 6f | 64 65 60 5c 20 3d 31 30 |up\catco|de`\ =10|
|00000390| 20 5c 69 66 40 73 70 65 | 63 69 61 6c 70 61 67 65 | \if@spe|cialpage|
|000003a0| 20 0d 0a 20 20 20 20 20 | 5c 67 6c 6f 62 61 6c 5c | .. |\global\|
|000003b0| 40 73 70 65 63 69 61 6c | 70 61 67 65 66 61 6c 73 |@special|pagefals|
|000003c0| 65 5c 40 6e 61 6d 65 75 | 73 65 7b 70 73 40 5c 40 |e\@nameu|se{ps@\@|
|000003d0| 73 70 65 63 69 61 6c 73 | 74 79 6c 65 7d 5c 66 69 |specials|tyle}\fi|
|000003e0| 0d 0a 20 20 20 20 20 5c | 69 66 40 74 77 6f 73 69 |.. \|if@twosi|
|000003f0| 64 65 20 0d 0a 20 20 20 | 20 20 20 20 5c 69 66 6f |de .. | \ifo|
|00000400| 64 64 5c 63 6f 75 6e 74 | 5c 7a 40 20 5c 6c 65 74 |dd\count|\z@ \let|
|00000410| 5c 40 74 68 65 68 65 61 | 64 5c 40 6f 64 64 68 65 |\@thehea|d\@oddhe|
|00000420| 61 64 20 5c 6c 65 74 5c | 40 74 68 65 66 6f 6f 74 |ad \let\|@thefoot|
|00000430| 5c 40 6f 64 64 66 6f 6f | 74 0d 0a 20 20 20 20 20 |\@oddfoo|t.. |
|00000440| 20 20 20 20 20 20 20 5c | 6c 65 74 5c 40 74 68 65 | \|let\@the|
|00000450| 6d 61 72 67 69 6e 5c 6f | 64 64 73 69 64 65 6d 61 |margin\o|ddsidema|
|00000460| 72 67 69 6e 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |rgin.. | |
|00000470| 5c 65 6c 73 65 20 5c 6c | 65 74 5c 40 74 68 65 68 |\else \l|et\@theh|
|00000480| 65 61 64 5c 40 65 76 65 | 6e 68 65 61 64 0d 0a 20 |ead\@eve|nhead.. |
|00000490| 20 20 20 20 20 20 20 20 | 20 5c 6c 65 74 5c 40 74 | | \let\@t|
|000004a0| 68 65 66 6f 6f 74 5c 40 | 65 76 65 6e 66 6f 6f 74 |hefoot\@|evenfoot|
|000004b0| 20 5c 6c 65 74 5c 40 74 | 68 65 6d 61 72 67 69 6e | \let\@t|hemargin|
|000004c0| 5c 65 76 65 6e 73 69 64 | 65 6d 61 72 67 69 6e 0d |\evensid|emargin.|
|000004d0| 0a 20 20 20 20 20 5c 66 | 69 5c 66 69 0d 0a 20 20 |. \f|i\fi.. |
|000004e0| 20 20 20 5c 73 68 69 70 | 6f 75 74 0d 0a 20 20 20 | \ship|out.. |
|000004f0| 20 20 5c 76 62 6f 78 7b | 5c 6e 6f 72 6d 61 6c 73 | \vbox{|\normals|
|00000500| 69 7a 65 20 5c 62 61 73 | 65 6c 69 6e 65 73 6b 69 |ize \bas|elineski|
|00000510| 70 5c 7a 40 20 5c 6c 69 | 6e 65 73 6b 69 70 5c 7a |p\z@ \li|neskip\z|
|00000520| 40 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 5c 76 |@.. | \v|
|00000530| 73 6b 69 70 20 5c 74 6f | 70 6d 61 72 67 69 6e 20 |skip \to|pmargin |
|00000540| 5c 6d 6f 76 65 72 69 67 | 68 74 5c 40 74 68 65 6d |\moverig|ht\@them|
|00000550| 61 72 67 69 6e 0d 0a 20 | 20 20 20 20 20 20 20 20 |argin.. | |
|00000560| 20 20 5c 76 62 6f 78 7b | 5c 73 65 74 62 6f 78 5c | \vbox{|\setbox\|
|00000570| 40 74 65 6d 70 62 6f 78 | 61 0d 0a 20 20 20 20 20 |@tempbox|a.. |
|00000580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 76 | | \v|
|00000590| 62 6f 78 20 74 6f 5c 68 | 65 61 64 68 65 69 67 68 |box to\h|eadheigh|
|000005a0| 74 7b 5c 76 66 69 6c 20 | 5c 68 62 6f 78 20 74 6f |t{\vfil |\hbox to|
|000005b0| 5c 74 65 78 74 77 69 64 | 74 68 7b 5c 40 74 68 65 |\textwid|th{\@the|
|000005c0| 68 65 61 64 7d 7d 0d 0a | 20 20 20 20 20 20 20 20 |head}}..| |
|000005d0| 20 20 20 20 20 20 20 20 | 20 5c 64 70 5c 40 74 65 | | \dp\@te|
|000005e0| 6d 70 62 6f 78 61 5c 7a | 40 0d 0a 20 20 20 20 20 |mpboxa\z|@.. |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 62 6f 78 | | \box|
|00000600| 5c 40 74 65 6d 70 62 6f | 78 61 0d 0a 20 20 20 20 |\@tempbo|xa.. |
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 76 73 | | \vs|
|00000620| 6b 69 70 20 5c 68 65 61 | 64 73 65 70 0d 0a 20 20 |kip \hea|dsep.. |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00000640| 62 6f 78 5c 40 6f 75 74 | 70 75 74 62 6f 78 0d 0a |box\@out|putbox..|
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000660| 20 5c 62 61 73 65 6c 69 | 6e 65 73 6b 69 70 5c 66 | \baseli|neskip\f|
|00000670| 6f 6f 74 73 6b 69 70 0d | 0a 20 20 20 20 20 20 20 |ootskip.|. |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 5c 68 62 6f 78 20 | | \hbox |
|00000690| 74 6f 5c 74 65 78 74 77 | 69 64 74 68 7b 5c 40 74 |to\textw|idth{\@t|
|000006a0| 68 65 66 6f 6f 74 7d 7d | 7d 5c 67 6c 6f 62 61 6c |hefoot}}|}\global|
|000006b0| 5c 40 63 6f 6c 68 74 5c | 74 65 78 74 68 65 69 67 |\@colht\|textheig|
|000006c0| 68 74 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 5c |ht.. | \|
|000006d0| 65 6e 64 67 72 6f 75 70 | 5c 40 73 74 65 70 70 61 |endgroup|\@steppa|
|000006e0| 67 65 63 6f 75 6e 74 65 | 72 5c 6c 65 74 5c 66 69 |gecounte|r\let\fi|
|000006f0| 72 73 74 6d 61 72 6b 5c | 62 6f 74 6d 61 72 6b 7d |rstmark\|botmark}|
|00000700| 20 25 20 3c 2d 2d 20 6f | 6e 6c 79 0d 0a 09 09 09 | % <-- o|nly.....|
|00000710| 09 09 09 09 20 20 20 20 | 20 25 20 74 68 69 73 20 |.... | % this |
|00000720| 6c 69 6e 65 20 63 68 61 | 6e 67 65 64 0d 0a 09 20 |line cha|nged... |
|00000730| 20 20 0d 0a 25 20 4d 6f | 64 69 66 69 65 64 20 76 | ..% Mo|dified v|
|00000740| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 70 61 |ersion o|f the pa|
|00000750| 67 65 6e 75 6d 62 65 72 | 69 6e 67 20 63 6f 6d 6d |genumber|ing comm|
|00000760| 61 6e 64 20 74 68 61 74 | 20 73 65 74 73 20 5c 63 |and that| sets \c|
|00000770| 6f 75 6e 74 30 20 28 61 | 6b 61 0d 0a 25 20 5c 63 |ount0 (a|ka..% \c|
|00000780| 40 70 61 67 65 29 20 74 | 6f 20 2d 31 20 72 61 74 |@page) t|o -1 rat|
|00000790| 68 65 72 20 74 68 61 6e | 20 31 20 69 66 20 72 6f |her than| 1 if ro|
|000007a0| 6d 61 6e 20 6e 75 6d 62 | 65 72 69 6e 67 20 69 73 |man numb|ering is|
|000007b0| 20 73 70 65 63 69 66 69 | 65 64 2e 0d 0a 5c 64 65 | specifi|ed...\de|
|000007c0| 66 5c 70 61 67 65 6e 75 | 6d 62 65 72 69 6e 67 23 |f\pagenu|mbering#|
|000007d0| 31 7b 7b 25 0d 0a 20 20 | 5c 64 65 66 5c 40 74 6d |1{{%.. |\def\@tm|
|000007e0| 70 61 7b 23 31 7d 20 5c | 64 65 66 5c 40 74 6d 70 |pa{#1} \|def\@tmp|
|000007f0| 62 7b 72 6f 6d 61 6e 7d | 20 5c 64 65 66 5c 40 74 |b{roman}| \def\@t|
|00000800| 6d 70 63 7b 52 6f 6d 61 | 6e 7d 0d 0a 20 20 5c 69 |mpc{Roma|n}.. \i|
|00000810| 66 78 5c 40 74 6d 70 61 | 5c 40 74 6d 70 62 20 25 |fx\@tmpa|\@tmpb %|
|00000820| 20 72 6f 6d 61 6e 20 6f | 70 74 69 6f 6e 3b 20 73 | roman o|ption; s|
|00000830| 65 74 20 2d 76 65 20 70 | 61 67 65 20 6e 75 6d 62 |et -ve p|age numb|
|00000840| 65 72 2e 0d 0a 20 20 20 | 20 5c 67 6c 6f 62 61 6c |er... | \global|
|00000850| 5c 63 40 70 61 67 65 20 | 5c 6d 40 6e 65 0d 0a 20 |\c@page |\m@ne.. |
|00000860| 20 5c 65 6c 73 65 5c 69 | 66 78 5c 40 74 6d 70 61 | \else\i|fx\@tmpa|
|00000870| 5c 40 74 6d 70 63 0d 0a | 20 20 20 20 5c 67 6c 6f |\@tmpc..| \glo|
|00000880| 62 61 6c 5c 63 40 70 61 | 67 65 20 5c 6d 40 6e 65 |bal\c@pa|ge \m@ne|
|00000890| 0d 0a 20 20 5c 65 6c 73 | 65 0d 0a 20 20 20 20 5c |.. \els|e.. \|
|000008a0| 67 6c 6f 62 61 6c 5c 63 | 40 70 61 67 65 20 5c 40 |global\c|@page \@|
|000008b0| 6e 65 0d 0a 20 20 5c 66 | 69 5c 66 69 0d 0a 20 20 |ne.. \f|i\fi.. |
|000008c0| 5c 67 64 65 66 5c 74 68 | 65 70 61 67 65 7b 5c 63 |\gdef\th|epage{\c|
|000008d0| 73 6e 61 6d 65 20 40 23 | 31 5c 65 6e 64 63 73 6e |sname @#|1\endcsn|
|000008e0| 61 6d 65 20 5c 63 40 70 | 61 67 65 7d 7d 7d 0d 0a |ame \c@p|age}}}..|
|000008f0| 0d 0a 25 20 74 68 65 20 | 6d 6f 64 69 66 69 65 64 |..% the |modified|
|00000900| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 5c 40 72 | version|s of \@r|
|00000910| 6f 6d 61 6e 20 61 6e 64 | 20 5c 40 52 6f 6d 61 6e |oman and| \@Roman|
|00000920| 20 64 65 61 6c 20 77 69 | 74 68 20 6e 65 67 61 74 | deal wi|th negat|
|00000930| 69 76 65 73 0d 0a 5c 64 | 65 66 5c 40 72 6f 6d 61 |ives..\d|ef\@roma|
|00000940| 6e 6e 75 6d 65 72 61 6c | 23 31 7b 5c 69 66 6e 75 |nnumeral|#1{\ifnu|
|00000950| 6d 23 31 3c 30 20 5c 72 | 6f 6d 61 6e 6e 75 6d 65 |m#1<0 \r|omannume|
|00000960| 72 61 6c 2d 23 31 20 5c | 65 6c 73 65 5c 72 6f 6d |ral-#1 \|else\rom|
|00000970| 61 6e 6e 75 6d 65 72 61 | 6c 23 31 20 5c 66 69 7d |annumera|l#1 \fi}|
|00000980| 0d 0a 5c 64 65 66 5c 40 | 72 6f 6d 61 6e 23 31 7b |..\def\@|roman#1{|
|00000990| 5c 40 72 6f 6d 61 6e 6e | 75 6d 65 72 61 6c 20 23 |\@romann|umeral #|
|000009a0| 31 7d 0d 0a 5c 64 65 66 | 5c 40 52 6f 6d 61 6e 23 |1}..\def|\@Roman#|
|000009b0| 31 7b 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 75 |1{\expan|dafter\u|
|000009c0| 70 70 65 72 63 61 73 65 | 5c 65 78 70 61 6e 64 61 |ppercase|\expanda|
|000009d0| 66 74 65 72 7b 5c 40 72 | 6f 6d 61 6e 6e 75 6d 65 |fter{\@r|omannume|
|000009e0| 72 61 6c 20 23 31 7d 7d | 0d 0a |ral #1}}|.. |
+--------+-------------------------+-------------------------+--------+--------+