MANUAL.mac
资源名称:leda.tar.gz [点击查看]
上传用户:gzelex
上传日期:2007-01-07
资源大小:707k
文件大小:8k
源码类别:
数值算法/人工智能
开发平台:
MultiPlatform
- %hoffset=-0.5truemm
- %voffset=0.5truecm
- %hsize=16truecm
- %vsize=23.5truecm
- %hsize=13.3truecm
- %vsize=19.8truecm
- baselineskip 14pt
- spaceskip .4em plus .25em minus .25em
- xspaceskip .65em
- parskip 11pt plus 1pt minus 1pt
- parindent 0pt
- defmanual{footnotesize}
- def3{ss{}}
- defboxit#1{vbox{hrulehbox{vrulekern3ptvbox{#1}kern3ptvrule}hrule}}
- defco{hbox{tt // }}
- def'{hbox{tt "}}
- def<{hbox{tt <}}
- def>{hbox{tt >}}
- defCC{Craise.08exhbox{tt ++ }}
- defCCC{Craise.08exhbox{tt ++}}
- defgg{ghbox{tt ++ }}
- defnat{hbox{rmvrulekern-0.045em N}}
- defreal{hbox{rmvrulekern-0.035em R}}
- deftildeop{tilde{}}
- def'{^prime}
- def+{$+$}
- newdimentypewidth
- typewidth=2.5cm
- newdimencallwidth
- callwidth=4.5cm
- newdimencallwidthl
- callwidthl=textwidth
- advancecallwidthl -typewidth
- advancecallwidthl -0.5cm
- newdimencreatewidth
- createwidth=textwidth
- advancecreatewidth -1cm
- newdimencreatetextwidth
- createtextwidth=textwidth
- advancecreatetextwidth -3cm
- newdimendescriptwidth
- descriptwidth=textwidth
- advancedescriptwidth -typewidth
- advancedescriptwidth -callwidth
- advancedescriptwidth -0.5cm
- defsetopdims #1 #2 {typewidth=#1cm
- callwidth=#2cm
- descriptwidth=textwidth
- advancedescriptwidth-typewidth
- advancedescriptwidth-callwidth
- advancedescriptwidth-0.5cm
- callwidthl=textwidth
- advancecallwidthl-typewidth
- advancecallwidthl-0.5cm
- }
- defmanpage #1 #2 #3 {section{#3 (#1)} label{#3}%
- defparams{#2}ifxparamsempty%
- gdefname{hbox{$#1$}}%
- elsegdefname{hbox{$#1${tt <}$#2${tt >}}}%
- fi }
- defdefinition {bigskippagebreak[1]
- {bf 1. Definition}
- parnopagebreak }
- defcreation #1 {gdefvar {$#1$}
- bigskippagebreak[1]
- {bf 2. Creation}
- parnopagebreak }
- defoperations #1 #2 {bigskippagebreak[1]
- {bf 3. Operations}
- setopdims #1 #2
- parnopagebreak }
- defimplementation {bigskippagebreak[1]
- {bf 4. Implementation}
- parnopagebreak }
- defexample {bigskippagebreak[1]
- {bf 5. Example}
- parnopagebreak }
- defcreate #1 #2 { mbox{name var$#1$;}par
- hspace*{1cm}hfill
- parbox[t]{createtextwidth}{sloppy #2}par
- bigskip }
- defop #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy var.#2$#3$}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- defopl #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidthl}{sloppy var.#2$#3$}hfillpar
- hspace*{1cm}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- deffunc #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy #2$#3$}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- deffuncl #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidthl}{sloppy #2$#3$}hfillpar
- hspace*{1cm}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- %binary operator function
- defbinopfunc #1 #2 #3{smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidthl}{sloppy $#2$}hfillpar
- hspace*{1cm}hfill
- parbox[t]{descriptwidth}{sloppy #3}hfillpar
- smallskip}
- %binary operator
- defbinop #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy var $#2 #3$}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- %unary operator
- defunop #1 #2 #3 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy $#2$ var}hfill
- parbox[t]{descriptwidth}{sloppy sloppy #3}hfillpar
- smallskip}
- defpostunop #1 #2 #3 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy var $#2$}hfill
- parbox[t]{descriptwidth}{sloppy sloppy #3}hfillpar
- smallskip}
- %operator[]
- defarrop #1 #2 #3 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy var $[#2]$}hfill
- parbox[t]{descriptwidth}{sloppy #3}hfillpar
- smallskip}
- %%operator()
- deffunop #1 #2 #3 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy var $(#2)$}hfill
- parbox[t]{descriptwidth}{sloppy #3}hfillpar
- smallskip}
- %stream operator
- defstrop #1 #2 #3 #4 {smallskip
- parbox[t]{typewidth}{sloppy $#1$}
- parbox[t]{callwidth}{sloppy $#3 #2$ var}hfill
- parbox[t]{descriptwidth}{sloppy #4}hfillpar
- smallskip}
- letManpage manpage
- letMdefinition definition
- letMcreation creation
- letMoperations operations
- letMimplementation implementation
- letMexample example
- letMcreate create
- letMop footnotesize
- letMopl footnotesize
- letMfunc footnotesize
- letMfuncl footnotesize
- letMbinop footnotesize
- letMarrop footnotesize
- letMfunop footnotesize
- letMunop footnotesize
- letMbinopfunc footnotesize
- letMunopfunc footnotesize
- defprecond {{it Precondition}: }
- defIf {{bf if} }
- defFi {{bf fi} }
- defThen {{bf then} }
- defElse {{bf else} }
- defDo {{bf do} }
- defOd {{bf od} }
- defFor {{bf for} }
- defWhile {{bf while} }
- defReturn {{bf return} }
- defBreak {{bf return} }
- defContinue {{bf continue} }
- defCase {{bf case} }
- defSwitch {{bf switch} }
- defClass {{bf class} }
- defStruct {{bf struct} }
- defPublic {{bf public} }
- defFriend {{bf friend} }
- defTypedef {{bf typedef} }
- defn {backslash n}
- defLabs #1 {hbox{$|#1|$}}
- defLitem #1 {hbox{{tt <}$#1${tt >} }}
- defLvert {|}
- % LEDA macros:
- defForall {{bf forall} }
- defForallnodes {{bf forall_nodes} }
- defForalledges {{bf forall_edges} }
- defForalladjnodes {{bf forall_adj_nodes} }
- defForalladjedges {{bf forall_adj_edges} }
- % verbatim
- fontttbig= cmtt10 scaled magstephalf
- chardefother=12
- defttverbatim {
- parskip 5pt
- catcode`&=other catcode`{=other catcode`}=other
- %catcode'\=other
- catcode`$=other catcode`&=other
- catcode`#=other catcode`%=other catcode`~=other
- catcode`_=other catcode`^=other
- obeyspaces obeylines}
- % usage:
- %
- %begingroup
- % ttbig
- % {obeyspacesgdef { }}
- % ttverbatim
- %
- % ...
- %
- %endgroup