home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3.4.17 [SPARC, PA-RISC] / nextstep33_risc.iso / NextLibrary / TeX / tex / inputs / ifthen.sty < prev    next >
LaTeX Document  |  1995-02-07  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: ifthen.sty

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX auxiliary file 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 20 49 46 54 48 45 4e | 20 44 4f 43 55 4d 45 4e |% IFTHEN| DOCUMEN|
|00000010| 54 2d 53 54 59 4c 45 20 | 4f 50 54 49 4f 4e 20 2d |T-STYLE |OPTION -|
|00000020| 20 72 65 6c 65 61 73 65 | 64 20 31 36 20 4a 75 6e | release|d 16 Jun|
|00000030| 65 20 31 39 39 31 0a 25 | 20 20 20 20 66 6f 72 20 |e 1991.%| for |
|00000040| 4c 61 54 65 58 20 76 65 | 72 73 69 6f 6e 20 32 2e |LaTeX ve|rsion 2.|
|00000050| 30 39 0a 25 20 43 6f 70 | 79 72 69 67 68 74 20 28 |09.% Cop|yright (|
|00000060| 43 29 20 31 39 39 31 20 | 62 79 20 4c 65 73 6c 69 |C) 1991 |by Lesli|
|00000070| 65 20 4c 61 6d 70 6f 72 | 74 0a 0a 5c 74 79 70 65 |e Lampor|t..\type|
|00000080| 6f 75 74 7b 44 6f 63 75 | 6d 65 6e 74 20 53 74 79 |out{Docu|ment Sty|
|00000090| 6c 65 20 4f 70 74 69 6f | 6e 20 27 69 66 74 68 65 |le Optio|n 'ifthe|
|000000a0| 6e 27 20 2d 2d 20 52 65 | 6c 65 61 73 65 64 20 31 |n' -- Re|leased 1|
|000000b0| 36 20 4a 75 6e 65 20 31 | 39 39 31 2e 7d 0a 0a 5c |6 June 1|991.}..\|
|000000c0| 6c 6f 6e 67 5c 64 65 66 | 5c 69 66 74 68 65 6e 65 |long\def|\ifthene|
|000000d0| 6c 73 65 23 31 23 32 23 | 33 7b 5c 73 65 74 62 6f |lse#1#2#|3{\setbo|
|000000e0| 78 5c 40 74 65 6d 70 62 | 6f 78 61 0a 20 20 5c 76 |x\@tempb|oxa. \v|
|000000f0| 62 6f 78 7b 5c 6c 65 74 | 5c 70 72 6f 74 65 63 74 |box{\let|\protect|
|00000100| 5c 6e 6f 65 78 70 61 6e | 64 0a 20 20 20 20 20 20 |\noexpan|d. |
|00000110| 20 20 5c 6c 65 74 5c 6f | 72 5c 40 6f 72 20 5c 6c | \let\o|r\@or \l|
|00000120| 65 74 5c 61 6e 64 5c 40 | 61 6e 64 20 5c 6c 65 74 |et\and\@|and \let|
|00000130| 5c 6e 6f 74 5c 40 6e 65 | 67 0a 20 20 20 20 20 20 |\not\@ne|g. |
|00000140| 20 20 5c 6c 65 74 5c 28 | 5c 40 6c 70 61 72 65 6e | \let\(|\@lparen|
|00000150| 20 5c 6c 65 74 5c 29 5c | 40 72 70 61 72 65 6e 0a | \let\)\|@rparen.|
|00000160| 20 20 20 20 20 20 20 20 | 7b 5c 6c 65 74 5c 69 66 | |{\let\if|
|00000170| 5c 72 65 6c 61 78 5c 6c | 65 74 5c 69 66 78 5c 72 |\relax\l|et\ifx\r|
|00000180| 65 6c 61 78 5c 6c 65 74 | 5c 69 66 6e 75 6d 5c 72 |elax\let|\ifnum\r|
|00000190| 65 6c 61 78 5c 6c 65 74 | 5c 66 69 5c 72 65 6c 61 |elax\let|\fi\rela|
|000001a0| 78 0a 20 20 20 20 20 20 | 20 20 5c 6c 65 74 5c 65 |x. | \let\e|
|000001b0| 6c 73 65 5c 72 65 6c 61 | 78 20 5c 78 64 65 66 5c |lse\rela|x \xdef\|
|000001c0| 40 67 74 65 6d 70 61 7b | 23 31 7d 7d 5c 65 78 70 |@gtempa{|#1}}\exp|
|000001d0| 61 6e 64 61 66 74 65 72 | 0a 20 20 20 20 20 20 20 |andafter|. |
|000001e0| 20 5c 40 65 76 61 6c 20 | 5c 69 66 6e 75 6d 20 5c | \@eval |\ifnum \|
|000001f0| 40 67 74 65 6d 70 61 5c | 72 65 6c 61 78 20 5c 64 |@gtempa\|relax \d|
|00000200| 65 66 5c 40 74 65 72 6d | 7b 54 7d 5c 65 6c 73 65 |ef\@term|{T}\else|
|00000210| 20 5c 64 65 66 5c 40 74 | 65 72 6d 7b 46 7d 5c 66 | \def\@t|erm{F}\f|
|00000220| 69 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 40 |i. | \@|
|00000230| 65 6e 64 65 76 61 6c 5c | 67 6c 6f 62 61 6c 5c 6c |endeval\|global\l|
|00000240| 65 74 5c 40 67 74 65 6d | 70 61 5c 40 76 61 6c 7d |et\@gtem|pa\@val}|
|00000250| 5c 69 66 5c 40 67 74 65 | 6d 70 61 20 54 23 32 5c |\if\@gte|mpa T#2\|
|00000260| 65 6c 73 65 23 33 5c 66 | 69 7d 0a 0a 5c 64 65 66 |else#3\f|i}..\def|
|00000270| 5c 40 65 76 61 6c 7b 5c | 64 65 66 5c 40 76 61 6c |\@eval{\|def\@val|
|00000280| 7b 46 7d 5c 64 65 66 5c | 40 6f 72 6f 70 7b 54 7d |{F}\def\|@orop{T}|
|00000290| 5c 64 65 66 5c 40 6e 65 | 67 61 74 65 7b 46 7d 7d |\def\@ne|gate{F}}|
|000002a0| 0a 0a 5c 64 65 66 5c 40 | 65 6e 64 65 76 61 6c 7b |..\def\@|endeval{|
|000002b0| 5c 69 66 5c 40 6e 65 67 | 61 74 65 20 54 5c 64 65 |\if\@neg|ate T\de|
|000002c0| 66 5c 40 6e 65 67 61 74 | 65 7b 46 7d 5c 69 66 5c |f\@negat|e{F}\if\|
|000002d0| 40 74 65 72 6d 20 54 5c | 64 65 66 5c 40 74 65 72 |@term T\|def\@ter|
|000002e0| 6d 7b 46 7d 5c 65 6c 73 | 65 0a 20 20 20 20 20 20 |m{F}\els|e. |
|000002f0| 20 20 20 20 20 20 20 20 | 20 5c 64 65 66 5c 40 74 | | \def\@t|
|00000300| 65 72 6d 7b 54 7d 5c 66 | 69 5c 66 69 0a 20 20 20 |erm{T}\f|i\fi. |
|00000310| 20 20 20 20 5c 69 66 5c | 40 6f 72 6f 70 20 54 5c | \if\|@orop T\|
|00000320| 69 66 5c 40 76 61 6c 20 | 46 5c 6c 65 74 5c 40 76 |if\@val |F\let\@v|
|00000330| 61 6c 5c 40 74 65 72 6d | 5c 66 69 0a 20 20 20 20 |al\@term|\fi. |
|00000340| 20 20 20 20 20 20 20 20 | 20 5c 65 6c 73 65 20 5c | | \else \|
|00000350| 69 66 5c 40 76 61 6c 20 | 54 5c 6c 65 74 5c 40 76 |if\@val |T\let\@v|
|00000360| 61 6c 5c 40 74 65 72 6d | 5c 66 69 5c 66 69 7d 0a |al\@term|\fi\fi}.|
|00000370| 0a 5c 64 65 66 5c 40 6f | 72 7b 5c 72 65 6c 61 78 |.\def\@o|r{\relax|
|00000380| 5c 64 65 66 5c 6e 6f 65 | 78 70 61 6e 64 5c 40 74 |\def\noe|xpand\@t|
|00000390| 65 72 6d 7b 54 7d 5c 65 | 6c 73 65 20 5c 64 65 66 |erm{T}\e|lse \def|
|000003a0| 5c 6e 6f 65 78 70 61 6e | 64 5c 40 74 65 72 6d 7b |\noexpan|d\@term{|
|000003b0| 46 7d 5c 66 69 0a 20 20 | 20 20 20 20 20 20 20 5c |F}\fi. | \|
|000003c0| 6e 6f 65 78 70 61 6e 64 | 5c 40 65 6e 64 65 76 61 |noexpand|\@endeva|
|000003d0| 6c 20 5c 64 65 66 5c 6e | 6f 65 78 70 61 6e 64 5c |l \def\n|oexpand\|
|000003e0| 40 6f 72 6f 70 7b 54 7d | 5c 69 66 6e 75 6d 7d 0a |@orop{T}|\ifnum}.|
|000003f0| 0a 5c 64 65 66 5c 40 61 | 6e 64 7b 5c 72 65 6c 61 |.\def\@a|nd{\rela|
|00000400| 78 5c 64 65 66 5c 6e 6f | 65 78 70 61 6e 64 5c 40 |x\def\no|expand\@|
|00000410| 74 65 72 6d 7b 54 7d 5c | 65 6c 73 65 20 5c 64 65 |term{T}\|else \de|
|00000420| 66 5c 6e 6f 65 78 70 61 | 6e 64 5c 40 74 65 72 6d |f\noexpa|nd\@term|
|00000430| 7b 46 7d 5c 66 69 0a 20 | 20 20 20 20 20 20 20 20 |{F}\fi. | |
|00000440| 20 5c 6e 6f 65 78 70 61 | 6e 64 5c 40 65 6e 64 65 | \noexpa|nd\@ende|
|00000450| 76 61 6c 5c 64 65 66 5c | 6e 6f 65 78 70 61 6e 64 |val\def\|noexpand|
|00000460| 5c 40 6f 72 6f 70 7b 46 | 7d 5c 69 66 6e 75 6d 7d |\@orop{F|}\ifnum}|
|00000470| 0a 0a 5c 64 65 66 5c 40 | 6e 65 67 7b 31 3d 31 20 |..\def\@|neg{1=1 |
|00000480| 5c 66 69 20 5c 64 65 66 | 5c 6e 6f 65 78 70 61 6e |\fi \def|\noexpan|
|00000490| 64 5c 40 6e 65 67 61 74 | 65 7b 54 7d 5c 69 66 6e |d\@negat|e{T}\ifn|
|000004a0| 75 6d 7d 0a 0a 5c 64 65 | 66 5c 40 6c 70 61 72 65 |um}..\de|f\@lpare|
|000004b0| 6e 7b 31 3d 31 20 5c 66 | 69 20 5c 62 65 67 69 6e |n{1=1 \f|i \begin|
|000004c0| 67 72 6f 75 70 20 5c 6e | 6f 65 78 70 61 6e 64 5c |group \n|oexpand\|
|000004d0| 40 65 76 61 6c 20 5c 69 | 66 6e 75 6d 7d 0a 0a 5c |@eval \i|fnum}..\|
|000004e0| 64 65 66 5c 40 72 70 61 | 72 65 6e 7b 5c 72 65 6c |def\@rpa|ren{\rel|
|000004f0| 61 78 5c 64 65 66 5c 6e | 6f 65 78 70 61 6e 64 5c |ax\def\n|oexpand\|
|00000500| 40 74 65 72 6d 7b 54 7d | 5c 65 6c 73 65 20 5c 64 |@term{T}|\else \d|
|00000510| 65 66 5c 6e 6f 65 78 70 | 61 6e 64 5c 40 74 65 72 |ef\noexp|and\@ter|
|00000520| 6d 7b 46 7d 5c 66 69 0a | 20 20 20 20 20 20 20 20 |m{F}\fi.| |
|00000530| 20 20 20 20 20 5c 6e 6f | 65 78 70 61 6e 64 5c 40 | \no|expand\@|
|00000540| 65 6e 64 65 76 61 6c 0a | 20 20 20 20 20 20 20 20 |endeval.| |
|00000550| 20 20 20 20 20 5c 69 66 | 5c 6e 6f 65 78 70 61 6e | \if|\noexpan|
|00000560| 64 5c 40 76 61 6c 20 54 | 5c 67 64 65 66 5c 6e 6f |d\@val T|\gdef\no|
|00000570| 65 78 70 61 6e 64 5c 40 | 67 74 65 6d 70 62 7b 31 |expand\@|gtempb{1|
|00000580| 3d 31 7d 5c 65 6c 73 65 | 0a 20 20 20 20 20 20 20 |=1}\else|. |
|00000590| 20 20 20 20 20 5c 67 64 | 65 66 5c 6e 6f 65 78 70 | \gd|ef\noexp|
|000005a0| 61 6e 64 5c 40 67 74 65 | 6d 70 62 7b 31 3d 30 7d |and\@gte|mpb{1=0}|
|000005b0| 5c 66 69 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |\fi. | |
|000005c0| 5c 65 6e 64 67 72 6f 75 | 70 20 5c 69 66 6e 75 6d |\endgrou|p \ifnum|
|000005d0| 5c 6e 6f 65 78 70 61 6e | 64 5c 40 67 74 65 6d 70 |\noexpan|d\@gtemp|
|000005e0| 62 7d 0a 0a 5c 64 65 66 | 5c 65 71 75 61 6c 23 31 |b}..\def|\equal#1|
|000005f0| 23 32 7b 31 3d 31 20 5c | 66 69 20 5c 65 64 65 66 |#2{1=1 \|fi \edef|
|00000600| 5c 6e 6f 65 78 70 61 6e | 64 5c 40 74 65 6d 70 61 |\noexpan|d\@tempa|
|00000610| 7b 23 31 7d 25 0a 20 20 | 20 20 20 20 20 20 20 20 |{#1}%. | |
|00000620| 20 20 20 20 20 5c 65 64 | 65 66 5c 6e 6f 65 78 70 | \ed|ef\noexp|
|00000630| 61 6e 64 5c 40 74 65 6d | 70 65 7b 23 32 7d 5c 69 |and\@tem|pe{#2}\i|
|00000640| 66 78 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |fx. | |
|00000650| 20 20 20 5c 6e 6f 65 78 | 70 61 6e 64 5c 40 74 65 | \noex|pand\@te|
|00000660| 6d 70 61 5c 6e 6f 65 78 | 70 61 6e 64 5c 40 74 65 |mpa\noex|pand\@te|
|00000670| 6d 70 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |mpe. | |
|00000680| 20 20 20 20 5c 64 65 66 | 5c 6e 6f 65 78 70 61 6e | \def|\noexpan|
|00000690| 64 5c 40 74 65 6d 70 61 | 7b 31 3d 31 7d 5c 65 6c |d\@tempa|{1=1}\el|
|000006a0| 73 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|000006b0| 20 20 20 5c 64 65 66 5c | 6e 6f 65 78 70 61 6e 64 | \def\|noexpand|
|000006c0| 5c 40 74 65 6d 70 61 7b | 31 3d 30 7d 5c 66 69 20 |\@tempa{|1=0}\fi |
|000006d0| 5c 69 66 6e 75 6d 20 5c | 6e 6f 65 78 70 61 6e 64 |\ifnum \|noexpand|
|000006e0| 5c 40 74 65 6d 70 61 7d | 0a 0a 5c 6c 6f 6e 67 5c |\@tempa}|..\long\|
|000006f0| 64 65 66 5c 77 68 69 6c | 65 64 6f 23 31 23 32 7b |def\whil|edo#1#2{|
|00000700| 5c 69 66 74 68 65 6e 65 | 6c 73 65 7b 23 31 7d 7b |\ifthene|lse{#1}{|
|00000710| 5c 40 77 68 69 6c 65 64 | 6f 74 72 75 65 20 5c 40 |\@whiled|otrue \@|
|00000720| 77 68 69 6c 65 73 77 5c | 69 66 40 77 68 69 6c 65 |whilesw\|if@while|
|00000730| 64 6f 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |do. | |
|00000740| 20 5c 66 69 7b 23 32 5c | 69 66 74 68 65 6e 65 6c | \fi{#2\|ifthenel|
|00000750| 73 65 7b 23 31 7d 7b 5c | 40 77 68 69 6c 65 64 6f |se{#1}{\|@whiledo|
|00000760| 74 72 75 65 7d 7b 5c 40 | 77 68 69 6c 65 64 6f 66 |true}{\@|whiledof|
|00000770| 61 6c 73 65 7d 7d 7d 7b | 7d 7d 0a 0a 5c 6e 65 77 |alse}}}{|}}..\new|
|00000780| 69 66 5c 69 66 40 77 68 | 69 6c 65 64 6f 0a 0a 5c |if\if@wh|iledo..\|
|00000790| 65 6e 64 69 6e 70 75 74 | 0a |endinput|. |
+--------+-------------------------+-------------------------+--------+--------+