/* GoldED--Makro                                                                */
/* Dieses Makro dient zum Aufruf der LaTeX-Hilfe für den Begriff unter dem      */
/* Kursor. Es ist für den Editor "GoldED" (GEd) angepaßt.                       */
/* Für andere Editoren müssen die mit einem Kommentar versehenen Zeilen modifi- */
/* ziert werden.                                                                */
/* Werner Liebscher, September 1994                                             */
/* Markus Aretz, Januar 1995 : GoldED-Anpassung                                 */

/* $VER: 0.9, ©1993 Dietmar Eilert. Empty GoldED macro */

OPTIONS RESULTS                             /* enable return codes     */

if (LEFT(ADDRESS(), 6) ~= "GOLDED") then    /* not started by GoldEd ? */
    address 'GOLDED.1'

'LOCK CURRENT'                              /* lock GUI, gain access   */
OPTIONS FAILAT 6                            /* ignore warnings         */
SIGNAL ON SYNTAX                            /* ensure clean exit       */


/* ------------------------ INSERT YOUR CODE HERE: ------------------- */


/* trace results */

'QUERY WORD'                           /* Wort unter dem Kursor      */
ausdruck = result

select
        when ausdruck == "\abovedisplayshortskip"   then position = "ADSHORTS"
        when ausdruck == "\abovedisplayskip"        then position = "ADSKIP"
        when ausdruck == "abstract"                 then position = "ABSTRACT"
        when ausdruck == "\acute"                   then position = "ACUTE"
        when ausdruck == "\addcontentsline"         then position = "ADDCONTENTSLINE"
        when ausdruck == "\address"                 then position = "ADDRESS"
        when ausdruck == "\addtocontents"           then position = "ADDTOCONTENTS"
        when ausdruck == "\addtocounter"            then position = "ADDTOCOUNTER"
        when ausdruck == "\addtolength"             then position = "ADDTOLENGTH"
        when ausdruck == "\addvspace"               then position = "ADDVSPACE"
        when ausdruck == "\AE"                      then position = "SONDER"
        when ausdruck == "\ae"                      then position = "SONDER"
        when ausdruck == "\aleph"                   then position = "MSYMB"
        when ausdruck == "\Alph"                    then position = "ALPHU"
        when ausdruck == "\alph"                    then position = "ALPH"
        when ausdruck == "\alpha"                   then position = "GREEK"
        when ausdruck == "\amalg"                   then position = "BINOP"
        when ausdruck == "\and"                     then position = "AND"
        when ausdruck == "\angle"                   then position = "MSYMB"
        when ausdruck == "appendix"                 then position = "APPENDIX"
        when ausdruck == "\approx"                  then position = "MCOMP"
        when ausdruck == "\arabic"                  then position = "ARABIC"
        when ausdruck == "\arccos"                  then position = "ARCCOS"
        when ausdruck == "\arcsin"                  then position = "ARCSIN"
        when ausdruck == "\arctan"                  then position = "ARCTAN"
        when ausdruck == "\arg"                     then position = "ARG"
        when ausdruck == "array"                    then position = "ARRAY"
        when ausdruck == "\arraycolsep"             then position = "ARRAYCOLSEP"
        when ausdruck == "\arrayrulewidth"          then position = "ARRAYRULEWIDTH"
        when ausdruck == "\arraystretch"            then position = "ARRAYSTRETCH"
        when ausdruck == "article"                  then position = "DS"
        when ausdruck == "\ast"                     then position = "BINOP"
        when ausdruck == "\asymp"                   then position = "MCOMP"
        when ausdruck == "\austrian"                then position = "AUSTRIAN"
        when ausdruck == "\author"                  then position = "AUTHOR"


        when ausdruck == "\b"                       then position = "B"
        when ausdruck == "\backslash"               then position = "MKLAMMER"
        when ausdruck == "\bar"                     then position = "BAR"
        when ausdruck == "\baselineskip"            then position = "BASELINESKIP"
        when ausdruck == "\baselinestretch"         then position = "BASELINESTRETCH"
        when ausdruck == "\begin"                   then position = "BEGIN"
        when ausdruck == "\belowdisplayshortskip"   then position = "BDSHORT"
        when ausdruck == "\belowdisplayskip"        then position = "BDSKIP"
        when ausdruck == "\beta"                    then position = "GREEK"
        when ausdruck == "\bf"                      then position = "BF"
        when ausdruck == "\bibitem"                 then position = "BIBITEM"
        when ausdruck == "\bibliography"            then position = "BIBLIOGRAPHY"
        when ausdruck == "\bibliographystyle"       then position = "BIBSTYLE"
        when ausdruck == "BibTeX"                   then position = "BIBTEX"
        when ausdruck == "\Big"                     then position = "BIGU"
        when ausdruck == "\big"                     then position = "BIG"
        when ausdruck == "\bigcap"                  then position = "MSYMB"
        when ausdruck == "\bigcirc"                then position = "BINOP"
        when ausdruck == "\bigcup"                  then position = "MSYMB"
        when ausdruck == "\Bigg"                    then position = "BIGGU"
        when ausdruck == "\bigg"                    then position = "BIGG"
        when ausdruck == "\Biggl"                   then position = "BIGGLU"
        when ausdruck == "\biggl"                   then position = "BIGGL"
        when ausdruck == "\Biggm"                   then position = "BIGGMU"
        when ausdruck == "\biggm"                   then position = "BIGGM"
        when ausdruck == "\Biggr"                   then position = "BIGGRU"
        when ausdruck == "\biggr"                   then position = "BIGGR"
        when ausdruck == "\Bigl"                    then position = "BIGLU"
        when ausdruck == "\bigl"                    then position = "BIGL"
        when ausdruck == "\Bigm"                    then position = "BIGMU"
        when ausdruck == "\bigm"                    then position = "BIGM"
        when ausdruck == "\bigodot"                 then position = "MSYMB"
        when ausdruck == "\bigoplus"                then position = "MSYMB"
        when ausdruck == "\bigotimes"               then position = "MSYMB"
        when ausdruck == "\Bigr"                    then position = "BIGRU"
        when ausdruck == "\bigr"                    then position = "BIGR"
        when ausdruck == "\bigskip"                 then position = "BIGSKIP"
        when ausdruck == "\bigskipamount"           then position = "BIGSKIPAMOUNT"
        when ausdruck == "\bigsqcup"                then position = "MSYMB"
        when ausdruck == "\bigtriangledown"         then position = "BINOP"
        when ausdruck == "\bigtriangleup"           then position = "BINOP"
        when ausdruck == "\biguplus"                then position = "MSYMB"
        when ausdruck == "\bigvee"                  then position = "MSYMB"
        when ausdruck == "\bigwedge"                then position = "MSYMB"
        when ausdruck == "\bmod"                    then position = "BMOD"
        when ausdruck == "\boldmath"                then position = "BOLDMATH"
        when ausdruck == "book"                     then position = "DS"
        when ausdruck == "\bot"                     then position = "MSYMB"
        when ausdruck == "\bottomfraction"          then position = "BOTTOMFRACTION"
        when ausdruck == "\bottomnumber"            then position = "BOTTOMNUMBER"
        when ausdruck == "\bowtie"                  then position = "MCOMP"
        when ausdruck == "\Box"                     then position = "MSYMB"
        when ausdruck == "bp"                       then position = "EINH"
        when ausdruck == "\breve"                   then position = "BREVE"
        when ausdruck == "\bullet"                  then position = "BINOP"


        when ausdruck == "\c"                      then position = "C"
        when ausdruck == "\cal"                     then position = "CAL"
        when ausdruck == "\cap"                     then position = "BINOP"
        when ausdruck == "\caption"                 then position = "CAPTION"
        when ausdruck == "\captions"                then position = "CAPTIONS"
        when ausdruck == "cc"                       then position = "EINH"
        when ausdruck == "\cc"                      then position = "CC"
        when ausdruck == "\cdot"                   then position = "BINOP"
        when ausdruck == "center"                   then position = "CENTER"
        when ausdruck == "\centering"               then position = "CENTERING"
        when ausdruck == "\centerline"              then position = "CENTERLINE"
        when ausdruck == "\chapter"                 then position = "CHAPTER"
        when ausdruck == "\check"                   then position = "CHECK"
        when ausdruck == "\chi"                     then position = "GREEK"
        when ausdruck == "\circ"                    then position = "BINOP"
        when ausdruck == "\circle"                  then position = "CIRCLE"
        when ausdruck == "\cite"                    then position = "CITE"
        when ausdruck == "\cleardoublepage"         then position = "CLEARDOUBLEPAGE"
        when ausdruck == "\clearpage"               then position = "CLEARPAGE"
        when ausdruck == "\cline"                   then position = "CLINE"
        when ausdruck == "\closing"                 then position = "CLOSING"
        when ausdruck == "\clubsuit"                then position = "MSYMB"
        when ausdruck == "cm"                       then position = "EINH"
        when ausdruck == "\columnsep"               then position = "COLUMNSEP"
        when ausdruck == "\columnseprule"           then position = "COLUMNSEPRULE"
        when ausdruck == "\cong"                    then position = "MCOMP"
        when ausdruck == "\contentsline"            then position = "CONTENTSLINE"
        when ausdruck == "\coprod"                  then position = "MSYMB"
        when ausdruck == "\copyright"               then position = "SONDER"
        when ausdruck == "\cos"                     then position = "COS"
        when ausdruck == "\cosh"                    then position = "COSH"
        when ausdruck == "\cot"                     then position = "COT"
        when ausdruck == "\coth"                    then position = "COTH"
        when ausdruck == "\csc"                     then position = "CSC"
        when ausdruck == "\cup"                     then position = "BINOP"



        when ausdruck == "\d"                       then position = "D"
        when ausdruck == "\dag"                    then position = "SONDER"
        when ausdruck == "\dagger"                  then position = "BINOP"
        when ausdruck == "\dashbox"                 then position = "DASHBOX"
        when ausdruck == "\dashv"                   then position = "MSYMB"
        when ausdruck == "\date"                    then position = "DATE"
        when ausdruck == "\dblfloatpagefraction"    then position = "DBLFPFRAC"
        when ausdruck == "\dblfloatsep"             then position = "DBLFLOATSEP"
        when ausdruck == "\dbltextfloatsep"         then position = "DBLTEXTFLOATSEP"
        when ausdruck == "\dbltopfraction"          then position = "DBLTOPFRACTION"
        when ausdruck == "\dbltopnumber"            then position = "DBLTOPNUMBER"
        when ausdruck == "dd"                       then position = "EINH"
        when ausdruck == "\ddag"                    then position = "SONDER"
        when ausdruck == "\ddagger"                 then position = "BINOP"
        when ausdruck == "\ddot"                    then position = "DDOT"
        when ausdruck == "\deg"                     then position = "DEG"
        when ausdruck == "\Delta"                   then position = "GREEK"
        when ausdruck == "\delta"                   then position = "GREEK"
        when ausdruck == "description"              then position = "DESCRIPTION"
        when ausdruck == "\det"                     then position = "DET"
        when ausdruck == "\Diamond"                 then position = "MSYMB"
        when ausdruck == "\diamond"                 then position = "BINOP"
        when ausdruck == "\diamondsuit"             then position = "MSYMB"
        when ausdruck == "\dim"                     then position = "DIM"
        when ausdruck == "\discretionary"           then position = "DISCRETIONARY"
        when ausdruck == "displaymath"              then position = "DISPLAYMATH"
        when ausdruck == "\displaystyle"            then position = "DISPLAYSTYLE"
        when ausdruck == "\div"                     then position = "BINOP"
        when ausdruck == "document"                 then position = "DOCUMENT"
        when ausdruck == "\documentstyle"           then position = "DS"
        when ausdruck == "\dot"                     then position = "DOT"
        when ausdruck == "\doteq"                   then position = "MCOMP"
        when ausdruck == "\dotfill"                 then position = "DOTFILL"
        when ausdruck == "\doublerulesep"           then position = "DOUBLERULESEP"
        when ausdruck == "\Downarrow"               then position = "MARROW"
        when ausdruck == "\downarrow"               then position = "MARROW"
        when ausdruck == "\dq"                      then position = "DQ"



        when ausdruck == "\ell"                     then position = "MSYMB"
        when ausdruck == "em"                       then position = "EINH"
        when ausdruck == "\em"                      then position = "EM"
        when ausdruck == "\emptyset"                then position = "MSYMB"
        when ausdruck == "\encl"                    then position = "ENCL"
        when ausdruck == "\end"                     then position = "END"
        when ausdruck == "\english"                 then position = "ENGLISH"
        when ausdruck == "enumerate"                then position = "ENUMERATE"
        when ausdruck == "\epsilon"                 then position = "GREEK"
        when ausdruck == "eqnarray"                 then position = "EQNARRAY"
        when ausdruck == "equation"                 then position = "EQUATION"
        when ausdruck == "\equiv"                   then position = "MCOMP"
        when ausdruck == "\eta"                     then position = "GREEK"
        when ausdruck == "\evensidemargin"          then position = "EVENSIDEMARGIN"
        when ausdruck == "ex"                       then position = "EINH"
        when ausdruck == "\exists"                 then position = "MSYMB"
        when ausdruck == "\exp"                     then position = "EXP"
        when ausdruck == "\extracolsep"             then position = "EXTRACOLSEP"



        when ausdruck == "\fbox"                    then position = "FBOX"
        when ausdruck == "\fboxrule "               then position = "FBOXRULE"
        when ausdruck == "\fboxsep"                 then position = "FBOXSEP"
        when ausdruck == "figure"                   then position = "FIGURE"
        when ausdruck == "\fill"                    then position = "FILL"
        when ausdruck == "\flat"                    then position = "MSYMB"
        when ausdruck == "fleqn"                    then position = "DS"
        when ausdruck == "\floatpagefraction"       then position = "FPFRAC"
        when ausdruck == "\floatsep"                then position = "FLOATSEP"
        when ausdruck == "\flq"                     then position = "FLQ"
        when ausdruck == "\flqq"                    then position = "FLQQ"
        when ausdruck == "\flushbottom"             then position = "FLUSHBOTTOM"
        when ausdruck == "flushleft"                then position = "FLUSHLEFT"
        when ausdruck == "flushright"               then position = "FLUSHRIGHT"
        when ausdruck == "\fnsymbol"                then position = "FNSYMBOL"
        when ausdruck == "\footheight"              then position = "FOOTHEIGHT"
        when ausdruck == "\footnote"                then position = "FOOTNOTE"
        when ausdruck == "\footnotemark"            then position = "FOOTNOTEMARK"
        when ausdruck == "\footnoterule"            then position = "FOOTNOTERULE"
        when ausdruck == "\footnotesep"             then position = "FOOTNOTESEP"
        when ausdruck == "\footnotesize"            then position = "FOOTNOTESIZE"
        when ausdruck == "\footnotetext"            then position = "FOOTNOTETEXT"
        when ausdruck == "\footskip"                then position = "FOOTSKIP"
        when ausdruck == "\forall"                  then position = "MSYMB"
        when ausdruck == "\frac"                    then position = "FRAC"
        when ausdruck == "\frame"                   then position = "FRAME"
        when ausdruck == "\framebox"                then position = "FRAMEBOX"
        when ausdruck == "\french"                  then position = "FRENCH"
        when ausdruck == "\frenchspacing"           then position = "FRENCHSPACING"
        when ausdruck == "\frown"                   then position = "MCOMP"
        when ausdruck == "\frq"                     then position = "FRQ"
        when ausdruck == "\frqq"                    then position = "FRQQ"
        when ausdruck == "Funktionsnamen"           then position = "MFUNC"
        when ausdruck == "\fussy"                   then position = "FUSSY"
        when ausdruck == "fussypar"                 then position = "FUSSYPAR"



        when ausdruck == "\Gamma"                   then position = "GREEK"
        when ausdruck == "\gamma"                   then position = "GREEK"
        when ausdruck == "\gcd"                     then position = "GCD"
        when ausdruck == "\ge"                      then position = "MCOMP"
        when ausdruck == "\geq"                     then position = "MCOMP"
        when ausdruck == "german.sty"               then position = "GERMANSTY"
        when ausdruck == "\german"                  then position = "GERMAN"
        when ausdruck == "\germanTeX"               then position = "GERMANTEX"
        when ausdruck == "\gets"                    then position = "MARROW"
        when ausdruck == "\gg"                     then position = "MCOMP"
        when ausdruck == "\glossary"                then position = "GLOSSARY"
        when ausdruck == "\glossaryentry"           then position = "GLOSSARYENTRY"
        when ausdruck == "\glq"                     then position = "GLQ"
        when ausdruck == "\glqq"                    then position = "GLQQ"
        when ausdruck == "\grave"                   then position = "GRAVE"
        when ausdruck == "\grq"                     then position = "GRQ"
        when ausdruck == "\grqq"                    then position = "GRQQ"

        when ausdruck == "\H"                       then position = "H"
        when ausdruck == "\hat"                     then position = "HAT"
        when ausdruck == "\hbar"                    then position = "MSYMB"
        when ausdruck == "\headheight"              then position = "HEADHEIGHT"
        when ausdruck == "\headsep"                 then position = "HEADSEP"
        when ausdruck == "\heartsuit"               then position = "MSYMB"
        when ausdruck == "\hfill"                   then position = "HFILL"
        when ausdruck == "\hline"                   then position = "HLINE"
        when ausdruck == "\hoffset"                 then position = "HOFFSET"
        when ausdruck == "\hom"                     then position = "HOM"
        when ausdruck == "\hookleftarrow"           then position = "MARROW"
        when ausdruck == "\hookrightarrow"          then position = "MARROW"
        when ausdruck == "\hrulefill"               then position = "HRULEFILL"
        when ausdruck == "\hspace"                  then position = "HSPACE"
        when ausdruck == "\Huge"                    then position = "HUGEU"
        when ausdruck == "\huge"                    then position = "HUGE"
        when ausdruck == "\hyphenation"             then position = "HYPHENATION"



        when ausdruck == "\iff"                     then position = "MARROW"
        when ausdruck == "\Im"                      then position = "MSYMB"
        when ausdruck == "\imath"                   then position = "MSYMB"
        when ausdruck == "in"                       then position = "EINH"
        when ausdruck == "\in"                      then position = "MCOMP"
        when ausdruck == "\include"                 then position = "INCLUDE"
        when ausdruck == "\includeonly"             then position = "INCLUDEONLY"
        when ausdruck == "\indent"                  then position = "INDENT"
        when ausdruck == "\index"                   then position = "MINDEX"
        when ausdruck == "\indexentry"              then position = "INDEXENTRY"
        when ausdruck == "\indexspace"              then position = "INDEXSPACE"
        when ausdruck == "\inf"                     then position = "INF"
        when ausdruck == "\infty"                   then position = "MSYMB"
        when ausdruck == "\input"                   then position = "INPUT"
        when ausdruck == "\int"                     then position = "MSYMB"
        when ausdruck == "\intextsep"               then position = "INTEXTSEP"
        when ausdruck == "\iota"                    then position = "GREEK"
        when ausdruck == "\it"                      then position = "IT"
        when ausdruck == "\item"                    then position = "ITEM"
        when ausdruck == "\itemindent"              then position = "ITEMINDENT"
        when ausdruck == "itemize"                  then position = "ITEMIZE"
        when ausdruck == "\itemsep"                 then position = "ITEMSEP"


        when ausdruck == "\jmath"                   then position = "MSYMB"
        when ausdruck == "\Join"                    then position = "MSYMB"
        when ausdruck == "\jot"                     then position = "JOT"

        when ausdruck == "\kappa"                   then position = "GREEK"
        when ausdruck == "\ker"                     then position = "KER"
        when ausdruck == "\kill"                    then position = "KILL"


        when ausdruck == "\L"                       then position = "SONDER"
        when ausdruck == "\l"                       then position = "SONDER"
        when ausdruck == "\label"                   then position = "LABEL"
        when ausdruck == "\labelenum"               then position = "LABELENUM"
        when ausdruck == "\labelitem"               then position = "LABELITEM"
        when ausdruck == "\labelsep"                then position = "LABELSEP"
        when ausdruck == "\labelwidth"              then position = "LABELWIDTH"
        when ausdruck == "\Lamda"                   then position = "GREEK"
        when ausdruck == "\lamda"                   then position = "GREEK"
        when ausdruck == "\langle"                  then position = "MKLAMMER"
        when ausdruck == "\LARGE"                   then position = "LARGEU"
        when ausdruck == "\Large"                   then position = "LARGEM"
        when ausdruck == "\large"                   then position = "LARGE"
        when ausdruck == "\LaTeX"                   then position = "LATEX"
        when ausdruck == "\lceil"                   then position = "MKLAMMER"
        when ausdruck == "\le"                      then position = "MCOMP"
        when ausdruck == "\leadsto"                 then position = "MARROW"
        when ausdruck == "\left"                    then position = "LEFT"
        when ausdruck == "\Leftarrow"               then position = "MARROW"
        when ausdruck == "\leftarrow"               then position = "MARROW"
        when ausdruck == "\lefteqn"                 then position = "LEFTEQN"
        when ausdruck == "\leftharpoondown"         then position = "MARROW"
        when ausdruck == "\leftharpoonup"           then position = "MARROW"
        when ausdruck == "\leftmargin"              then position = "LEFTMARGIN"
        when ausdruck == "\Leftrightarrow"          then position = "MARROW"
        when ausdruck == "\leftrightarrow"          then position = "MARROW"
        when ausdruck == "\leftrightharpoons"       then position = "MARROW"
        when ausdruck == "\leq"                    then position = "MCOMP"
        when ausdruck == "leqno"                    then position = "DS"
        when ausdruck == "letter"                   then position = "LETTER"
        when ausdruck == "\lfloor"                  then position = "MKLAMMER"
        when ausdruck == "\lg"                      then position = "LG"
        when ausdruck == "\lhd"                     then position = "BINOP"
        when ausdruck == "\lim"                     then position = "LIM"
        when ausdruck == "\liminf"                  then position = "LIMINF"
        when ausdruck == "\limits"                  then position = "LIMITS"
        when ausdruck == "\limsup"                  then position = "LIMSUP"
        when ausdruck == "\line"                    then position = "LINE"
        when ausdruck == "\linebreak"               then position = "LINEBREAK"
        when ausdruck == "\linethickness"           then position = "LINETHICKNESS"
        when ausdruck == "list"                     then position = "LIST"
        when ausdruck == "\listoffigures"           then position = "LISTOFFIGURES"
        when ausdruck == "\listoftables"            then position = "LISTOFTABLES"
        when ausdruck == "\listparindent"           then position = "LISTPARINDENT"
        when ausdruck == "\ll"                      then position = "MCOMP"
        when ausdruck == "\ln"                     then position = "LN"
        when ausdruck == "\load"                    then position = "LOAD"
        when ausdruck == "\log"                     then position = "LOG"
        when ausdruck == "\Longleftarrow"           then position = "MARROW"
        when ausdruck == "\longleftarrow"           then position = "MARROW"
        when ausdruck == "\Longleftrightarrow"      then position = "MARROW"
        when ausdruck == "\longleftrightarrow"      then position = "MARROW"
        when ausdruck == "\longmapsto"              then position = "MARROW"
        when ausdruck == "\Longrightarrow"          then position = "MARROW"
        when ausdruck == "\longrightarrow"          then position = "MARROW"



        when ausdruck == "\makebox"                 then position = "MAKEBOX"
        when ausdruck == "\makeglossary"            then position = "MAKEGLOSSARY"
        when ausdruck == "MakeIndex"                then position = "MakeIndex2"
        when ausdruck == "\makeindex"               then position = "MAKEINDEX"
        when ausdruck == "\makelabel"               then position = "MAKELABEL"
        when ausdruck == "\makelabels"              then position = "MAKELABELS"
        when ausdruck == "\maketitle"               then position = "MAKETITLE"
        when ausdruck == "\mapsto"                 then position = "MARROW"
        when ausdruck == "\marginpar"               then position = "MARGINPAR"
        when ausdruck == "\marginparpush"           then position = "MARGINPARPUSH"
        when ausdruck == "\marginparsep"            then position = "MARGINPARSEP"
        when ausdruck == "\marginparwidth"          then position = "MARGINPARWIDTH"
        when ausdruck == "\markboth"                then position = "MARKBOTH"
        when ausdruck == "\markright"               then position = "MARKRIGHT"
        when ausdruck == "math"                     then position = "MATH"
        when ausdruck == "\mathindent"              then position = "MATHINDENT"
        when ausdruck == "\max"                     then position = "MAX"
        when ausdruck == "\mbox"                    then position = "MBOX"
        when ausdruck == "\medskip"                 then position = "MEDSKIP"
        when ausdruck == "\medskipamount"           then position = "MEDSKIPAMOUNT"
        when ausdruck == "\mho"                     then position = "MSYMB"
        when ausdruck == "\mid"                     then position = "MCOMP"
        when ausdruck == "\min"                     then position = "MIN"
        when ausdruck == "minipage"                 then position = "MINIPAGE"
        when ausdruck == "\mit"                     then position = "MIT"
        when ausdruck == "mm"                       then position = "EINH"
        when ausdruck == "\models"                  then position = "MCOMP"
        when ausdruck == "\mp"                      then position = "BINOP"
        when ausdruck == "\mu"                      then position = "GREEK"
        when ausdruck == "\multicolumn"             then position = "MULTICOLUMN"
        when ausdruck == "\multiput"                then position = "MULTIPUT"
        when ausdruck == "\myref"                   then position = "MYREF"


        when ausdruck == "\nabla"                   then position = "MSYMB"
        when ausdruck == "\name"                    then position = "NAME"
        when ausdruck == "\natural"                 then position = "MSYMB"
        when ausdruck == "\nearrow"                 then position = "MARROW"
        when ausdruck == "\neg"                     then position = "MSYMB"
        when ausdruck == "\neq"                     then position = "MCOMP"
        when ausdruck == "\newcommand"              then position = "NEWCOMMAND"
        when ausdruck == "\newcounter"              then position = "NEWCOUNTER"
        when ausdruck == "\newenvironment"          then position = "NEWENVIRONMENT"
        when ausdruck == "\newfont"                 then position = "NEWFONT"
        when ausdruck == "\newlength"               then position = "NEWLENGTH"
        when ausdruck == "\newline"                 then position = "NEWLINE"
        when ausdruck == "\newpage"                 then position = "NEWPAGE"
        when ausdruck == "\newsavebox"              then position = "NEWSAVEBOX"
        when ausdruck == "\newtheorem"              then position = "NEWTHEOREM"
        when ausdruck == "\ni"                      then position = "MCOMP"
        when ausdruck == "\nocite"                  then position = "NOCITE"
        when ausdruck == "\nofiles"                 then position = "NOFILES"
        when ausdruck == "\noindent"                then position = "NOINDENT"
        when ausdruck == "\nolimits"                then position = "NOLIMITS"
        when ausdruck == "\nolinebreak"             then position = "NOLINEBREAK"
        when ausdruck == "\nonfrenchspacing"        then position = "NONFSPACE"
        when ausdruck == "\nonumber"                then position = "NONUMBER"
        when ausdruck == "\nopagebreak"             then position = "NOPAGEBREAK"
        when ausdruck == "\normalmarginpar"         then position = "NORMALMARGINPAR"
        when ausdruck == "\normalsize"              then position = "NORMALSIZE"
        when ausdruck == "\not"                     then position = "NOT"
        when ausdruck == "\notin"                   then position = "MCOMP"
        when ausdruck == "\nu"                      then position = "GREEK"
        when ausdruck == "\numberline"              then position = "NUMBERLINE"
        when ausdruck == "\nwarrow"                 then position = "MARROW"



        when ausdruck == "\O"                       then position = "SONDER"
        when ausdruck == "\o"                       then position = "SONDER"
        when ausdruck == "\oddsidemargin"           then position = "ODDSIDEMARGIN"
        when ausdruck == "\odot"                    then position = "BINOP"
        when ausdruck == "\OE"                      then position = "SONDER"
        when ausdruck == "\oe"                      then position = "SONDER"
        when ausdruck == "\oint"                    then position = "MSYMB"
        when ausdruck == "\Omega"                   then position = "GREEK"
        when ausdruck == "\omega"                   then position = "GREEK"
        when ausdruck == "\ominus"                  then position = "BINOP"
        when ausdruck == "\onecolumn"               then position = "ONECOLUMN"
        when ausdruck == "\opening"                 then position = "OPENING"
        when ausdruck == "\oplus"                   then position = "BINOP"
        when ausdruck == "\originalTeX"             then position = "ORIGINALTEX"
        when ausdruck == "\oslash"                  then position = "BINOP"
        when ausdruck == "\otimes"                  then position = "BINOP"
        when ausdruck == "\oval"                    then position = "OVAL"
        when ausdruck == "\overbrace"               then position = "OVERBRACE"
        when ausdruck == "\overline"                then position = "OVERLINE"



        when ausdruck == "\P"                       then position = "SONDER"
        when ausdruck == "\pagebreak"               then position = "PAGEBREAK"
        when ausdruck == "\pagenumbering"           then position = "PAGENUMBERING"
        when ausdruck == "\pageref"                 then position = "PAGEREF"
        when ausdruck == "\pagestyle"               then position = "PAGESTYLE"
        when ausdruck == "\par"                     then position = "PAR"
        when ausdruck == "\paragraph"               then position = "PARAGRAPH"
        when ausdruck == "\parallel"                then position = "MCOMP"
        when ausdruck == "\parbox"                  then position = "PARBOX"
        when ausdruck == "\parindent"               then position = "PARINDENT"
        when ausdruck == "\parsep"                  then position = "PARSEP"
        when ausdruck == "\parskip"                 then position = "PARSKIP"
        when ausdruck == "\part"                    then position = "PART"
        when ausdruck == "\partial"                 then position = "MSYMB"
        when ausdruck == "\partopsep"               then position = "PARTOPSEP"
        when ausdruck == "pc"                       then position = "EINH"
        when ausdruck == "\perp"                    then position = "MCOMP"
        when ausdruck == "\Phi"                     then position = "GREEK"
        when ausdruck == "\phi"                     then position = "GREEK"
        when ausdruck == "\Pi"                      then position = "GREEK"
        when ausdruck == "\pi"                      then position = "GREEK"
        when ausdruck == "picture"                  then position = "PICTURE"
        when ausdruck == "\pm"                      then position = "BINOP"
        when ausdruck == "\pmod"                    then position = "PMOD"
        when ausdruck == "\poptabs"                 then position = "POPTABS"
        when ausdruck == "\pounds"                  then position = "SONDER"
        when ausdruck == "\Pr"                      then position = "PR"
        when ausdruck == "\prec"                    then position = "MCOMP"
        when ausdruck == "\preceq"                  then position = "MCOMP "
        when ausdruck == "\prime"                   then position = "MSYMB"
        when ausdruck == "\printindex"              then position = "PRINTINDEX"
        when ausdruck == "\prod"                    then position = "MSYMB"
        when ausdruck == "\propto"                  then position = "MCOMP"
        when ausdruck == "\protect"                 then position = "PROTECT"
        when ausdruck == "\ps"                      then position = "PS"
        when ausdruck == "\Psi"                     then position = "GREEK"
        when ausdruck == "\psi"                     then position = "GREEK"
        when ausdruck == "pt"                       then position = "EINH"
        when ausdruck == "\pushtabs"                then position = "PUSHTABS"
        when ausdruck == "\put"                     then position = "PUT"



        when ausdruck == "\qquad"                   then position = "QQUAD"
        when ausdruck == "\quad"                    then position = "QUAD"
        when ausdruck == "quotation"                then position = "QUOTATION"
        when ausdruck == "quote"                    then position = "QUOTE"


        when ausdruck == "\raggedbottom"            then position = "RAGGEDBOTTOM"
        when ausdruck == "\raggedleft"              then position = "RAGGEDLEFT"
        when ausdruck == "\raggedright"             then position = "RAGGEDRIGHT"
        when ausdruck == "\raisebox"                then position = "RAISEBOX"
        when ausdruck == "\rangle"                  then position = "MKLAMMER"
        when ausdruck == "\rceil"                   then position = "MKLAMMER"
        when ausdruck == "\Re"                      then position = "MSYMB"
        when ausdruck == "\ref"                     then position = "REF"
        when ausdruck == "\refstepcounter"          then position = "REFSTEPCOUNTER"
        when ausdruck == "\renewcommand"           then position = "RENEWCOMMAND"
        when ausdruck == "\renewenvironment"        then position = "RENEWENV"
        when ausdruck == "report"                   then position = "DS"
        when ausdruck == "\reversemarginpar"        then position = "REVMARGPAR"
        when ausdruck == "\rfloor"                  then position = "MKLAMMER"
        when ausdruck == "\rhd"                     then position = "BINOP"
        when ausdruck == "\rho"                     then position = "GREEK"
        when ausdruck == "\right"                   then position = "RIGHT"
        when ausdruck == "\Rightarrow"              then position = "MARROW"
        when ausdruck == "\rightarrow"              then position = "MARROW"
        when ausdruck == "\rightharpoondown"        then position = "MARROW"
        when ausdruck == "\rightharpoonup"          then position = "MARROW"
        when ausdruck == "\rightmargin"             then position = "RIGHTMARGIN"
        when ausdruck == "\rm"                      then position = "RM"
        when ausdruck == "\Roman"                   then position = "ROMANU"
        when ausdruck == "\roman"                   then position = "ROMAN"
        when ausdruck == "\rule"                    then position = "RULE"



        when ausdruck == "\S"                       then position = "SONDER"
        when ausdruck == "samepage"                 then position = "samepage2"
        when ausdruck == "\samepage"                then position = "samepage"
        when ausdruck == "\savebox"                 then position = "SAVEBOX"
        when ausdruck == "\sbox"                    then position = "SBOX"
        when ausdruck == "\sc"                      then position = "SC"
        when ausdruck == "Schriftstile"             then position = "STIL"
        when ausdruck == "\scriptscriptstyle"       then position = "SSSTYLE"
        when ausdruck == "\scriptsize"              then position = "SCRIPTSIZE"
        when ausdruck == "\scriptstyle"             then position = "SCRIPTSTYLE"
        when ausdruck == "\searrow"                 then position = "MARROW"
        when ausdruck == "\sec"                     then position = "SEC"
        when ausdruck == "\section"                 then position = "SECTION"
        when ausdruck == "\see"                     then position = "SEE"
        when ausdruck == "\selectlanguage"          then position = "SELECTLANGUAGE"
        when ausdruck == "\setcounter"              then position = "SETCOUNTER"
        when ausdruck == "\setlength"               then position = "SETLENGTH"
        when ausdruck == "\setminus"                then position = "BINOP"
        when ausdruck == "\settowidth"              then position = "SETTOWIDTH"
        when ausdruck == "\sf"                      then position = "SF"
        when ausdruck == "\sharp"                   then position = "MSYMB"
        when ausdruck == "\shortstack"              then position = "SHORTSTACK"
        when ausdruck == "\showhyphens"             then position = "SHOWHYPHENS"
        when ausdruck == "\Sigma"                   then position = "GREEK"
        when ausdruck == "\sigma"                   then position = "GREEK"
        when ausdruck == "\signature"               then position = "SIGNATURE"
        when ausdruck == "\sim"                     then position = "MCOMP"
        when ausdruck == "\simeq"                   then position = "MCOMP"
        when ausdruck == "\sin"                     then position = "SIN"
        when ausdruck == "\sinh"                    then position = "SINH"
        when ausdruck == "\sl"                      then position = "SL"
        when ausdruck == "\sloppy"                  then position = "SLOPPY"
        when ausdruck == "sloppypar"                then position = "SLOPPYPAR"
        when ausdruck == "\small"                   then position = "SMALL"
        when ausdruck == "\smallskip"               then position = "SMALLSKIP"
        when ausdruck == "\smallskipamount"         then position = "SMALLSKIPAMOUNT"
        when ausdruck == "\smile"                   then position = "MCOMP"
        when ausdruck == "sp"                       then position = "EINH"
        when ausdruck == "\spadesuit"               then position = "MSYMB"
        when ausdruck == "\special"                 then position = "SPECIAL"
        when ausdruck == "\sqcap"                   then position = "BINOP"
        when ausdruck == "\sqcup"                   then position = "BINOP"
        when ausdruck == "\sqrt"                    then position = "SQRT"
        when ausdruck == "\sqsubset"                then position = "MCOMP"
        when ausdruck == "\sqsubseteq"              then position = "MCOMP"
        when ausdruck == "\sqsupset"                then position = "MCOMP"
        when ausdruck == "\sqsupseteq"              then position = "MCOMP"
        when ausdruck == "\ss"                      then position = "SS"
        when ausdruck == "\stackrel"                then position = "STACKREL"
        when ausdruck == "\star"                    then position = "BINOP"
        when ausdruck == "\stepcounter"             then position = "STEPCOUNTER"
        when ausdruck == "\stretch"                then position = "STRETCH"
        when ausdruck == "\subitem"                 then position = "SUBITEM"
        when ausdruck == "\subject"                 then position = "SUBJECT"
        when ausdruck == "\subparagraph"            then position = "SUBPARAGRAPH"
        when ausdruck == "\subsection"              then position = "SUBSECTION"
        when ausdruck == "\subset"                  then position = "MCOMP"
        when ausdruck == "\subseteq"                then position = "MCOMP"
        when ausdruck == "\subsubitem"              then position = "SUBSUBITEM"
        when ausdruck == "\subsubsection"           then position = "SUBSUBSECTION"
        when ausdruck == "\succ"                    then position = "MCOMP"
        when ausdruck == "\succeq"                  then position = "MCOMP"
        when ausdruck == "\sum"                     then position = "MSYMB"
        when ausdruck == "\sup"                     then position = "SUP"
        when ausdruck == "\supset"                  then position = "MCOMP"
        when ausdruck == "\supseteq"                then position = "MCOMP"
        when ausdruck == "\surd"                    then position = "MSYMB"
        when ausdruck == "\swarrow"                 then position = "MARROW"
        when ausdruck == "\symbol"                  then position = "SYMBOL"



        when ausdruck == "\t"                       then position = "T"
        when ausdruck == "tabbing"                  then position = "TABBING"
        when ausdruck == "\tabbingsep"              then position = "TABBINGSEP"
        when ausdruck == "\tabcolsep"               then position = "TABCOLSEP"
        when ausdruck == "table"                    then position = "TABLE"
        when ausdruck == "\tableofcontents"         then position = "TABLEOFCONTENTS"
        when ausdruck == "tabular"                  then position = "TABULAR"
        when ausdruck == "\tan"                     then position = "TAN"
        when ausdruck == "\tanh"                    then position = "TANH"
        when ausdruck == "\tau"                     then position = "GREEK"
        when ausdruck == "\telephone"               then position = "TELEPHONE"
        when ausdruck == "\TeX"                     then position = "TEX"
        when ausdruck == "\textfloatsep"            then position = "TEXTFLOATSEP"
        when ausdruck == "\textfraction"            then position = "TEXTFRACTION"
        when ausdruck == "\textheight"              then position = "TEXTHEIGHT"
        when ausdruck == "\textstyle"               then position = "TEXTSTYLE"
        when ausdruck == "\textwidth"               then position = "TEXTWIDTH"
        when ausdruck == "\thanks"                  then position = "THANKS"
        when ausdruck == "\the"                     then position = "THEzähler"
        when ausdruck == "thebibliography"          then position = "THEBIBLIOGRAPHY"
        when ausdruck == "theindex"                 then position = "THEINDEX"
        when ausdruck == "\Theta"                   then position = "GREEK"
        when ausdruck == "\theta"                   then position = "GREEK"
        when ausdruck == "\thicklines"              then position = "THICKLINES"
        when ausdruck == "\thinlines"               then position = "THINLINES"
        when ausdruck == "\thispagestyle"           then position = "THISPAGESTYLE"
        when ausdruck == "\tilde"                   then position = "TILDE"
        when ausdruck == "\times"                   then position = "BINOP"
        when ausdruck == "\tiny"                    then position = "TINY"
        when ausdruck == "\title"                   then position = "TITLE"
        when ausdruck == "titlepage"                then position = "TITLEPAGE"
        when ausdruck == "\today"                   then position = "TODAY"
        when ausdruck == "\top"                     then position = "MSYMB"
        when ausdruck == "\topfraction"             then position = "TOPFRACTION"
        when ausdruck == "\topmargin"               then position = "TOPMARGIN"
        when ausdruck == "\topnumber"               then position = "TOPNUMBER"
        when ausdruck == "\topsep"                  then position = "TOPSEP"
        when ausdruck == "\topskip"                 then position = "TOPSKIP"
        when ausdruck == "\totalnumber"             then position = "TOTALNUMBER"
        when ausdruck == "\triangle"                then position = "MSYMB"
        when ausdruck == "\triangleleft"            then position = "BINOP"
        when ausdruck == "\triangleright"           then position = "BINOP"
        when ausdruck == "trivlist"                 then position = "TRIVLIST"
        when ausdruck == "\tt"                      then position = "TT"
        when ausdruck == "twocolumn"                then position = "DS"
        when ausdruck == "\twocolumn"               then position = "TWOCOLUMN"
        when ausdruck == "twoside"                  then position = "DS"
        when ausdruck == "\typein"                  then position = "TYPEIN"
        when ausdruck == "\typeout"                 then position = "TYPEOUT"



        when ausdruck == "\u"                       then position = "U"
        when ausdruck == "\umlauthigh"              then position = "UMLAUTHIGH"
        when ausdruck == "\umlautlow"               then position = "UMLAUTLOW"
        when ausdruck == "\unboldmath"              then position = "UNBOLDMATH"
        when ausdruck == "\underbrace"              then position = "UNDERBRACE"
        when ausdruck == "\underline"               then position = "UNDERLINE"
        when ausdruck == "\unitlength"              then position = "UNITLENGTH"
        when ausdruck == "\unitlength"              then position = "UNITLENGTH"
        when ausdruck == "\unlhd"                   then position = "BINOP"
        when ausdruck == "\unrhd"                   then position = "BINOP"
        when ausdruck == "\Uparrow"                 then position = "MARROW"
        when ausdruck == "\uparrow"                 then position = "MARROW"
        when ausdruck == "\Updownarrow"             then position = "MARROW"
        when ausdruck == "\updownarrow"             then position = "MARROW"
        when ausdruck == "\uplus"                   then position = "BINOP"
        when ausdruck == "\Upsilon"                 then position = "GREEK"
        when ausdruck == "\upsilon"                 then position = "GREEK"
        when ausdruck == "\usebox"                  then position = "USEBOX"
        when ausdruck == "\USenglish"               then position = "USENGLISH"


        when ausdruck == "\v"                       then position = "V"
        when ausdruck == "\value"                   then position = "VALUE"
        when ausdruck == "\varepsilon"              then position = "GREEK"
        when ausdruck == "\varphi"                  then position = "GREEK"
        when ausdruck == "\varpi"                   then position = "GREEK"
        when ausdruck == "\varrho"                  then position = "GREEK"
        when ausdruck == "\varsigma"                then position = "GREEK"
        when ausdruck == "\vartheta"                then position = "GREEK"
        when ausdruck == "\vdash"                   then position = "MSYMB"
        when ausdruck == "\vec"                     then position = "VEC"
        when ausdruck == "\vector"                  then position = "VECTOR"
        when ausdruck == "\vee"                     then position = "BINOP"
        when ausdruck == "\verb"                    then position = "VERB"
        when ausdruck == "verbatim"                 then position = "VERBATIM"
        when ausdruck == "verse"                    then position = "VERSE"
        when ausdruck == "\vfill"                   then position = "VFILL"
        when ausdruck == "\vline"                   then position = "VLINE"
        when ausdruck == "\voffset"                 then position = "VOFFSET"
        when ausdruck == "\vspace"                  then position = "VSPACE"


        when ausdruck == "\wedge"                   then position = "BINOP"
        when ausdruck == "\widehat"                 then position = "WIDEHAT"
        when ausdruck == "\widetilde"              then position = "WIDETILDE"
        when ausdruck == "\wp"                      then position = "MSYMB"
        when ausdruck == "\wr"                      then position = "BINOP"


        when ausdruck == "\Xi"                      then position = "GREEK"
        when ausdruck == "\xi"                      then position = "GREEK "

        when ausdruck == "\zeta"                    then position = "GREEK"
        otherwise position = "Syntax"
end

OPTIONS FAILAT 21
ADDRESS COMMAND "run >nil: amigaguide tex:help/latex-hilfe.guide document "position
if RC=20 then 
    'REQUEST BODY "Suchwort '''refword''' nicht gefunden"'
OPTIONS FAILAT 6


/* ---------------------------- END OF YOUR CODE --------------------- */

'UNLOCK' /* VERY important: unlock GUI */
EXIT

SYNTAX:

SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
EXIT

