########################################################
#                Tk LaTeX Editor
#        Distributed under GNU Public License
# Author: Sergey Kalinin (BanZaj) banzaj@lrn.ru
# Copyright (c) "CONERO lab", 2002, http://conero.lrn.ru
########################################################
#              Mathematical ToolBar
# Author: Constantin i Mikhailenko (Const)
########################################################

menu math/equation.gif "Math mode" {
    cmd "AddTextDouble begin{math} end{math}" "math"
    cmd "AddTextMath ( )" "( ... )"
    cmd "AddTextMath $ $" "$ ... $"
    cmd separator    
    cmd "AddTextDouble begin{displaymath}\n end{displaymath}" "displaymath"
    cmd "AddTextMath \[ \]" "[ ... ]"
    cmd "AddTextMath $$ $$" "$$ ... $$"
    cmd separator    
    cmd "AddTextDouble begin{equation}\n end{equation}" "equation"
    cmd "AddTextDouble begin{eqarray}\n end{eqarray}" "eqarray"
}

menu math/alpha-nu.gif "Greek 1" {
    imagecmd "AddTextCommand alpha" "\alpha" math/alpha.gif
    imagecmd "AddTextCommand beta" "\beta" math/beta.gif
    imagecmd "AddTextCommand gamma" "\gamma" math/gamma.gif
    imagecmd "AddTextCommand delta" "\delta" math/delta.gif
    imagecmd "AddTextCommand zeta" "\zeta" math/zeta.gif
    imagecmd "AddTextCommand epsilon" "\epsilon" math/epsilon.gif
    imagecmd "AddTextCommand varepsilon" "\varepsilon" math/varepsilon.gif
    imagecmd "AddTextCommand eta" "\eta" math/eta.gif
    imagecmd "AddTextCommand theta" "\theta" math/theta.gif
    imagecmd "AddTextCommand vartheta" "\vartheta" math/vartheta.gif
    imagecmd "AddTextCommand iota" "\iota" math/iota.gif
    imagecmd "AddTextCommand kappa" "\kappa" math/kappa.gif
    imagecmd "AddTextCommand lambda" "\lambda" math/lambda.gif
    imagecmd "AddTextCommand mu" "\mu" math/mu.gif
    imagecmd "AddTextCommand nu" "\nu" math/nu.gif
}

menu math/xi-omega.gif "Greek 2" {
    imagecmd "AddTextCommand xi" "\xi" math/xi.gif
    imagecmd "AddTextCommand tau" "\tau" math/tau.gif
    imagecmd "AddTextCommand upsilon" "\upsilon" math/upsilon.gif
    imagecmd "AddTextCommand pi" "\pi" math/pi.gif
    imagecmd "AddTextCommand varpi" "\varpi" math/varpi.gif
    imagecmd "AddTextCommand rho" "\rho" math/rho.gif
    imagecmd "AddTextCommand varrho" "\varrho" math/varrho.gif
    imagecmd "AddTextCommand sigma" "\sigma" math/sigma.gif
    imagecmd "AddTextCommand varsigma" "\varsigma" math/varsigma.gif
    imagecmd "AddTextCommand o" "o" math/omikron.gif
    imagecmd "AddTextCommand \phi" "\phi" math/phi.gif
    imagecmd "AddTextCommand varphi" "\varphi" math/varphi.gif
    imagecmd "AddTextCommand chi" "\chi" math/chi.gif
    imagecmd "AddTextCommand psi" "\psi" math/psi.gif
    imagecmd "AddTextCommand omega" "\omega" math/omega.gif
}

menu math/omega.gif "Greek" {
    imagecmd "AddTextCommand Gamma" "\Gamma" math/gamma.gif
    imagecmd "AddTextCommand Delta" "\Delta" math/delta.gif
    imagecmd "AddTextCommand Theta" "\Theta" math/theta.gif
    imagecmd "AddTextCommand Xi" "\Xi" math/xi.gif
    imagecmd "AddTextCommand Upsilon" "\Upsilon" math/upsilon.gif
    imagecmd "AddTextCommand Pi" "\Pi" math/pi.gif
    imagecmd "AddTextCommand Sigma" "\sigma" math/sigma.gif
    imagecmd "AddTextCommand Phi" "\Phi" math/phi.gif
    imagecmd "AddTextCommand Psi" "\Psi" math/psi.gif
    imagecmd "AddTextCommand Omega" "\omega" math/omega.gif
}

menu math/accent.gif "Accents" {
    imagecmd "AddTextFont hat" "\hat{}" math/hat.gif
    imagecmd "AddTextFont check" "\check{}" math/check.gif
    imagecmd "AddTextFont breve" "\breve{}" math/breve.gif
    imagecmd "AddTextFont acute" "\acute{}" math/acute.gif
    imagecmd "AddTextFont grave" "\grave{}" math/grave.gif
    imagecmd "AddTextFont tilde" "\tilde{}" math/tilde.gif
    imagecmd "AddTextFont bar" "\bar{}" math/bar.gif
    imagecmd "AddTextFont vec" "\vec{}" math/vec.gif
    imagecmd "AddTextFont dot" "\dot{}" math/dot.gif
    imagecmd "AddTextFont ddot" "\ddot{}" math/ddot.gif
    cmd separator
    imagecmd "AddTextFont widehat" "\widehat{}" math/widehat.gif
    imagecmd "AddTextFont widetilde" "\widetilde{}" math/widetilde.gif
}

menu math/math_font.gif "Mathematical fonts" {
    cmd "AddTextFont mathnormal" "Normal"
    cmd separator
    cmd "AddTextFont mathrm" "Romanic"
    cmd "AddTextFont mathbf" "Boldface"
    cmd "AddTextFont mathsf" "SansSerif"
    cmd "AddTextFont mathtt" "TypeWriter Typeset"
    cmd "AddTextFont mathit" "Italic"
    cmd separator
    cmd "AddTextFont mathcal" "Calligraphic"
    cmd separator
    cmd "AddTextFont boldmath" "BoldMath"
    cmd "AddTextFont unboldmath" "UnboldMath"
}




