home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / maple / mtn.cls < prev    next >
LaTeX Document  |  1995-03-10  |  2.6 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)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 4c 61 54 65 58 20 | 73 74 79 6c 65 20 66 69 |% LaTeX |style fi|
|00000010| 6c 65 20 66 6f 72 20 74 | 68 65 20 4d 61 70 6c 65 |le for t|he Maple|
|00000020| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 65 77 73 6c | Technic|al Newsl|
|00000030| 65 74 74 65 72 0a 25 20 | 43 6f 70 79 72 69 67 68 |etter.% |Copyrigh|
|00000040| 74 20 31 39 39 34 2c 20 | 62 79 20 57 61 74 65 72 |t 1994, |by Water|
|00000050| 6c 6f 6f 20 4d 61 70 6c | 65 20 53 6f 66 74 77 61 |loo Mapl|e Softwa|
|00000060| 72 65 2e 20 0a 5c 4e 65 | 65 64 73 54 65 58 46 6f |re. .\Ne|edsTeXFo|
|00000070| 72 6d 61 74 7b 4c 61 54 | 65 58 32 65 7d 0a 5c 74 |rmat{LaT|eX2e}.\t|
|00000080| 79 70 65 6f 75 74 7b 7d | 0a 5c 74 79 70 65 6f 75 |ypeout{}|.\typeou|
|00000090| 74 7b 6d 74 6e 2e 63 6c | 73 3a 20 20 41 20 44 6f |t{mtn.cl|s: A Do|
|000000a0| 63 75 6d 65 6e 74 20 43 | 6c 61 73 73 20 66 6f 72 |cument C|lass for|
|000000b0| 20 74 68 65 20 4d 61 70 | 6c 65 20 54 65 63 68 6e | the Map|le Techn|
|000000c0| 69 63 61 6c 20 4e 65 77 | 73 6c 65 74 74 65 72 7d |ical New|sletter}|
|000000d0| 0a 5c 74 79 70 65 6f 75 | 74 7b 7d 0a 5c 74 79 70 |.\typeou|t{}.\typ|
|000000e0| 65 6f 75 74 7b 54 68 69 | 73 20 73 74 79 6c 65 20 |eout{Thi|s style |
|000000f0| 69 73 20 62 61 73 65 64 | 20 6f 6e 20 74 68 65 20 |is based| on the |
|00000100| 6d 61 63 72 6f 73 20 75 | 73 65 64 20 62 79 20 4d |macros u|sed by M|
|00000110| 61 70 6c 65 27 73 20 45 | 78 70 6f 72 74 20 74 6f |aple's E|xport to|
|00000120| 20 4c 61 54 65 58 2e 7d | 0a 5c 74 79 70 65 6f 75 | LaTeX.}|.\typeou|
|00000130| 74 7b 4d 61 70 6c 65 20 | 69 6e 70 75 74 20 61 6e |t{Maple |input an|
|00000140| 64 20 6f 75 74 70 75 74 | 20 61 72 65 20 73 70 65 |d output| are spe|
|00000150| 63 69 66 69 65 64 20 62 | 79 3a 7d 0a 5c 74 79 70 |cified b|y:}.\typ|
|00000160| 65 6f 75 74 7b 7d 0a 5c | 74 79 70 65 6f 75 74 7b |eout{}.\|typeout{|
|00000170| 49 6e 70 75 74 3a 7d 0a | 5c 74 79 70 65 6f 75 74 |Input:}.|\typeout|
|00000180| 7b 7d 0a 5c 74 79 70 65 | 6f 75 74 7b 20 20 20 20 |{}.\type|out{ |
|00000190| 20 20 20 20 5c 70 72 6f | 74 65 63 74 5c 62 65 67 | \pro|tect\beg|
|000001a0| 69 6e 7b 6d 61 70 6c 65 | 69 6e 70 75 74 7d 7d 0a |in{maple|input}}.|
|000001b0| 5c 74 79 70 65 6f 75 74 | 7b 20 20 20 20 20 20 20 |\typeout|{ |
|000001c0| 20 78 20 2b 20 79 3b 7d | 0a 5c 74 79 70 65 6f 75 | x + y;}|.\typeou|
|000001d0| 74 7b 20 20 20 20 20 20 | 20 20 5c 70 72 6f 74 65 |t{ | \prote|
|000001e0| 63 74 5c 65 6e 64 7b 6d | 61 70 6c 65 69 6e 70 75 |ct\end{m|apleinpu|
|000001f0| 74 7d 7d 0a 5c 74 79 70 | 65 6f 75 74 7b 7d 0a 5c |t}}.\typ|eout{}.\|
|00000200| 74 79 70 65 6f 75 74 7b | 4f 75 74 70 75 74 3a 7d |typeout{|Output:}|
|00000210| 0a 5c 74 79 70 65 6f 75 | 74 7b 7d 0a 5c 74 79 70 |.\typeou|t{}.\typ|
|00000220| 65 6f 75 74 7b 20 20 20 | 20 20 20 20 20 5c 70 72 |eout{ | \pr|
|00000230| 6f 74 65 63 74 5c 62 65 | 67 69 6e 7b 6d 61 70 6c |otect\be|gin{mapl|
|00000240| 65 6c 61 74 65 78 7d 7d | 0a 5c 74 79 70 65 6f 75 |elatex}}|.\typeou|
|00000250| 74 7b 20 20 20 20 20 20 | 20 20 5c 70 72 6f 74 65 |t{ | \prote|
|00000260| 63 74 5c 5b 7d 0a 5c 74 | 79 70 65 6f 75 74 7b 20 |ct\[}.\t|ypeout{ |
|00000270| 20 20 20 20 20 20 20 78 | 20 2b 20 79 7d 0a 5c 74 | x| + y}.\t|
|00000280| 79 70 65 6f 75 74 7b 20 | 20 20 20 20 20 20 20 5c |ypeout{ | \|
|00000290| 70 72 6f 74 65 63 74 5c | 5d 7d 0a 5c 74 79 70 65 |protect\|]}.\type|
|000002a0| 6f 75 74 7b 20 20 20 20 | 20 20 20 20 5c 70 72 6f |out{ | \pro|
|000002b0| 74 65 63 74 5c 65 6e 64 | 7b 6d 61 70 6c 65 6c 61 |tect\end|{maplela|
|000002c0| 74 65 78 7d 7d 0a 5c 74 | 79 70 65 6f 75 74 7b 7d |tex}}.\t|ypeout{}|
|000002d0| 0a 5c 74 79 70 65 6f 75 | 74 7b 50 6c 6f 74 73 3a |.\typeou|t{Plots:|
|000002e0| 7d 0a 5c 74 79 70 65 6f | 75 74 7b 7d 0a 5c 74 79 |}.\typeo|ut{}.\ty|
|000002f0| 70 65 6f 75 74 7b 54 6f | 20 69 6e 63 6c 75 64 65 |peout{To| include|
|00000300| 20 70 6f 73 74 73 63 72 | 69 70 74 20 67 72 61 70 | postscr|ipt grap|
|00000310| 68 69 63 73 20 66 72 6f | 6d 20 61 20 66 69 6c 65 |hics fro|m a file|
|00000320| 20 75 73 65 20 74 68 65 | 20 6d 61 63 72 6f 7d 0a | use the| macro}.|
|00000330| 5c 74 79 70 65 6f 75 74 | 7b 7d 0a 5c 74 79 70 65 |\typeout|{}.\type|
|00000340| 6f 75 74 7b 20 20 20 20 | 20 20 20 20 5c 70 72 6f |out{ | \pro|
|00000350| 74 65 63 74 5c 6d 61 70 | 6c 65 70 6c 6f 74 7b 66 |tect\map|leplot{f|
|00000360| 69 6c 65 6e 61 6d 65 2e | 70 73 7d 7d 0a 5c 74 79 |ilename.|ps}}.\ty|
|00000370| 70 65 6f 75 74 7b 7d 0a | 5c 74 79 70 65 6f 75 74 |peout{}.|\typeout|
|00000380| 7b 7d 0a 25 0a 5c 50 72 | 6f 76 69 64 65 73 43 6c |{}.%.\Pr|ovidesCl|
|00000390| 61 73 73 7b 6d 74 6e 7d | 5b 31 39 39 34 2f 31 30 |ass{mtn}|[1994/10|
|000003a0| 2f 32 35 20 76 31 2e 30 | 5d 0a 25 0a 5c 65 64 65 |/25 v1.0|].%.\ede|
|000003b0| 66 5c 50 74 53 69 7a 65 | 7b 31 31 70 74 7d 20 20 |f\PtSize|{11pt} |
|000003c0| 20 25 25 20 64 65 66 61 | 75 6c 74 0a 5c 44 65 63 | %% defa|ult.\Dec|
|000003d0| 6c 61 72 65 4f 70 74 69 | 6f 6e 7b 31 30 70 74 7d |lareOpti|on{10pt}|
|000003e0| 7b 0a 09 5c 65 64 65 66 | 5c 50 74 53 69 7a 65 7b |{..\edef|\PtSize{|
|000003f0| 31 30 70 74 7d 0a 09 7d | 0a 5c 44 65 63 6c 61 72 |10pt}..}|.\Declar|
|00000400| 65 4f 70 74 69 6f 6e 7b | 31 31 70 74 7d 7b 0a 09 |eOption{|11pt}{..|
|00000410| 5c 65 64 65 66 5c 50 74 | 53 69 7a 65 7b 31 31 70 |\edef\Pt|Size{11p|
|00000420| 74 7d 0a 09 7d 0a 5c 44 | 65 63 6c 61 72 65 4f 70 |t}..}.\D|eclareOp|
|00000430| 74 69 6f 6e 7b 31 32 70 | 74 7d 7b 0a 09 5c 65 64 |tion{12p|t}{..\ed|
|00000440| 65 66 5c 50 74 53 69 7a | 65 7b 31 32 70 74 7d 0a |ef\PtSiz|e{12pt}.|
|00000450| 09 7d 0a 5c 44 65 63 6c | 61 72 65 4f 70 74 69 6f |.}.\Decl|areOptio|
|00000460| 6e 2a 7b 5c 50 61 73 73 | 4f 70 74 69 6f 6e 73 54 |n*{\Pass|OptionsT|
|00000470| 6f 50 61 63 6b 61 67 65 | 7b 5c 43 75 72 72 65 6e |oPackage|{\Curren|
|00000480| 74 4f 70 74 69 6f 6e 7d | 7b 6d 61 70 6c 65 65 6e |tOption}|{mapleen|
|00000490| 76 7d 7d 0a 5c 45 78 65 | 63 75 74 65 4f 70 74 69 |v}}.\Exe|cuteOpti|
|000004a0| 6f 6e 73 7b 64 76 69 70 | 73 7d 0a 5c 50 72 6f 63 |ons{dvip|s}.\Proc|
|000004b0| 65 73 73 4f 70 74 69 6f | 6e 73 0a 25 0a 5c 4c 6f |essOptio|ns.%.\Lo|
|000004c0| 61 64 43 6c 61 73 73 5b | 5c 50 74 53 69 7a 65 2c |adClass[|\PtSize,|
|000004d0| 74 77 6f 73 69 64 65 5d | 7b 61 72 74 69 63 6c 65 |twoside]|{article|
|000004e0| 7d 0a 5c 52 65 71 75 69 | 72 65 50 61 63 6b 61 67 |}.\Requi|rePackag|
|000004f0| 65 7b 6d 61 70 6c 65 65 | 6e 76 2c 66 61 6e 63 79 |e{maplee|nv,fancy|
|00000500| 68 65 61 64 69 6e 67 73 | 7d 0a 25 25 0a 25 25 20 |headings|}.%%.%% |
|00000510| 44 45 46 49 4e 45 20 50 | 41 47 45 20 4c 41 59 4f |DEFINE P|AGE LAYO|
|00000520| 55 54 20 0a 25 25 20 69 | 6e 63 6c 75 64 69 6e 67 |UT .%% i|ncluding|
|00000530| 20 66 61 6e 63 79 20 68 | 65 61 64 65 72 73 20 61 | fancy h|eaders a|
|00000540| 6e 64 20 66 6f 6f 74 65 | 72 73 0a 25 25 20 0a 5c |nd foote|rs.%% .\|
|00000550| 73 65 74 6c 65 6e 67 74 | 68 7b 5c 6d 61 72 67 69 |setlengt|h{\margi|
|00000560| 6e 70 61 72 77 69 64 74 | 68 7d 7b 33 30 70 74 7d |nparwidt|h}{30pt}|
|00000570| 0a 5c 73 65 74 6c 65 6e | 67 74 68 7b 5c 6d 61 72 |.\setlen|gth{\mar|
|00000580| 67 69 6e 70 61 72 73 65 | 70 7d 7b 35 70 74 7d 0a |ginparse|p}{5pt}.|
|00000590| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 6f 64 64 73 |\setleng|th{\odds|
|000005a0| 69 64 65 6d 61 72 67 69 | 6e 7d 7b 30 2e 35 20 69 |idemargi|n}{0.5 i|
|000005b0| 6e 7d 0a 5c 73 65 74 6c | 65 6e 67 74 68 7b 5c 65 |n}.\setl|ength{\e|
|000005c0| 76 65 6e 73 69 64 65 6d | 61 72 67 69 6e 7d 7b 2d |vensidem|argin}{-|
|000005d0| 30 2e 35 20 69 6e 7d 0a | 5c 73 65 74 6c 65 6e 67 |0.5 in}.|\setleng|
|000005e0| 74 68 7b 5c 74 65 78 74 | 68 65 69 67 68 74 7d 7b |th{\text|height}{|
|000005f0| 32 31 2e 35 20 63 6d 7d | 0a 5c 73 65 74 6c 65 6e |21.5 cm}|.\setlen|
|00000600| 67 74 68 7b 5c 74 65 78 | 74 77 69 64 74 68 7d 7b |gth{\tex|twidth}{|
|00000610| 36 2e 32 35 20 69 6e 7d | 0a 5c 73 65 74 6c 65 6e |6.25 in}|.\setlen|
|00000620| 67 74 68 7b 5c 68 65 61 | 64 68 65 69 67 68 74 7d |gth{\hea|dheight}|
|00000630| 7b 5c 62 61 73 65 6c 69 | 6e 65 73 6b 69 70 7d 0a |{\baseli|neskip}.|
|00000640| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 66 6f 6f 74 |\setleng|th{\foot|
|00000650| 73 6b 69 70 7d 7b 31 2e | 33 36 20 63 6d 7d 0a 5c |skip}{1.|36 cm}.\|
|00000660| 73 65 74 6c 65 6e 67 74 | 68 7b 5c 74 6f 70 6d 61 |setlengt|h{\topma|
|00000670| 72 67 69 6e 7d 7b 2d 30 | 2e 31 32 35 20 69 6e 7d |rgin}{-0|.125 in}|
|00000680| 0a 25 25 0a 25 25 20 55 | 53 45 20 46 41 4e 43 59 |.%%.%% U|SE FANCY|
|00000690| 20 50 41 47 45 53 54 59 | 4c 45 20 54 4f 20 41 4c | PAGESTY|LE TO AL|
|000006a0| 4c 4f 57 20 50 52 4f 50 | 45 52 20 48 45 41 44 45 |LOW PROP|ER HEADE|
|000006b0| 52 53 20 41 4e 44 20 46 | 4f 4f 54 45 52 53 0a 25 |RS AND F|OOTERS.%|
|000006c0| 25 20 28 73 65 65 20 6d | 61 6e 20 66 61 6e 63 79 |% (see m|an fancy|
|000006d0| 68 65 61 64 69 6e 67 73 | 20 66 6f 72 20 64 65 74 |headings| for det|
|000006e0| 61 69 6c 73 29 0a 25 25 | 0a 5c 70 61 67 65 73 74 |ails).%%|.\pagest|
|000006f0| 79 6c 65 7b 66 61 6e 63 | 79 70 6c 61 69 6e 7d 0a |yle{fanc|yplain}.|
|00000700| 5c 73 65 74 6c 65 6e 67 | 74 68 7b 5c 66 6f 6f 74 |\setleng|th{\foot|
|00000710| 72 75 6c 65 77 69 64 74 | 68 7d 7b 30 2e 36 70 74 |rulewidt|h}{0.6pt|
|00000720| 7d 0a 5c 73 65 74 6c 65 | 6e 67 74 68 7b 5c 68 65 |}.\setle|ngth{\he|
|00000730| 61 64 72 75 6c 65 77 69 | 64 74 68 7d 7b 30 2e 36 |adrulewi|dth}{0.6|
|00000740| 70 74 7d 0a 5c 73 65 74 | 6c 65 6e 67 74 68 7b 5c |pt}.\set|length{\|
|00000750| 70 6c 61 69 6e 68 65 61 | 64 72 75 6c 65 77 69 64 |plainhea|drulewid|
|00000760| 74 68 7d 7b 30 2e 36 70 | 74 7d 0a 5c 73 65 74 6c |th}{0.6p|t}.\setl|
|00000770| 65 6e 67 74 68 7b 5c 70 | 6c 61 69 6e 66 6f 6f 74 |ength{\p|lainfoot|
|00000780| 72 75 6c 65 77 69 64 74 | 68 7d 7b 30 2e 36 70 74 |rulewidt|h}{0.6pt|
|00000790| 7d 0a 5c 6c 66 6f 6f 74 | 5b 5c 72 6d 5c 74 68 65 |}.\lfoot|[\rm\the|
|000007a0| 70 61 67 65 5d 7b 7d 0a | 5c 63 66 6f 6f 74 7b 7d |page]{}.|\cfoot{}|
|000007b0| 0a 5c 72 66 6f 6f 74 5b | 5d 7b 5c 72 6d 5c 74 68 |.\rfoot[|]{\rm\th|
|000007c0| 65 70 61 67 65 7d 0a 25 | 25 0a 25 25 09 48 45 41 |epage}.%|%.%%.HEA|
|000007d0| 44 49 4e 47 20 63 6f 6d | 6d 61 6e 64 0a 5c 6e 65 |DING com|mand.\ne|
|000007e0| 77 63 6f 6d 6d 61 6e 64 | 7b 5c 48 45 41 44 49 4e |wcommand|{\HEADIN|
|000007f0| 47 7d 5b 33 5d 7b 0a 5c | 70 61 72 0a 5c 76 73 70 |G}[3]{.\|par.\vsp|
|00000800| 61 63 65 7b 20 30 2e 35 | 20 69 6e 7d 20 0a 5c 70 |ace{ 0.5| in} .\p|
|00000810| 61 72 0a 7b 5c 73 61 6d | 65 70 61 67 65 20 0a 5c |ar.{\sam|epage .\|
|00000820| 74 68 69 73 70 61 67 65 | 73 74 79 6c 65 7b 70 6c |thispage|style{pl|
|00000830| 61 69 6e 7d 0a 5c 6e 6f | 70 61 67 65 62 72 65 61 |ain}.\no|pagebrea|
|00000840| 6b 5b 34 5d 20 0a 5c 6e | 6f 69 6e 64 65 6e 74 20 |k[4] .\n|oindent |
|00000850| 5c 68 73 70 61 63 65 7b | 2d 30 2e 30 39 20 65 6d |\hspace{|-0.09 em|
|00000860| 7d 7b 5c 48 75 67 65 20 | 5c 72 6d 20 7b 23 31 7d |}{\Huge |\rm {#1}|
|00000870| 7d 5c 70 61 72 20 0a 5c | 6e 6f 70 61 67 65 62 72 |}\par .\|nopagebr|
|00000880| 65 61 6b 5b 34 5d 0a 5c | 76 73 70 61 63 65 7b 30 |eak[4].\|vspace{0|
|00000890| 2e 35 20 65 78 7d 20 0a | 5c 6e 6f 70 61 67 65 62 |.5 ex} .|\nopageb|
|000008a0| 72 65 61 6b 5b 34 5d 0a | 5c 6e 6f 69 6e 64 65 6e |reak[4].|\noinden|
|000008b0| 74 20 7b 5c 4c 61 72 67 | 65 20 5c 65 6d 20 7b 23 |t {\Larg|e \em {#|
|000008c0| 32 7d 7d 5c 70 61 72 20 | 0a 5c 6e 6f 70 61 67 65 |2}}\par |.\nopage|
|000008d0| 62 72 65 61 6b 5b 34 5d | 0a 5c 76 73 70 61 63 65 |break[4]|.\vspace|
|000008e0| 7b 33 20 65 78 7d 0a 5c | 6e 6f 70 61 67 65 62 72 |{3 ex}.\|nopagebr|
|000008f0| 65 61 6b 5b 34 5d 0a 5c | 68 72 75 6c 65 0a 5c 76 |eak[4].\|hrule.\v|
|00000900| 73 70 61 63 65 7b 33 20 | 65 78 7d 0a 5c 72 68 65 |space{3 |ex}.\rhe|
|00000910| 61 64 5b 5d 7b 5c 66 61 | 6e 63 79 70 6c 61 69 6e |ad[]{\fa|ncyplain|
|00000920| 7b 7d 7b 23 33 7d 7d 0a | 5c 6c 68 65 61 64 5b 5c |{}{#3}}.|\lhead[\|
|00000930| 66 61 6e 63 79 70 6c 61 | 69 6e 7b 7d 7b 23 33 7d |fancypla|in{}{#3}|
|00000940| 5d 7b 7d 0a 7d 0a 7d 0a | 25 25 0a 25 25 20 68 65 |]{}.}.}.|%%.%% he|
|00000950| 61 64 69 6e 67 20 43 4f | 4d 4d 41 4e 44 0a 5c 6e |ading CO|MMAND.\n|
|00000960| 65 77 63 6f 6d 6d 61 6e | 64 7b 5c 68 65 61 64 69 |ewcomman|d{\headi|
|00000970| 6e 67 7d 5b 31 5d 7b 0a | 5c 70 61 72 0a 5c 76 73 |ng}[1]{.|\par.\vs|
|00000980| 70 61 63 65 7b 32 20 65 | 78 7d 0a 5c 70 61 72 5c |pace{2 e|x}.\par\|
|00000990| 6e 6f 69 6e 64 65 6e 74 | 7b 5c 4c 61 72 67 65 20 |noindent|{\Large |
|000009a0| 5c 62 66 20 23 31 7d 0a | 5c 76 73 70 61 63 65 2a |\bf #1}.|\vspace*|
|000009b0| 7b 31 20 65 78 7d 0a 5c | 70 61 72 0a 7d 0a 25 25 |{1 ex}.\|par.}.%%|
|000009c0| 0a 25 25 20 73 75 62 68 | 65 61 64 69 6e 67 20 63 |.%% subh|eading c|
|000009d0| 6f 6d 6d 61 6e 64 0a 5c | 6e 65 77 63 6f 6d 6d 61 |ommand.\|newcomma|
|000009e0| 6e 64 7b 5c 73 75 62 68 | 65 61 64 69 6e 67 7d 5b |nd{\subh|eading}[|
|000009f0| 31 5d 7b 0a 5c 70 61 72 | 0a 5c 76 73 70 61 63 65 |1]{.\par|.\vspace|
|00000a00| 2a 7b 31 20 65 78 7d 0a | 5c 70 61 72 5c 6e 6f 69 |*{1 ex}.|\par\noi|
|00000a10| 6e 64 65 6e 74 7b 5c 73 | 63 20 23 31 7d 0a 5c 76 |ndent{\s|c #1}.\v|
|00000a20| 73 70 61 63 65 2a 7b 31 | 20 65 78 7d 0a 5c 70 61 |space*{1| ex}.\pa|
|00000a30| 72 0a 7d 0a 5c 72 61 67 | 67 65 64 62 6f 74 74 6f |r.}.\rag|gedbotto|
|00000a40| 6d 0a 5c 65 6e 64 69 6e | 70 75 74 20 20 20 25 20 |m.\endin|put % |
|00000a50| 6d 74 6e 2e 63 6c 73 0a | |mtn.cls.| |
+--------+-------------------------+-------------------------+--------+--------+