"============================================================================= " File: mathmacros.vim " Author: Mikolaj Machowski " Created: Tue Apr 23 06:00 PM 2002 PST " " Description: macros for everything mathematical in latex. "============================================================================= if !(has('gui_running') && g:Tex_MathMenus && g:Tex_Menus) finish endif let s:MathMenuName = g:Tex_MenuPrefix.'Ma&th.' function! Tex_MathMenuRemove() exe 'silent! aunmenu '.s:MathMenuName endfunction let s:pA = 'amenu 85 '.s:MathMenuName " brackets and dollars {{{ exe s:pA.'\\&[\ \\] =IMAP_PutTextWithMovement("\\[<++>\\]<++>")' exe s:pA.'\\&(\ \\) =IMAP_PutTextWithMovement("\\(<++>\\)<++>")' exe s:pA.'&$\ $ $$' exe s:pA.'-sepmath1- :' " }}} " MATH arrows {{{ let s:pA1 = s:pA."&Arrows." exe s:pA1.'Leftarrow\Leftarrow ' exe s:pA1.'leftarrow\leftarrow' exe s:pA1.'longleftarrow\longleftarrow ' exe s:pA1.'Longleftarrow\Longleftarrow ' exe s:pA1.'rightarrow\rightarrow ' exe s:pA1.'longrightarrow\longrightarrow ' exe s:pA1.'Rightarrow\Rightarrow ' exe s:pA1.'Longrightarrow\Longrightarrow ' exe s:pA1.'leftrightarrow\leftrightarrow ' exe s:pA1.'longleftrightarrow\longleftrightarrow ' exe s:pA1.'Leftrightarrow\Leftrightarrow ' exe s:pA1.'Longleftrightarrow\Longleftrightarrow ' exe s:pA1.'uparrow\uparrow ' exe s:pA1.'Uparrow\Uparrow ' exe s:pA1.'downarrow\downarrow ' exe s:pA1.'Downarrow\Downarrow ' exe s:pA1.'updownarrow\updownarrow ' exe s:pA1.'Updownarrow\Updownarrow ' exe s:pA1.'nearrow\nearrow ' exe s:pA1.'searrow\searrow ' exe s:pA1.'swarrow\swarrow ' exe s:pA1.'nwarrow\nwarrow ' exe s:pA1.'mapsto\mapsto ' exe s:pA1.'leadsto\leadsto ' exe s:pA1.'longmapsto\longmapsto ' exe s:pA1.'hookleftarrow\hookleftarrow ' exe s:pA1.'hookrightarrow\hookrightarrow ' exe s:pA1.'leftharpoonup\leftharpoonup ' exe s:pA1.'leftharpoondown\leftharpoondown ' exe s:pA1.'rightharpoonup\rightharpoonup ' exe s:pA1.'rightharpoondown\rightharpoondown ' exe s:pA1.'rightleftharpoons\rightleftharpoons ' exe s:pA1.'overleftarrow \overleftarrow ' exe s:pA1.'overrightarrow \overrightarrow ' exe s:pA1.'overleftrightarrow \overleftrightarrow ' exe s:pA1.'underleftarrow \underleftarrow ' exe s:pA1.'underrightarrow \underrightarrow ' exe s:pA1.'underleftrightarrow \underleftrightarrow ' exe s:pA1.'xleftarrow \xleftarrow ' exe s:pA1.'xrightarrow \xrightarrow ' " }}} " MATH Arrows2 {{{ let s:pA1a = s:pA."Arrows2." exe s:pA1a.'dashleftarrow\dashleftarrow ' exe s:pA1a.'leftleftarrows\leftleftarrows ' exe s:pA1a.'leftrightarrows\leftrightarrows ' exe s:pA1a.'Lleftarrow\Lleftarrow ' exe s:pA1a.'twoheadleftarrow\twoheadleftarrow ' exe s:pA1a.'leftarrowtail\leftarrowtail ' exe s:pA1a.'leftrightharpoons\leftrightharpoons ' exe s:pA1a.'Lsh\Lsh ' exe s:pA1a.'looparrowleft\looparrowleft ' exe s:pA1a.'curvearrowleft\curvearrowleft ' exe s:pA1a.'circlearrowleft\circlearrowleft ' exe s:pA1a.'dashrightarrow\dashrightarrow ' exe s:pA1a.'rightrightarrows\rightrightarrows ' exe s:pA1a.'rightleftarrows\rightleftarrows ' exe s:pA1a.'Rrightarrow\Rrightarrow ' exe s:pA1a.'twoheadrightarrow\twoheadrightarrow ' exe s:pA1a.'rightarrowtail\rightarrowtail ' exe s:pA1a.'rightleftharpoons\rightleftharpoons ' exe s:pA1a.'Rsh\Rsh ' exe s:pA1a.'looparrowright\looparrowright ' exe s:pA1a.'curvearrowright\curvearrowright ' exe s:pA1a.'circlearrowright\circlearrowright ' exe s:pA1a.'multimap\multimap ' exe s:pA1a.'upuparrows\upuparrows ' exe s:pA1a.'downdownarrows\downdownarrows ' exe s:pA1a.'upharpoonleft\upharpoonleft ' exe s:pA1a.'upharpoonright\upharpoonright ' exe s:pA1a.'downharpoonleft\downharpoonleft ' exe s:pA1a.'downharpoonright\downharpoonright ' exe s:pA1a.'rightsquigarrow\rightsquigarrow ' exe s:pA1a.'leftrightsquigarrow\leftrightsquigarrow ' " }}} " MATH nArrows {{{ let s:pA1b = s:pA."&nArrows." exe s:pA1b.'nleftarrow\nleftarrow ' exe s:pA1b.'nLeftarrow\nLeftarrow ' exe s:pA1b.'nleftrightarrow\nleftrightarrow ' exe s:pA1b.'nLeftrightarrow\nleftrightarrow ' exe s:pA1b.'nrightarrow\nrightarrow ' exe s:pA1b.'nRightarrow\nRightarrow ' " }}} " MATH Fonts {{{ let s:pA2a = s:pA."&MathFonts." exe s:pA2a.'mathbf{} =IMAP_PutTextWithMovement("\\mathbf{<++>}<++>")' exe s:pA2a.'mathrm{} =IMAP_PutTextWithMovement("\\mathrm{<++>}<++>")' exe s:pA2a.'mathsf{} =IMAP_PutTextWithMovement("\\mathsf{<++>}<++>")' exe s:pA2a.'mathtt{} =IMAP_PutTextWithMovement("\\mathtt{<++>}<++>")' exe s:pA2a.'mathit{} =IMAP_PutTextWithMovement("\\mathit{<++>}<++>")' exe s:pA2a.'mathfrak{} =IMAP_PutTextWithMovement("\\mathfrak{<++>}<++>")' exe s:pA2a.'mathcal{} =IMAP_PutTextWithMovement("\\mathcal{<++>}<++>")' exe s:pA2a.'mathscr{} =IMAP_PutTextWithMovement("\\mathscr{<++>}<++>")' exe s:pA2a.'mathbb{} =IMAP_PutTextWithMovement("\\mathbb{<++>}<++>")' " }}} " Greek Letters small {{{ let s:pA2 = s:pA."&Greek.&Small." exe s:pA2.'alpha`a\ \ α \alpha ' exe s:pA2.'beta`b\ \ β \beta ' exe s:pA2.'gamma`g\ \ γ \gamma ' exe s:pA2.'delta`d\ \ δ \delta ' exe s:pA2.'epsilon\epsilon ' exe s:pA2.'varepsilon`e\ \ ε \varepsilon ' exe s:pA2.'zeta`z\ \ ζ \zeta ' exe s:pA2.'eta`h\ \ η \eta ' exe s:pA2.'theta`q\ \ θ \theta ' exe s:pA2.'varthetaϑ \vartheta ' exe s:pA2.'iota`i\ \ ι \iota ' exe s:pA2.'kappa`k\ \ κ \kappa ' exe s:pA2.'lambda`l\ \ λ \lambda ' exe s:pA2.'mu`m\ \ μ \mu ' exe s:pA2.'nu`n\ \ ν \nu ' exe s:pA2.'xi`x\ \ ξ \xi ' exe s:pA2.'pi`p\ \ π \pi ' exe s:pA2.'varpiϖ \varpi ' exe s:pA2.'rho`r\ \ ρ \rho ' exe s:pA2.'varrhoϱ \varrho ' exe s:pA2.'sigma`s\ \ σ \sigma ' exe s:pA2.'varsigma`v\ \ ς \varsigma ' exe s:pA2.'tau`t\ \ τ \tau ' exe s:pA2.'upsilon`u\ \ υ \upsilon ' exe s:pA2.'phiφ \phi ' exe s:pA2.'varphi`f\ \ ϕ \varphi ' exe s:pA2.'chi`c\ \ χ \chi ' exe s:pA2.'psi`y\ \ ψ \psi ' exe s:pA2.'omega`w\ \ ω \omega ' " }}} " Greek Letters big {{{ let s:pA3 = s:pA.'&Greek.&Big.' exe s:pA3.'Alpha`A\ \ A \Alpha ' exe s:pA3.'Beta`B\ \ B \Beta ' exe s:pA3.'Gamma`G\ \ Γ \Gamma ' exe s:pA3.'Delta`D\ \ Δ \Delta ' exe s:pA3.'Epsilon`E\ \ E \Epsilon ' exe s:pA3.'Zeta`Z\ \ Z \mathrm{Z} ' exe s:pA3.'Eta`H\ \ H \Eta ' exe s:pA3.'ThetaΘ \Theta ' exe s:pA3.'IotaI \mathrm{I} ' exe s:pA3.'Kappa`K\ \ K \Kappa ' exe s:pA3.'Lambda`L\ \ Λ \Lambda ' exe s:pA3.'Mu`M\ \ M \Mu ' exe s:pA3.'Nu`N\ \ N \Nu ' exe s:pA3.'Xi`X\ \ Ξ \Xi ' exe s:pA3.'Pi`P\ \ Π \Pi ' exe s:pA3.'Rho`R\ \ P \Rho ' exe s:pA3.'Sigma`S\ \ Σ \Sigma ' exe s:pA3.'Tau`T\ \ T \Tau ' exe s:pA3.'Upsilon`U\ \ Y \Upsilon ' exe s:pA3.'PhiΦ \Phi ' exe s:pA3.'Chi`C\ \ X \Chi ' exe s:pA3.'Psi`Y\ \ Ψ \Psi ' exe s:pA3.'Omega`W\ \ Ω \Omega ' " }}} " BinaryRel1 {{{ let s:pA4 = s:pA."&BinaryRel1." exe s:pA4.'ll\ll ' exe s:pA4.'lll\lll ' exe s:pA4.'leqslant\leqslant ' exe s:pA4.'leq\leq ' exe s:pA4.'leqq\leqq ' exe s:pA4.'eqslantless\eqslantless ' exe s:pA4.'lessdot\lessdot ' exe s:pA4.'prec\prec ' exe s:pA4.'preceq\preceq ' exe s:pA4.'preccurlyeq\preccurlyeq ' exe s:pA4.'curlyeqprec\curlyeqprec ' exe s:pA4.'lesssim\lesssim ' exe s:pA4.'lessapprox \lessapprox ' exe s:pA4.'precsim\precsim ' exe s:pA4.'precapprox \precapprox ' exe s:pA4.'in\in ' exe s:pA4.'subset`(\ \ ⊂ \subset ' exe s:pA4.'Subset`)\ \ ⋐ \Subset ' exe s:pA4.'subseteq\subseteq ' exe s:pA4.'subseteqq \subseteqq ' exe s:pA4.'sqsubset\sqsubset ' exe s:pA4.'sqsubseteq\sqsubseteq ' exe s:pA4.'smile\smile ' exe s:pA4.'smallsmile\smallsmile ' exe s:pA4.'parallel\parallel ' exe s:pA4.'shortparallel\shortparallel ' exe s:pA4.'dashv\dashv ' exe s:pA4.'vdash\vdash ' exe s:pA4.'vDash\vDash ' exe s:pA4.'models\models ' exe s:pA4.'therefore\therefore ' exe s:pA4.'backepsilon\backepsilon ' " }}} " nBinaryRel1 {{{ let s:pA4a = s:pA."&nBinaryRel1." exe s:pA4a.'nless\nless ' exe s:pA4a.'nleqslant\nleqslant ' exe s:pA4a.'nleq \nleq ' exe s:pA4a.'lneq \lneq ' exe s:pA4a.'nleqq \nleqq ' exe s:pA4a.'lneqq\lneqq ' exe s:pA4a.'lvertneqq \lvertneqq ' exe s:pA4a.'nprec\nprec ' exe s:pA4a.'npreceq\npreceq ' exe s:pA4a.'precneqq \precneqq ' exe s:pA4a.'lnsim\lnsim ' exe s:pA4a.'lnapprox \lnapprox ' exe s:pA4a.'precnsim\precnsim ' exe s:pA4a.'precnapprox \precnapprox ' exe s:pA4a.'notin\notin ' exe s:pA4a.'nsubseteq\nsubseteq ' exe s:pA4a.'varsubsetneq \varsubsetneq ' exe s:pA4a.'subsetneq\subsetneq ' exe s:pA4a.'nsubseteqq \nsubseteqq ' exe s:pA4a.'varsubsetneqq \varsubsetneqq ' exe s:pA4a.'subsetneqq\subsetneqq ' exe s:pA4a.'nparallel\nparallel ' exe s:pA4a.'nshortparallel \nshortparallel ' exe s:pA4a.'nvdash\nvdash ' exe s:pA4a.'nvDash\nvDash ' " }}} " BinaryRel2 {{{ let s:pA5 = s:pA."&BinaryRel2." exe s:pA5.'gg\gg ' exe s:pA5.'ggg\ggg ' exe s:pA5.'gggtr\gggtr ' exe s:pA5.'geqslant \geqslant ' exe s:pA5.'geq\geq ' exe s:pA5.'geqq\geqq ' exe s:pA5.'eqslantgtr \eqslantgtr ' exe s:pA5.'gtrdot\gtrdot ' exe s:pA5.'succ\succ ' exe s:pA5.'succeq\succeq ' exe s:pA5.'succcurlyeq\succcurlyeq ' exe s:pA5.'curlyeqsucc\curlyeqsucc ' exe s:pA5.'gtrsim\gtrsim ' exe s:pA5.'gtrapprox \gtrapprox ' exe s:pA5.'succsim\succsim ' exe s:pA5.'succapprox \succapprox ' exe s:pA5.'ni\ni ' exe s:pA5.'owns \owns ' exe s:pA5.'supset\supset ' exe s:pA5.'Supset\Supset ' exe s:pA5.'supseteq\supseteq ' exe s:pA5.'supseteqq \supseteqq ' exe s:pA5.'sqsupset\sqsupset ' exe s:pA5.'sqsupseteq\sqsupseteq ' exe s:pA5.'frown\frown ' exe s:pA5.'smallfrown\smallfrown ' exe s:pA5.'mid\mid ' exe s:pA5.'shortmid \shortmid ' exe s:pA5.'between\between ' exe s:pA5.'Vdash\Vdash ' exe s:pA5.'bowtie\bowtie ' exe s:pA5.'Join\Join ' exe s:pA5.'pitchfork\pitchfork ' " }}} " {{{ nBinaryRel2 let s:pA5a = s:pA."n&BinaryRel2." "TODO: dorobiæ logarytmy exe s:pA5a.'ngtr\ngtr ' exe s:pA5a.'ngeqslant\ngeqslant ' exe s:pA5a.'ngeq \ngeq ' exe s:pA5a.'gneq \gneq ' exe s:pA5a.'ngeqq \ngeqq ' exe s:pA5a.'gneqq\gneqq ' exe s:pA5a.'nsucc\nsucc ' exe s:pA5a.'nsucceq\nsucceq ' exe s:pA5a.'succneqq \succneqq ' exe s:pA5a.'gnsim\gnsim ' exe s:pA5a.'gnapprox \gnapprox ' exe s:pA5a.'succnsim\succnsim ' exe s:pA5a.'succnapprox \succnapprox ' exe s:pA5a.'nsupseteq\nsupseteq ' exe s:pA5a.'varsupsetneq \varsupsetneq ' exe s:pA5a.'supsetneq\supsetneq ' exe s:pA5a.'nsupseteqq \nsupseteqq ' exe s:pA5a.'varsupsetneqq \varsupsetneqq ' exe s:pA5a.'supsetneqq \supsetneqq ' exe s:pA5a.'nmid\nmid ' exe s:pA5a.'nshortmid \nshortmid ' exe s:pA5a.'nVdash\nVdash ' " }}} " {{{ BinaryRel3 let s:pA6 = s:pA."&BinaryRel3." exe s:pA6.'doteq\doteq ' exe s:pA6.'circeq\circeq ' exe s:pA6.'eqcirc\eqcirc ' exe s:pA6.'risingdotseq\risingdotseq ' exe s:pA6.'doteqdot\doteqdot ' exe s:pA6.'Doteq\Doteq ' exe s:pA6.'fallingdotseq\fallingdotseq ' exe s:pA6.'triangleq\triangleq ' exe s:pA6.'bumpeq\bumpeq ' exe s:pA6.'Bumpeq\Bumpeq ' exe s:pA6.'equiv`=\ \ ≡ \equiv ' exe s:pA6.'sim\sim ' exe s:pA6.'thicksim\thicksim ' exe s:pA6.'backsim\backsim ' exe s:pA6.'simeq\simeq ' exe s:pA6.'backsimeq\backsimeq ' exe s:pA6.'cong\cong ' exe s:pA6.'approx=~\ \ ≈ \approx ' exe s:pA6.'thickapprox\thickapprox ' exe s:pA6.'approxeq\approxeq ' exe s:pA6.'blacktriangleleft\blacktriangleleft ' exe s:pA6.'vartriangleleft\vartriangleleft ' exe s:pA6.'trianglelefteq\trianglelefteq ' exe s:pA6.'blacktriangleright\blacktriangleright ' exe s:pA6.'vartriangleright\vartriangleright ' exe s:pA6.'trianglerighteq\trianglerighteq ' exe s:pA6.'perp\perp ' exe s:pA6.'asymp\asymp ' exe s:pA6.'Vvdash\Vvdash ' exe s:pA6.'propto\propto ' exe s:pA6.'varpropto\varpropto ' exe s:pA6.'because\because ' " }}} " {{{ nBinaryRel3 let s:pA6a = s:pA."&nBinaryRel3." exe s:pA6a.'neq\neq ' exe s:pA6a.'nsim\nsim ' exe s:pA6a.'ncong\ncong ' exe s:pA6a.'ntriangleleft\ntriangleleft ' exe s:pA6a.'ntrianglelefteq\ntrianglelefteq ' exe s:pA6a.'ntriangleright\ntriangleright ' exe s:pA6a.'ntrianglerighteq\ntrianglerighteq ' " }}} " {{{ BinaryRel4 let s:pA7 = s:pA."&BinaryRel4." exe s:pA7.'lessgtr\lessgtr ' exe s:pA7.'gtrless\gtrless ' exe s:pA7.'lesseqgtr\lesseqgtr ' exe s:pA7.'gtreqless\gtreqless ' exe s:pA7.'lesseqqgtr \lesseqqgtr ' exe s:pA7.'gtreqqless \gtreqqless ' " }}} " {{{ BigOp let s:pA8a = s:pA."&BigOp." exe s:pA8a.'limits \limits' exe s:pA8a.'nolimits \nolimits' exe s:pA8a.'displaylimits \displaylimits' exe s:pA8a.'-seplimits- :' exe s:pA8a.'bigcap`-\ \ ⋂ \bigcap' exe s:pA8a.'bigcup`+\ \ ⋃ \bigcup' exe s:pA8a.'bigodot\bigodot' exe s:pA8a.'bigoplus\bigoplus' exe s:pA8a.'bigotimes\bigotimes' exe s:pA8a.'bigsqcup\bigsqcup' exe s:pA8a.'biguplus\biguplus' exe s:pA8a.'bigvee\bigvee' exe s:pA8a.'bigwedge\bigwedge' exe s:pA8a.'coprod\coprod' exe s:pA8a.'int\int' exe s:pA8a.'iint\int' exe s:pA8a.'iiint\int' exe s:pA8a.'oint\oint' exe s:pA8a.'prod\prod' exe s:pA8a.'sum\sum' " }}} " {{{ BinaryOp let s:pA8 = s:pA."&BinaryOp." exe s:pA8.'pm± \pm ' exe s:pA8.'mp\mp ' exe s:pA8.'dotplus\dotplus ' exe s:pA8.'cdot`.\ \ ⋅ \cdot ' exe s:pA8.'centerdot\centerdot ' exe s:pA8.'times`*\ \ × \times ' exe s:pA8.'ltimes\ltimes ' exe s:pA8.'rtimes\rtimes ' exe s:pA8.'leftthreetimes\leftthreetimes ' exe s:pA8.'rightthreetimes\rightthreetimes ' exe s:pA8.'div÷ \div ' exe s:pA8.'divideontimes\divideontimes ' exe s:pA8.'bmod \bmod ' exe s:pA8.'ast\ast ' exe s:pA8.'star\star ' exe s:pA8.'setminus`\\\ \ ∖ \setminus ' exe s:pA8.'smallsetminus\smallsetminus ' exe s:pA8.'diamond\diamond ' exe s:pA8.'wr\wr ' exe s:pA8.'intercal\intercal ' exe s:pA8.'circ`@\ \ ∘ \circ ' exe s:pA8.'bigcirc\bigcirc ' exe s:pA8.'bullet\bullet ' exe s:pA8.'cap\cap ' exe s:pA8.'Cap\Cap ' exe s:pA8.'cup\cup ' exe s:pA8.'Cup\Cup ' exe s:pA8.'sqcap\sqcap ' exe s:pA8.'sqcup\sqcup' exe s:pA8.'amalg \amalg ' exe s:pA8.'uplus\uplus ' exe s:pA8.'triangleleft\triangleleft ' exe s:pA8.'triangleright\triangleright ' exe s:pA8.'bigtriangleup\bigtriangleup ' exe s:pA8.'bigtriangledown\bigtriangledown ' exe s:pA8.'vee\vee ' exe s:pA8.'veebar\veebar ' exe s:pA8.'curlyvee\curlyvee ' exe s:pA8.'wedge`&\ \ ∧ \wedge ' exe s:pA8.'barwedge\barwedge ' exe s:pA8.'doublebarwedge\doublebarwedge ' exe s:pA8.'curlywedge\curlywedge ' exe s:pA8.'oplus\oplus ' exe s:pA8.'ominus\ominus ' exe s:pA8.'otimes\otimes ' exe s:pA8.'oslash\oslash ' exe s:pA8.'boxplus\boxplus ' exe s:pA8.'boxminus\boxminus ' exe s:pA8.'boxtimes\boxtimes ' exe s:pA8.'boxdot\boxdot ' exe s:pA8.'odot\odot ' exe s:pA8.'circledast\circledast ' exe s:pA8.'circleddash\circleddash ' exe s:pA8.'circledcirc\circledcirc ' exe s:pA8.'dagger\dagger ' exe s:pA8.'ddagger\ddagger ' exe s:pA8.'lhd\lhd ' exe s:pA8.'unlhd\unlhd ' exe s:pA8.'rhd\rhd ' exe s:pA8.'unrhd\unrhd ' " }}} " {{{ Other1 let s:pA9 = s:pA."&Other1." exe s:pA9.'hatâ \hat ' exe s:pA9.'checkǎ \check ' exe s:pA9.'graveà \grave ' exe s:pA9.'acuteá \acute ' exe s:pA9.'dotȧ \dot ' exe s:pA9.'ddotä \ddot ' exe s:pA9.'tilde`,\ \ ã \tilde ' exe s:pA9.'breveă \breve ' exe s:pA9.'barā \bar ' exe s:pA9.'veca⃗ \vec ' exe s:pA9.'alephא \aleph ' exe s:pA9.'hbar\hbar ' exe s:pA9.'imath \imath ' exe s:pA9.'jmath \jmath ' exe s:pA9.'ell\ell ' exe s:pA9.'wp\wp ' exe s:pA9.'Re\Re ' exe s:pA9.'Im\Im ' exe s:pA9.'partial\partial ' exe s:pA9.'infty`8\ \ ∞ \infty ' exe s:pA9.'prime\prime ' exe s:pA9.'emptyset\emptyset ' exe s:pA9.'nabla\nabla ' exe s:pA9.'surd\surd ' exe s:pA9.'top\top ' exe s:pA9.'bot\bot ' exe s:pA9.'angle\angle ' exe s:pA9.'triangle\triangle ' exe s:pA9.'backslash\\ \backslash ' exe s:pA9.'forall\forall ' exe s:pA9.'exists\exists ' exe s:pA9.'neg¬ \neg ' exe s:pA9.'flat\flat ' exe s:pA9.'natural\natural ' exe s:pA9.'sharp\sharp ' exe s:pA9.'clubsuit\clubsuit ' exe s:pA9.'diamondsuit\diamondsuit ' exe s:pA9.'heartsuit\heartsuit ' exe s:pA9.'spadesuit\spadesuit ' exe s:pA9.'S§ \S ' exe s:pA9.'P\P' " }}} " {{{ MathCreating let s:pA10 = s:pA."&MathCreating." exe s:pA10.'not \not' exe s:pA10.'mkern \mkern' exe s:pA10.'mathbin \mathbin' exe s:pA10.'mathrel \mathrel' exe s:pA10.'stackrel \stackrel' exe s:pA10.'mathord \mathord' " }}} " {{{ Styles let s:pA11 = s:pA."&Styles." exe s:pA11.'displaystyle \displaystyle' exe s:pA11.'textstyle \textstyle' exe s:pA11.'scritpstyle \scritpstyle' exe s:pA11.'scriptscriptstyle \scriptscriptstyle' " }}} " {{{ MathDiacritics let s:pA12 = s:pA."&MathDiacritics." exe s:pA12.'acute{}á =IMAP_PutTextWithMovement("\\acute{<++>}<++>")' exe s:pA12.'bar{}`_\ \ ā =IMAP_PutTextWithMovement("\\bar{<++>}<++>")' exe s:pA12.'breve{}ă =IMAP_PutTextWithMovement("\\breve{<++>}<++>")' exe s:pA12.'check{}ǎ =IMAP_PutTextWithMovement("\\check{<++>}<++>")' exe s:pA12.'ddot{}`:\ \ ä =IMAP_PutTextWithMovement("\\ddot{<++>}<++>")' exe s:pA12.'dot{}`;\ \ ȧ =IMAP_PutTextWithMovement("\\dot{<++>}<++>")' exe s:pA12.'grave{}à =IMAP_PutTextWithMovement("\\grave{<++>}<++>")' exe s:pA12.'hat{}`^\ \ â =IMAP_PutTextWithMovement("\\hat{<++>}<++>")' exe s:pA12.'tilde{}`~\ \ ã =IMAP_PutTextWithMovement("\\tilde{<++>}<++>")' exe s:pA12.'vec{}a⃗ =IMAP_PutTextWithMovement("\\vec{<++>}<++>")' exe s:pA12.'widehat{} =IMAP_PutTextWithMovement("\\widehat{<++>}<++>")' exe s:pA12.'widetilde{} =IMAP_PutTextWithMovement("\\widetilde{<++>}<++>")' exe s:pA12.'imath =IMAP_PutTextWithMovement("\\imath")' exe s:pA12.'jmath =IMAP_PutTextWithMovement("\\jmath")' " }}} " {{{ OverlineAndCo let s:pA13 = s:pA."&OverlineAndCo." exe s:pA13.'overline{} =IMAP_PutTextWithMovement("\\overline{}")' exe s:pA13.'underline{} =IMAP_PutTextWithMovement("\\underline{}")' exe s:pA13.'overrightarrow{} =IMAP_PutTextWithMovement("\\overrightarrow{}")' exe s:pA13.'overleftarrow{} =IMAP_PutTextWithMovement("\\overleftarrow{}")' exe s:pA13.'overbrace{} =IMAP_PutTextWithMovement("\\overbrace{}")' exe s:pA13.'underbrace{} =IMAP_PutTextWithMovement("\\underbrace{}")' " }}} " {{{ Symbols1 let s:pA14a = s:pA."&Symbols1." exe s:pA14a.'forall\forall ' exe s:pA14a.'exists\exists ' exe s:pA14a.'nexists\nexists ' exe s:pA14a.'neg¬ \neg ' exe s:pA14a.'top\top ' exe s:pA14a.'bot\bot ' exe s:pA14a.'emptyset\emptyset ' exe s:pA14a.'varnothing\varnothing ' exe s:pA14a.'infty\infty ' exe s:pA14a.'alephא \aleph ' exe s:pA14a.'bethב \beth ' exe s:pA14a.'gimelג \gimel ' exe s:pA14a.'dalethד \daleth ' exe s:pA14a.'hbar \hbar ' exe s:pA14a.'hslash\hslash ' exe s:pA14a.'diagup\diagup ' exe s:pA14a.'vert\| \vert ' exe s:pA14a.'Vert\Vert ' exe s:pA14a.'backslash\\ \backslash ' exe s:pA14a.'diagdown \diagdown ' exe s:pA14a.'Bbbk\Bbbk ' exe s:pA14a.'P\P ' exe s:pA14a.'S§ \S ' " }}} " {{{ Symbols2 let s:pA14b = s:pA."&Symbols2." exe s:pA14b.'# \# ' exe s:pA14b.'% \% ' exe s:pA14b.'_ \_ ' exe s:pA14b.'$ \$ ' exe s:pA14b.'& \& ' exe s:pA14b.'imath \imath ' exe s:pA14b.'jmath \jmath ' exe s:pA14b.'ell\ell ' exe s:pA14b.'wp\wp ' exe s:pA14b.'Re\Re ' exe s:pA14b.'Im\Im ' exe s:pA14b.'prime\prime ' exe s:pA14b.'backprime\backprime ' exe s:pA14b.'nabla\nabla ' exe s:pA14b.'surd\surd ' exe s:pA14b.'flat\flat ' exe s:pA14b.'sharp\sharp ' exe s:pA14b.'natural\natural ' exe s:pA14b.'ethð \eth ' exe s:pA14b.'bigstar\bigstar ' exe s:pA14b.'circledS\circledS ' exe s:pA14b.'Finv\Finv ' exe s:pA14b.'dag\dag ' exe s:pA14b.'ddag\ddag ' " }}} " {{{ Symbols3 let s:pA14c = s:pA."&Symbols3." exe s:pA14c.'angle\angle ' exe s:pA14c.'measuredangle\measuredangle ' exe s:pA14c.'sphericalangle\sphericalangle ' exe s:pA14c.'spadesuit\spadesuit ' exe s:pA14c.'heartsuit\heartsuit ' exe s:pA14c.'diamondsuit\diamondsuit ' exe s:pA14c.'clubsuit\clubsuit ' exe s:pA14c.'lozenge\lozenge ' exe s:pA14c.'blacklozenge\blacklozenge ' exe s:pA14c.'Diamond\Diamond ' exe s:pA14c.'triangle\triangle ' exe s:pA14c.'vartriangle\vartriangle ' exe s:pA14c.'blacktriangle\blacktriangle ' exe s:pA14c.'triangledown\triangledown ' exe s:pA14c.'blacktriangledown\blacktriangledown ' exe s:pA14c.'Box\Box ' exe s:pA14c.'square\square ' exe s:pA14c.'blacksquare\blacksquare ' exe s:pA14c.'complement\complement ' exe s:pA14c.'mho\mho ' exe s:pA14c.'Game\Game ' exe s:pA14c.'partial`6\ \ ∂ \partial ' exe s:pA14c.'smallint\smallint ' " }}} " {{{ Logic let s:pA15 = s:pA."&Logic." exe s:pA15.'lnot¬ \lnot ' exe s:pA15.'lor\lor ' exe s:pA15.'land\land ' " }}} " {{{ Limits1 let s:pA16 = s:pA."&Limits1." exe s:pA16.'left( \left' exe s:pA16.'right) \right' exe s:pA16.'-sepbigl- :' exe s:pA16.'bigl \bigl' exe s:pA16.'Bigl \Bigl' exe s:pA16.'biggl \biggl' exe s:pA16.'Biggl \Biggl' exe s:pA16.'-sepbigr- :' exe s:pA16.'bigr \bigr' exe s:pA16.'Bigr \Bigr' exe s:pA16.'biggr \biggr' exe s:pA16.'Biggr \Biggr' exe s:pA16.'-sepbig- :' exe s:pA16.'big \big' exe s:pA16.'bigm \bigm' exe s:pA16.'-sepfloor- :' exe s:pA16.'lfloor\lfloor ' exe s:pA16.'lceil\lceil ' exe s:pA16.'rfloor\rfloor ' exe s:pA16.'rceil\rceil ' exe s:pA16.'-sepangle- :' exe s:pA16.'langle\langle ' exe s:pA16.'rangle\rangle ' " }}} " {{{ Limits2 let s:pA16a = s:pA."&Limits2." exe s:pA16a.'ulcorner\ulcorner ' exe s:pA16a.'urcorner\urcorner ' exe s:pA16a.'llcorner\llcorner ' exe s:pA16a.'rlcorner\rlcorner ' exe s:pA16a.'-sepcorner- :' exe s:pA16a.'vert\| \vert ' exe s:pA16a.'Vert\Vert ' exe s:pA16a.'lvert \lvert ' exe s:pA16a.'lVert \lVert ' exe s:pA16a.'rvert \rvert ' exe s:pA16a.'rVert \rVert ' exe s:pA16a.'uparrow\uparrow ' exe s:pA16a.'Uparrow\Uparrow ' exe s:pA16a.'downarrow\downarrow ' exe s:pA16a.'Downarrow\Downarrow ' exe s:pA16a.'updownarrow\updownarrow ' exe s:pA16a.'Updownarrow\Updownarrow ' exe s:pA16a.'lgroup \lgroup ' exe s:pA16a.'rgroup \rgroup ' exe s:pA16a.'lmoustache\lmoustache ' exe s:pA16a.'rmoustache \rmoustache ' exe s:pA16a.'arrowvert \arrowvert ' exe s:pA16a.'Arrowvert \Arrowvert ' exe s:pA16a.'bracevert \bracevert ' " }}} " {{{ Log-likes let s:pA17 = s:pA."Lo&g-likes." exe s:pA17.'arccos \arccos ' exe s:pA17.'arcsin \arcsin ' exe s:pA17.'arctan \arctan ' exe s:pA17.'arg \arg ' exe s:pA17.'cos \cos ' exe s:pA17.'cosh \cosh ' exe s:pA17.'cot \cot ' exe s:pA17.'coth \coth ' exe s:pA17.'csc \csc ' exe s:pA17.'deg \deg ' exe s:pA17.'det \det ' exe s:pA17.'dim \dim ' exe s:pA17.'exp \exp ' exe s:pA17.'gcd \gcd ' exe s:pA17.'hom \hom ' exe s:pA17.'inf \inf ' exe s:pA17.'injlim \injlim ' exe s:pA17.'ker \ker ' exe s:pA17.'lg \lg ' exe s:pA17.'lim \lim ' exe s:pA17.'liminf \liminf ' exe s:pA17.'limsup \limsup ' exe s:pA17.'ln \ln ' exe s:pA17.'log \log ' exe s:pA17.'max \max ' exe s:pA17.'min \min ' exe s:pA17.'Pr \Pr ' exe s:pA17.'projlim \projlim ' exe s:pA17.'sec \sec ' exe s:pA17.'sin \sin ' exe s:pA17.'sinh \sinh ' exe s:pA17.'sup \sup ' exe s:pA17.'tan \tan ' exe s:pA17.'tanh \tanh ' exe s:pA17.'varlimsup \varlimsup ' exe s:pA17.'varliminf \varliminf ' exe s:pA17.'varinjlim \varinjlim ' exe s:pA17.'varprojlim \varprojlim ' " }}} " {{{ MathSpacing let s:pA18 = s:pA."MathSpacing." exe s:pA18.', \, ' exe s:pA18.': \: ' exe s:pA18.'; \; ' exe s:pA18.'[space] \ ' exe s:pA18.'quad \quad ' exe s:pA18.'qquad \qquad ' exe s:pA18.'! \! ' exe s:pA18.'thinspace \thinspace ' exe s:pA18.'medspace \medspace ' exe s:pA18.'thickspace \thickspace ' exe s:pA18.'negthinspace \negthinspace ' exe s:pA18.'negmedspace \negmedspace ' exe s:pA18.'negthickspace \negthickspace ' " 1}}} " vim:fdm=marker:ff=unix:noet:ts=4:sw=4:fenc=utf-8