Initial commit
This commit is contained in:
69
lib/gui/toolbar/format
Executable file
69
lib/gui/toolbar/format
Executable file
@@ -0,0 +1,69 @@
|
||||
######################################################
|
||||
# Tk LaTeX Editor
|
||||
# Distributed under GNU Public License
|
||||
# Author: Sergey Kalinin (BanZaj) banzaj@lrn.ru
|
||||
# Copyright (c) "CONERO lab", 2002, http://conero.lrn.ru
|
||||
######################################################
|
||||
# Format ToolBar
|
||||
|
||||
menu insertsection.gif "Sections" {
|
||||
cmd "AddTextFont title" "Title" "Alt-t"
|
||||
cmd "AddTextFont author" "Author" "Alt-a"
|
||||
cmd "AddTextFont date" "Date" "Alt-d"
|
||||
cmd "AddTextCommand maketitle" "Make title"
|
||||
cmd "AddTextDouble begin{tilepage} end{tilepage}" "Title page"
|
||||
cmd "AddTextCommand tableofcontents" "Table of Contents"
|
||||
cmd "AddTextCommand listoftables" "List of Tables"
|
||||
cmd "AddTextCommand listoffigures "List of Figures"
|
||||
cmd "AddTextDouble begin{thebibliography} end{thebibliography}" "The Bibliography"
|
||||
cmd "AddTextCommand appendix "Appendix"
|
||||
cmd separator
|
||||
cmd "AddTextFont part" "Part"
|
||||
cmd "AddTextFont chapter" "Chapter"
|
||||
cmd "AddTextFont section" "Section"
|
||||
cmd "AddTextFont subsection" "SubSection"
|
||||
cmd "AddTextFont subsubsection" "SubSubSection"
|
||||
cmd "AddTextFont paragraph" "Paragraph"
|
||||
cmd "AddTextFont subparagraph" "SubParagraph"
|
||||
|
||||
}
|
||||
menu font_size.gif "Font size" {
|
||||
cmd "AddTextFont tiny" "tiny"
|
||||
cmd "AddTextFont scriptsize" "scriptsize"
|
||||
cmd "AddTextFont footnotesize" "footnotesize"
|
||||
cmd "AddTextFont small" "small"
|
||||
cmd "AddTextFont normalsize" "Normal"
|
||||
cmd "AddTextFont large" "large"
|
||||
cmd "AddTextFont Large" "Large"
|
||||
cmd "AddTextFont LARGE" "LARGE"
|
||||
cmd "AddTextFont huge" "huge"
|
||||
cmd "AddTextFont Huge" "Huge"
|
||||
}
|
||||
|
||||
menu font_width.gif "Font type" {
|
||||
cmd "AddTextFont textrm" "Romanic"
|
||||
cmd "AddTextFont textsf" "Sans Serif"
|
||||
cmd "AddTextFont texttt" "Typewriter Typeset"
|
||||
cmd separator
|
||||
cmd "AddTextFont textmd" "Middle Face"
|
||||
cmd "AddTextFont textbf" "Bold Face"
|
||||
cmd separator
|
||||
cmd "AddTextFont textup" "Up"
|
||||
cmd "AddTextFont textit" "Italic"
|
||||
cmd "AddTextFont textsl" "Slanted"
|
||||
cmd "AddTextFont textsc" "Small Caps"
|
||||
}
|
||||
button "AddTextFont emph" font_emph.gif "Emphasise"
|
||||
button "AddTextDouble begin{center} end{center}" align_center.gif "Align center"
|
||||
button "AddTextDouble begin{left} end{left}" align_left.gif "Align left"
|
||||
button "AddTextDouble begin{right} end{right}" align_right.gif "Align right"
|
||||
button "AddTextDouble begin{verbatim} end{verbatim}" verb.gif "Verbatim"
|
||||
Separator
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
17
lib/gui/toolbar/insert
Executable file
17
lib/gui/toolbar/insert
Executable file
@@ -0,0 +1,17 @@
|
||||
######################################################
|
||||
# Tk LaTeX Editor
|
||||
# Distributed under GNU Public License
|
||||
# Author: Sergey Kalinin (BanZaj) banzaj@lrn.ru
|
||||
# Copyright (c) "CONERO lab", 2002, http://conero.lrn.ru
|
||||
######################################################
|
||||
|
||||
button "AddText itemize" itemize.gif "Add itemize list"
|
||||
button "AddText enumerate" numerate.gif "Add enumerate list"
|
||||
button "AddText image" image.gif "Insert image"
|
||||
Separator
|
||||
button "InsertTableDialog" table.gif "Add table"
|
||||
button "AddText date" date_time.gif "Insert curent date-time" "Alt-d"
|
||||
|
||||
|
||||
|
||||
|
43
lib/gui/toolbar/main
Executable file
43
lib/gui/toolbar/main
Executable file
@@ -0,0 +1,43 @@
|
||||
# Main Toolbar file
|
||||
# useage :
|
||||
# "Command" image.file "Hint for baloon"
|
||||
|
||||
button "FileDialog new" new.gif "New file"
|
||||
button "FileDialog open" open.gif "Open file"
|
||||
button "FileDialog close" close.gif "Close"
|
||||
Separator
|
||||
button "FileDialog save" save.gif "Save file"
|
||||
button "FileDialog save_as" save_as.gif "Save file as"
|
||||
button "FileDialog save_all" save_all.gif "Save all"
|
||||
Separator
|
||||
button "CutPast undo" undo.gif "Undo"
|
||||
Separator
|
||||
button "CutPast cut" cut.gif "Cut into clipboard"
|
||||
button "CutPast copy" copy.gif "Copy into clipboard"
|
||||
button "CutPast paste" paste.gif "Paste from clipboard"
|
||||
Separator
|
||||
button "Find" find.gif "Find"
|
||||
button "SpellCheck $nb.f[$nb raise].f.text" spellcheck.gif "Spell check"
|
||||
Separator
|
||||
button "Convert dvi" dvi.gif "Make DVI"
|
||||
button "Preview dvi" dvi_preview.gif "View DVI" "Alt-F5"
|
||||
button "Convert ps" ps.gif "Make PS"
|
||||
button "Preview ps" ps_preview.gif "View PS" "Alt-F6"
|
||||
button "Convert pdf" pdf.gif "Convert to PDF"
|
||||
button "Preview pdf" pdf_preview.gif "View PDF" "Alt-F7"
|
||||
button "Convert html" htmlconvert.gif "Convert to HTML"
|
||||
button "Preview html" html_preview.gif "View HTML"
|
||||
Separator
|
||||
button "PrintDialog print" print.gif "Print ..."
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
106
lib/gui/toolbar/math
Executable file
106
lib/gui/toolbar/math
Executable file
@@ -0,0 +1,106 @@
|
||||
########################################################
|
||||
# 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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user