<TexMakerXUI>
<menu id="main/latex" text="&amp;LaTeX">
  <insert id="documentclass" text="\documentclass" insert="\documentclass[%&lt;options%|%>]{%&lt;class%>}"/>
  <insert id="usepackage" text="\usepackage{}" insert="\usepackage[%&lt;options%>]{%&lt;package%|%>}"/>
  <insert id="amspackages" text="AMS packages" insert="\usepackage{mathtools}%\\usepackage{amssymb}%\\usepackage{amsthm}" info="The main American Mathematical Society packages"/>
  <insert id="document" text="\begin{document}" insert="\begin{document}%\%|%\\end{document}" info="Text is allowed only between \begin{document} and \end{document}."/>
  <insert id="title" text="\title{}" insert="\title{%&lt;title%|%>}" info="The \title command declares text to be the title."/>
  <insert id="author" text="\author{}" insert="\author{%&lt;names%|%>}" info="The \author command declares the author(s), where names is a list of authors separated by \and commands."/>
  <insert id="date" text="\date{}" insert="\date{%&lt;date%|%>}" info="If used, the \date command declares the date, either with explicit arg for explicit date or with empty arg for no date. If not used, the current date will automatically be inserted by \maketitle."/>
  <insert id="maketitle" text="\maketitle" insert="\maketitle" info="This command generates a title on a separate title page%n- except in the article class, where the title normally goes at the top of the first page."/>
  <insert id="tableofcontents" text="\tableofcontents" insert="\tableofcontents" info="Put this command where you want the table of contents to go"/>
  
  
  <menu id="sectioning" text="&amp;Sectioning">
    <insert id="part" text="part" insert="\part{%&lt;title%>}" icon="part"/>
    <insert id="chapter" text="chapter" insert="\chapter{%&lt;title%>}" icon="chapter"/>
    <insert id="section" text="section" insert="\section{%&lt;title%>}" icon="section"/>
    <insert id="subsection" text="subsection" insert="\subsection{%&lt;title%>}" icon="subsection"/>
    <insert id="subsubsection" text="subsubsection" insert="\subsubsection{%&lt;title%>}" icon="subsubsection"/>
    <insert id="paragraph" text="paragraph" insert="\paragraph{%&lt;title%>}"/>
    <insert id="subparagraph" text="subparagraph" insert="\subparagraph{%&lt;title%>}"/>

    <insert id="part*" text="part*" insert="\part*{%&lt;title%>}"/>
    <insert id="chapter*" text="chapter*" insert="\chapter*{%&lt;title%>}"/>
    <insert id="section*" text="section*" insert="\section*{%&lt;title%>}"/>
    <insert id="subsection*" text="subsection*" insert="\subsection*{%&lt;title%>}"/>
    <insert id="subsubsection*" text="subsubsection*" insert="\subsubsection*{%&lt;title%>}"/>
    <insert id="paragraph*" text="paragraph*" insert="\paragraph*{%&lt;title%>}"/>
    <insert id="subparagraph*" text="subparagraph*" insert="\subparagraph*{%&lt;title%>}"/>
  </menu>

  <menu id="environment" text="&amp;Environments">
    <insert id="common" text="\begin{&lt;environment>}" insert="\begin{%&lt;environment-name%:id:1%>}%\%&lt;content%:cutInsert%>%\\end{%&lt;environment-name%:id:1,mirror%>}" shortcut="Ctrl+E"/>
    <insert id="center" text="\begin{center}" insert="\begin{center}%\%|%\\end{center}" icon="format-justify-center"/>
    <insert id="flushleft" text="\begin{flushleft}" insert="\begin{flushleft}%\%|%\\end{flushleft}" icon="format-justify-left"/>
    <insert id="flushright" text="\begin{flushright}" insert="\begin{flushright}%\%|%\\end{flushright}" icon="format-justify-right"/>
    <insert id="quote" text="\begin{quote}" insert="\begin{quote}%\%|%\\end{quote}"/>
    <insert id="quotation" text="\begin{quotation}" insert="\begin{quotation}%\%|%\\end{quotation}"/>
    <insert id="verse" text="\begin{verse}" insert="\begin{verse}%\%|%\\end{verse}"/>
    <insert id="verbatim" text="\begin{verbatim}" insert="\begin{verbatim}%\%|%\\end{verbatim}"/>
    <insert id="table" text="\begin{table}" insert="\begin{table}%\%|%\\caption{}%\\end{table}"/>
    <insert id="figure" text="\begin{figure}" insert="\begin{figure}%\%|%\\caption{}%\\end{figure}"/>
    <insert id="titlepage" text="\begin{titlepage}" insert="\begin{titlepage}%\%|%\\end{titlepage}"/>
  </menu>
  

  <menu id="listenvironment" text="&amp;List Environments">
    <insert id="itemize" text="\begin{itemize}" insert="%SCRIPT&#10;
    selected = cursor.selectedText(); &#10;
	if (selected) {&#10;
	var items=selected.split(&quot;\n&quot;);&#10;
	text=&quot;&quot;&#10;
	for (i = 0; i &lt; items.length; i++) {&#10;
		text+=&quot;\\item &quot;+items[i]+&quot;\n&quot;&#10;
	}} else { &#10;
	text=&quot;\\item \n&quot;&#10;
	}&#10;
	text=&quot;\\begin{itemize}\n&quot;+text+&quot;\\end{itemize}&quot;&#10;
	editor.insertSnippet(text);&#10;
	cursor.moveTo(cursor.lineNumber()-1,0);&#10;
	cursor.movePosition(1,cursorEnums.EndOfLine );" 
    info="The itemize environment produces a 'bulleted' list.%nEach item of an itemized list begins with an \item command." icon="itemize"/>
    <insert id="enumerate" text="\begin{enumerate}" insert="%SCRIPT&#10;
    selected = cursor.selectedText(); &#10;
	if (selected) {&#10;
	var items=selected.split(&quot;\n&quot;);&#10;
	text=&quot;&quot;&#10;
	for (i = 0; i &lt; items.length; i++) {&#10;
		text+=&quot;\\item &quot;+items[i]+&quot;\n&quot;&#10;
	}} else { &#10;
	text=&quot;\\item \n&quot;&#10;
	}&#10;
	text=&quot;\\begin{enumerate}\n&quot;+text+&quot;\\end{enumerate}&quot;&#10;
	editor.insertSnippet(text);&#10;
	cursor.moveTo(cursor.lineNumber()-1,0);&#10;
	cursor.movePosition(1,cursorEnums.EndOfLine );"
	info="The enumerate environment produces a numbered list.%nEach item of an enumerated list begins with an \item command." icon="enumerate"/>
    <insert id="description" text="\begin{description}" insert="\begin{description}%\\item[%&lt;label%>] %&lt;description%>%\\end{description}" info="The description environment produces a labelled list.%nEach item of the list begins with an \item[label] command."/>
    <insert id="list" text="\begin{list}" insert="\begin{list}{%&lt;label%>}{%&lt;spacing%>}%\\item %|%\\end{list}" info="The {label} argument is a piece of text that is inserted in a box to form the label.%nThe {spacing} argument contains commands to change the spacing parameters for the list.%nEach item of the list begins with an \item command."/>
    <insert id="item" text="\item" insert="%SCRIPT&#10;
    var ln=cursor.lineNumber();&#10;
    var env=editor.document().getLastEnvName(ln);&#10;
    var ins=&quot;\\item&quot;&#10;
    if(env==&quot;description&quot;){&#10;
	ins=ins+&quot;[%&lt;label%&gt;] %&lt;description%&gt;&quot;&#10;
    }else{&#10;
	ins=ins+&quot; &quot;&#10;
    }&#10;
    editor.insertSnippet(ins);&#10;" 
    info="\item[label] Hello" icon="item" shortcut="Ctrl+Shift+I"/>
  </menu>
  
  
  <menu id="boxes" text="Boxes">
     <insert id="mbox" text="mbox" insert="\mbox{%&lt;content%>}"/>
     <insert id="makebox" text="makebox" insert="\makebox[][]{%&lt;content%>}"/>
     <insert id="fbox" text="fbox" insert="\fbox{%&lt;content%>}"/>
     <insert id="framebox" text="framebox" insert="\framebox[][]{%&lt;content%>}"/>
     <insert id="newsavebox" text="newsavebox" insert="\newsavebox{%&lt;name%>}"/>
     <insert id="sbox" text="sbox" insert="\sbox{%&lt;name%>}{%&lt;content%>}"/>
     <insert id="savebox" text="savebox" insert="\savebox{%&lt;name%>}[][]{%&lt;content%>}"/>
     <insert id="usebox" text="usebox" insert="\usebox{%&lt;name%>}"/>
     <insert id="raisebox" text="raisebox" insert="\raisebox{%&lt;voffset%>}[][]{%&lt;content%>}"/>
     <insert id="parbox" text="parbox" insert="\parbox[]{%&lt;width%>}{%&lt;content%>}"/>
     <insert id="minipage" text="\begin{minipage}" insert="\begin{minipage}[][][]{%&lt;width%>}%\%|%\\end{minipage}"/>
     <insert id="rule" text="rule" insert="\rule[]{%&lt;width%>}{%&lt;height%>}"/>
  </menu>
  
  
  <menu id="fontstyles" text="Font St&amp;yles">
    <insert id="emph" text="Emphasis - \emph" insert="\emph{%|}" icon="font_emph48" shortcut="Ctrl+Shift+E"/>
    <insert id="textit" text="Italics - \textit" insert="\textit{%|}" icon="font_textit48" shortcut="Ctrl+I"/>
    <insert id="textsl" text="Slanted - \textsl" insert="\textsl{%|}" icon="font_textsl48" />
    <insert id="textbf" text="Boldface - \textbf" insert="\textbf{%|}" icon="font_textbf48" shortcut="Ctrl+B"/>
    <insert id="texttt" text="Typewriter - \texttt" insert="\texttt{%|}" icon="font_texttt48" shortcut="Ctrl+Shift+T"/>
    <insert id="textsc" text="Small Caps - \textsc" insert="\textsc{%|}" icon="font_textsc48" shortcut="Ctrl+Shift+C"/>
    <insert id="textsf" text="Sans Serif - \textsf" insert="\textsf{%|}" icon="font_textsf48" shortcut="Ctrl+Shift+A"/>
    <insert id="underline" text="Underline - \underline" insert="\underline{%|}" icon="font_underline48"/>
  </menu>

  <menu id="fontsizes" text="Font Sizes">
    <insert id="tiny" text="tiny" insert="{\tiny %|}"/>
    <insert id="scriptsize" text="scriptsize" insert="{\scriptsize %|}"/>
    <insert id="footnotesize" text="footnotesize" insert="{\footnotesize %|}"/>
    <insert id="small" text="small" insert="{\small %|}"/>
    <insert id="normalsize" text="normalsize" insert="{\normalsize %|}"/>
    <insert id="large" text="large" insert="{\large %|}"/>
    <insert id="Large" text="Large" insert="{\Large %|}"/>
    <insert id="LARGE" text="LARGE" insert="{\LARGE %|}"/>
    <insert id="huge" text="huge" insert="{\huge %|}"/>
    <insert id="Huge" text="Huge" insert="{\Huge %|}"/>
  </menu>

  
  <menu id="tabular" text="&amp;Tabular Environment">
    <insert id="tabbing" text="\begin{tabbing}" insert="\begin{tabbing}%\%|%\\end{tabbing}" info="\begin{tabbing}%ntext \= more text \= still more text \= last text \\%nsecond row \>  \> more \\%n\end{tabbing}"/>
    <insert id="tabular" text="\begin{tabular}" insert="\begin{tabular}{%&lt;columns%>}%\%|%\\end{tabular}" info="\begin{tabular}[pos]{cols}%ncolumn 1 entry &amp; column 2 entry ... &amp; column n entry \\%n...%n\end{tabular}"/>
    <insert id="multicolumn" text="\multicolumn" insert="\multicolumn{%&lt;columns%|%>}{%&lt;position%>}{%&lt;text%>}" info="\multicolumn{cols}{pos}{text}%ncol, specifies the number of columns to span.%npos specifies the formatting of the entry: c for centred, l for flushleft, r for flushright.%ntext specifies what text is to make up the entry."/>
    <insert id="multirow" text="\multirow" insert="\multirow{%&lt;rows%|%>}[]{%&lt;width%>}[]{%&lt;text%>}"/>
    <insert id="hline" text="\hline" insert="\hline" info="The \hline command draws a horizontal line the width of the table."/>
    <insert id="vline" text="\vline" insert="\vline" info="The \vline command draws a vertical line extending the full height and depth of its row."/>
    <insert id="cline" text="\cline" insert="\cline{%&lt;from%|%>-%&lt;to%>}" info=""/>
  </menu>

  <menu id="horizontalSpacing" text="&amp;Horizontal Spacing">
    <insert id="spaceCharacter" text="\space" insert="\space" info="The command \space gives you a space where you can't enter a space character."/>
    <insert id="enspace" text="\enspace" insert="\enspace" info="The \enspace command inserts a horizontal space of 1/2em."/>
    <insert id="quad" text="\quad" insert="\quad" info="The \quad command inserts a horizontal space of 1em (1em being the width of M)."/>
    <insert id="qquad" text="\qquad" insert="\qquad" info="The \qquad command inserts a horizontal space of 2em."/>
    <insert id="thinspace" text="\thinspace" insert="\thinspace" info="The command \thinspace produces unbreakable and unstretchable space of 1/6em (same as \, in math mode)."/>
    <insert id="negthinspace" text="\negthinspace" insert="\negthinspace" info="The command \negthinspace produces unbreakable and unstretchable space of -1/6em (same as \, in math mode)."/>
    <insert id="hspace" text="\hspace" insert="\hspace{%&lt;skip%>}" info="The \hspace command inserts an amount of skip of horizontal space."/>
    <insert id="hfill" text="\hfill" insert="\hfill" info="The \hfill command inserts a rubber length which has no natural space but that can stretch horizontally as far as needed."/>
    <insert id="hrulefill" text="\hrulefill" insert="\hrulefill" info="The \hrulefill command produces an infinite horizontal rubber length that LaTeX fills with a rule (that is, a line), instead of white space."/>
    <insert id="dotfill" text="\dotfill" insert="\dotfill" info="The \dotfill command produces an infinite horizontal rubber length that LaTeX fills with dots, instead of white space."/>
  </menu>

  <menu id="verticalSpacing" text="&amp;Vertical Spacing">
    <insert id="newpage" text="\newpage" insert="\newpage" info="The \newpage command ends the current page"/>
    <insert id="linebreak" text="\linebreak" insert="\linebreak" info="The \linebreak command tells LaTeX to break the current line at the point of the command."/>
    <insert id="pagebreak" text="\pagebreak" insert="\pagebreak" info="The \pagebreak command tells LaTeX to break the current page at the point of the command."/>
    <insert id="bigskip" text="\bigskip" insert="\bigskip" info="The \bigskip command adds a 'big' vertical space."/>
    <insert id="medskip" text="\medskip" insert="\medskip" info="The \medskip command adds a 'medium' vertical space."/>
    <insert id="smallskip" text="\smallskip" insert="\smallskip" info="The \smallskip command adds a 'small' vertical space."/>
    <insert id="vspace" text="\vspace" insert="\vspace{%&lt;skip%>}" info="The \vspace command inserts an amount of skip (positive, zero or negative) of vertical space."/>
    <insert id="vfill" text="\vfill" insert="\vfill" info="The \vfill command inserts a rubber length which has no natural space but that can stretch vertically as far as needed."/>
    <insert id="newline" text="New line - \\" insert="\\%\" info="The \newline command breaks the line right where it is." icon="newline" shortcut="Ctrl+Return"/>
  </menu>
  
  <menu id="accents" text="International &amp;Accents">
    <insert id="1" text="\'{}" insert="\'{}" icon="accent1"/>
    <insert id="2" text="\`{}" insert="\`{}" icon="accent2"/>
    <insert id="3" text="\^{}" insert="\^{}" icon="accent3"/>
    <insert id="4" text="\&quot;{}" insert="\&quot;{}" icon="accent4"/>
    <insert id="5" text="\~{}" insert="\~{}" icon="accent5"/>
    <insert id="6" text="\={}" insert="\={}" icon="accent6"/>
    <insert id="7" text="\.{}" insert="\.{}" icon="accent7"/>
    <insert id="8" text="\v{}" insert="\v{}" icon="accent8"/>
    <insert id="9" text="\u{}" insert="\u{}" icon="accent9"/>
    <insert id="10" text="\H{}" insert="\H{}" icon="accent10"/>
    <insert id="11" text="\r{}" insert="\r{}" icon="accent11"/>
    <insert id="12" text="\c{}" insert="\c{}" icon="accent12"/>
    <insert id="13" text="\k{}" insert="\k{}" icon="accent13"/>
    <insert id="14" text="\b{}" insert="\b{}" icon="accent14"/>
    <insert id="15" text="\d{}" insert="\d{}" icon="accent15"/>
  </menu>

  <menu id="insertfiles" text="Input/Include &amp;Files">
      <insert id="input" text="\input{file}" insert="\input{%(TeX files (*.tex);;All files (*.*)%)}"/>
      <insert id="include" text="\include{file}" insert="%SCRIPT&#10;
                                                         fnOld=editor.fileName();&#10;
                                                         fnMaster=documentManager.getTemporaryCompileFileName();&#10;
                                                         fileChooser.setDir(fnOld);&#10;
                                                         fileChooser.setFilter(&quot;(TeX files (*.tex);;All files (*.*)&quot;);&#10;
                                                         fileChooser.exec();&#10;
                                                         fn=fileChooser.fileName();&#10;
                                                         fnAbs=documentManager.getAbsoluteFilePath(fn,&quot;tex&quot;,&quot;&quot;);&#10;
                                                         fe=app.fileExists(fnAbs);&#10;
                                                         fnRel=app.getRelativeFileName(fnAbs,fnOld);&#10;
                                                         txt=cursor.selectedText();&#10;
                                                         cursor.removeSelectedText();&#10;
                                                         cursor.insertText(&quot;\\include{&quot;+fnRel+&quot;}&quot;);&#10;
                                                         if(!fe){
	                                                     app.fileNew();&#10;
	                                                     newEditor = documentManager.currentDocument.editorView.editor;&#10;
	                                                     fnMaster=app.getRelativeFileName(fnMaster,fnAbs);&#10;
	                                                     preamble=&quot;% !TeX root=&quot;+fnMaster+&quot;\n&quot;;&#10;
	                                                     newEditor.write(preamble);&#10;
	                                                     newEditor.write(txt);&#10;
	                                                     newEditor.save(fnAbs);&#10;
                                                         }"/>
      <insert id="includeonly" text="\includeonly{filelist}" insert="\includeonly{%&lt;filelist%>}"/>
      <separator/>
      <insert id="includegraphics" text="\includegraphics{file}" insert="\includegraphics{%(Graphic files (*.eps *.pdf *.jpg *.png);;All files (*.*)%)}"/>
  </menu>

  <separator/>
  
  <menu id="review" text="Review remarks (changes)">
    <insert id="highlight" text="\highlight{}" insert="\highlight{%&lt;text%>}" info="\highlight{text} (changes)" icon="annotation_highlight"/>
    <insert id="comment" text="\comment{}" insert="\comment{%&lt;comment%>}" info="\comment{comment} (changes)" icon="annotation_text"/>
    <insert id="added" text="\added{}" insert="\added{%&lt;text%>}" info="\added{text} (changes)" icon="annotation_add"/>
    <insert id="deleted" text="\deleted{}" insert="\deleted{%&lt;text%>}" info="\deleted{text} (changes)" icon="annotation_del"/>
    <insert id="replaced" text="\replaced{}{}" insert="\replaced{%&lt;text%>}{%&lt;replacement%>}" info="\replaced{text}{replacement} (changes)" icon="annotation_replace"/>
  </menu>

  <menu id="references" text="Cross References">
    <insert id="label" text="label" insert="\label{%&lt;key%>}" info="\label{key}"/>
    <action id="ref" text="ref" slot="1insertRef()"/> 
    <action id="eqref" text="eqref" slot="1insertEqRef()"/> 
    <action id="pageref" text="pageref" slot="1insertPageRef()"/> 
    <insert id="index" text="index" insert="\index{%&lt;key%>}"/>
    <insert id="cite" text="cite" insert="\cite{%&lt;key%>}"  info="This command generates an in-text citation to the reference associated with the ref entry in the bib file"/>
    <insert id="footnote" text="footnote" insert="\footnote{%&lt;text%|%>}" info="\footnote[number]{text}%nThe \footnote command places the numbered footnote text at the bottom of the current page."/>
  </menu>
  
  <menu id="bibliographyMenu" text="Bibliography">
	<insert id="bibliographystyle" text="\bibliographystyle{}" insert="\bibliographystyle{%|}" info="The argument to \bibliographystyle refers to a file style.bst, which defines how your citations will look"/>
	<action id="bibliography" text="\bibliography{}" slot="1insertBib()"/> 
    <insert id="addbibresource" text="\addbibresource{}" insert="\addbibresource{%&lt;bibfile%>}" info="\addbibresource{bibfile} specifies the location of a resource file for biblatex such as a .bib file. The filename should contain the extension (e.g. '\addbibresource{mybibliography.bib}'). You can only add one file per \addbibresource{} command (no comma-separated lists allowed). But you can use multiple commands."/>
  </menu>
  
</menu>

<menu id="main/math" text="&amp;Math">
  
  <insert id="mathmode" text="Inline math - $...$" insert="$%&lt; %>$" info="Math (in text style) within a paragraph of text" icon="mathmode" shortcut="Ctrl+Shift+M"/>
  <insert id="latexmathmode" text="Inline math - \(...\)" insert="\( %| \)" info="Same as $...$ and the math environment"/>
  <insert id="displaymath" text="Display math - \[...\]" insert="\[ %| \]" info="Math (in display style) apart from paragraph of text" shortcut="Alt+Shift+M"/>
  <insert id="subscript" text="Subscript - _{}" insert="_{%|}" icon="subscript" shortcut="Ctrl+Shift+D"/>  
  <insert id="superscript" text="Superscript - ^{}" insert="^{%|}"  icon="superscript" shortcut="Ctrl+Shift+U"/>  
  <insert id="frac" text="Fraction - \frac{}{}" insert="\frac{%&lt;num%|%:translatable%>}{%&lt;den%:translatable%>}" icon="smallfrac" shortcut="Alt+Shift+F"/>    
  <insert id="dfrac" text="Fraction - \dfrac{}{}" insert="\dfrac{%&lt;num%|%:translatable%>}{%&lt;den%:translatable%>}" info="\dfrac (amsmath) always uses display style for the fraction" icon="dfrac" shortcut="Ctrl+Shift+F"/>  
  <insert id="sqrt" text="Square Root - \sqrt{}" insert="\sqrt{%|}" icon="sqrt" shortcut="Ctrl+Shift+Q"/>  
  <insert id="left" text="\left" insert="\left " info="Autosize opening delimiter" shortcut="Ctrl+Shift+L"/>  
  <insert id="right" text="\right" insert="\right " info="Autosize closing delimiter" shortcut="Ctrl+Shift+R"/>  
  <insert id="array" text="\begin{array}...\end{array}" insert="\begin{array}{%&lt;columns%>}%\%&lt;content%|%>%\\end{array}" info="Tabular for math (used inside one of the other math environments)"/>  

  
  <menu id="equations" text="Math &amp;Equations">  // s. issue #3002 for a discussion about the tooltips
      // envs with numbers
      <insert id="equation" text="env equation" insert="\begin{equation}%\    %&lt;eqn%>%\\end{equation}" info="Single equation centered in a row" shortcut="Ctrl+Shift+N"/>
      <insert id="align" text="env align (amsmath)" insert="\begin{align}%\    %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>%\\end{align}" info="Multiple equations aligned within columns"/>
      <insert id="alignat" text="env alignat (amsmath)" insert="\begin{alignat}{%&lt;ncols%>}%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp; %&lt;dist%>  %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;       %&lt;ralign%> &amp; %&lt;lalign%>%\\end{alignat}" info="Multiple equations aligned within columns with customizable column spacing"/>
      <insert id="flalign" text="env flalign (amsmath)" insert="\begin{flalign}%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;  %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;  %&lt;ralign%> &amp; %&lt;lalign%>%\\end{flalign}" info="Multiple equations aligned within columns having column spacing to fill full line"/>
      <insert id="gather" text="env gather (amsmath)" insert="\begin{gather}%\    %&lt;eqn1%> \\%\    %&lt;eqn2%>%\\end{gather}" info="Multiple equations centered in rows"/>
      <insert id="multline" text="env multline (amsmath)" insert="\begin{multline}%\    %&lt;eqn%> \\%\        %&lt;eqn%>%\\end{multline}" info="Single equation split into multiple lines"/>

      <separator/>

      // envs without numbers
      <insert id="equation*" text="env equation* (amsmath)" insert="\begin{equation*}%\    %&lt;eqn%>%\\end{equation*}" info="The equation* environment is an unnumbered equation environment."/>
      <insert id="align*" text="env align* (amsmath)" insert="\begin{align*}%\    %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>%\\end{align*}" info="The align* environment is an unnumbered align environment."/>
      <insert id="alignat*" text="env alignat* (amsmath)" insert="\begin{alignat*}{%&lt;ncols%>}%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp; %&lt;dist%>  %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;       %&lt;ralign%> &amp; %&lt;lalign%>%\\end{alignat*}" info="The alignat* environment is an unnumbered alignat environment."/>
      <insert id="flalign*" text="env flalign* (amsmath)" insert="\begin{flalign*}%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;  %&lt;ralign%> &amp; %&lt;lalign%> \\%\    %&lt;ralign%> &amp; %&lt;lalign%>  &amp;  %&lt;ralign%> &amp; %&lt;lalign%>%\\end{flalign*}" info="The flalign* environment is an unnumbered flalign environment."/>
      <insert id="gather*" text="env gather* (amsmath)" insert="\begin{gather*}%\    %&lt;eqn1%> \\%\    %&lt;eqn2%>%\\end{gather*}" info="The gather* environment is an unnumbered gather environment."/>
      <insert id="multline*" text="env multline* (amsmath)" insert="\begin{multline*}%\    %&lt;eqn%> \\%\        %&lt;eqn%>%\\end{multline*}" info="The multline* environment is an unnumbered multline environment."/>

      <separator/>

      <insert id="cases" text="env cases (amsmath)" insert="\begin{cases}%\    %&lt;val1%>  &amp;  \text{%&lt;cond1%>} \\%\    %&lt;val2%>  &amp;  \text{%&lt;cond2%>}%\\end{cases}" info="Distinction of cases (within other math env)"/>
      <insert id="split" text="env split (amsmath)" insert="\begin{split}%\    %&lt;ralign%> &amp; %&lt;lalign%> \\%\           &amp; %&lt;lalign%>%\\end{split}" info="Single equation split into multiple aligned lines (within other math env)"/>
  </menu>   
      
  
  <menu id="functions" text="Math &amp;Functions">
    <insert id="arccos" text="\arccos" insert="\arccos "/>
    <insert id="arcsin" text="\arcsin" insert="\arcsin "/>
    <insert id="arctan" text="\arctan" insert="\arctan "/>
    <insert id="cos" text="\cos" insert="\cos "/>
    <insert id="cosh" text="\cosh" insert="\cosh "/>
    <insert id="cot" text="\cot" insert="\cot "/>
    <insert id="coth" text="\coth" insert="\coth "/>
    <insert id="csc" text="\csc" insert="\csc "/>
    <insert id="deg" text="\deg" insert="\deg "/>
    <insert id="det" text="\det" insert="\det "/>
    <insert id="dim" text="\dim" insert="\dim "/>
    <insert id="exp" text="\exp" insert="\exp "/>
    <insert id="gcd" text="\gcd" insert="\gcd "/>
    <insert id="hom" text="\hom" insert="\hom "/>
    <insert id="inf" text="\inf" insert="\inf "/>
    <insert id="ker" text="\ker" insert="\ker "/>
    <insert id="lg" text="\lg" insert="\lg "/>
    <insert id="lim" text="\lim" insert="\lim "/>
    <insert id="liminf" text="\liminf" insert="\liminf "/>
    <insert id="limsup" text="\limsup" insert="\limsup "/>
    <insert id="ln" text="\ln" insert="\ln "/>
    <insert id="log" text="\log" insert="\log "/>
    <insert id="max" text="\max" insert="\max "/>
    <insert id="min" text="\min" insert="\min "/>
    <insert id="sec" text="\sec" insert="\sec "/>
    <insert id="sin" text="\sin" insert="\sin "/>
    <insert id="sinh" text="\sinh" insert="\sinh "/>
    <insert id="sup" text="\sup" insert="\sup "/>
    <insert id="tan" text="\tan" insert="\tan "/>
    <insert id="tanh" text="\tanh" insert="\tanh "/>
  </menu>
  
  <!-- definitions from \usepackage[standard]{ntheorem} -->
  <menu id="definitions" text="Math &amp;Definitions">
     <insert id="Corollary" text="env Corollary (ntheorem)" insert="\begin{Corollary}%\%|%\\end{Corollary}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Definition" text="env Definition (ntheorem)" insert="\begin{Definition}%\%|%\\end{Definition}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Example" text="env Example (ntheorem)" insert="\begin{Example}%\%|%\\end{Example}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Lemma" text="env Lemma (ntheorem)" insert="\begin{Lemma}%\%|%\\end{Lemma}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Proof" text="env Proof (ntheorem)" insert="\begin{Proof}%\%|%\\end{Proof}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Proposition" text="env Proposition (ntheorem)" insert="\begin{Proposition}%\%|%\\end{Proposition}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Remark" text="env Remark (ntheorem)" insert="\begin{Remark}%\%|%\\end{Remark}" info="Needs \usepackage[standard]{ntheorem}"/>
     <insert id="Theorem" text="env Theorem (ntheorem)" insert="\begin{Theorem}%\%|%\\end{Theorem}" info="Needs \usepackage[standard]{ntheorem}"/>
  </menu>
     
  <menu id="fontstyles" text="Math Font St&amp;yles">
    <insert id="mathrm" text="Roman - \mathrm{}" insert="\mathrm{%|}" icon="font_mathrm"/>
    <insert id="mathit" text="Italic - \mathit{}" insert="\mathit{%|}" icon="font_mathit"/>
    <insert id="mathbf" text="Bold - \mathbf{}" insert="\mathbf{%|}" icon="font_mathbf"/>
    <insert id="mathsf" text="Sans Serif - \mathsf{}" insert="\mathsf{%|}" icon="font_mathsf"/>
    <insert id="mathtt" text="Typewriter - \mathtt{}" insert="\mathtt{%|}" icon="font_mathtt"/>
    <insert id="mathcal" text="Calligraphic - \mathcal{}" insert="\mathcal{%|}" icon="font_mathcal"/>
    <insert id="mathbb" text="Blackboard Bold - \mathbb{} (amssymb)" insert="\mathbb{%|}" icon="font_mathbb"/>
    <insert id="mathfrak" text="Fraktur - \mathfrak{} (amssymb)" insert="\mathfrak{%|}" icon="font_mathfrak"/>
  </menu>

  <menu id="grouping" text="Math &amp;Stacking Symbols">
     <insert id="overline" text="\overline" insert="\overline{%&lt;content%>}"/>
     <insert id="underline" text="\underline" insert="\underline{%&lt;content%>}"/> 
     <insert id="overbrace" text="\overbrace" insert="\overbrace{%&lt;content%>}"/> 
     <insert id="underbrace" text="\underbrace" insert="\underbrace{%&lt;content%>}"/> 
     <insert id="overleftarrow" text="\overleftarrow" insert="\overleftarrow{%&lt;content%>}"/>
     <insert id="overrightarrow" text="\overrightarrow" insert="\overrightarrow{%&lt;content%>}"/>
     <insert id="stackrel" text="\stackrel" insert="\stackrel{%&lt;top symbol%>}{%&lt;bottom symbol%>}"/>
     <insert id="overset" text="\overset (amsmath)" insert="\overset{%&lt;top symbol%>}{%&lt;symbol%>}"/>
     <insert id="underset" text="\underset (amsmath)" insert="\underset{%&lt;bottom symbol%>}{%&lt;symbol%>}"/>
     <insert id="sideset" text="\sideset (amsmath)" insert="\sideset{%&lt;left ind+exp%>}{%&lt;right ind+exp%>}"/>
     <insert id="prescript" text="\prescript (mathtools)" insert="\prescript{%&lt;left exp%>}{%&lt;left ind%>}{%&lt;arg%>}"/>
  </menu>
  
  
  <menu id="fontaccent" text="Math &amp;Accents">
    <insert id="acute" text="\acute{}" insert="\acute{%|}" icon="acute"/>
    <insert id="grave" text="\grave{}" insert="\grave{%|}" icon="grave"/>
    <insert id="tilde" text="\tilde{}" insert="\tilde{%|}" icon="tilde"/>

    <insert id="bar" text="\bar{}" insert="\bar{%|}" icon="bar"/>
    <insert id="vec" text="\vec{}" insert="\vec{%|}" icon="vec"/>
    <insert id="hat" text="\hat{}" insert="\hat{%|}" icon="hat"/>
    <insert id="check" text="\check{}" insert="\check{%|}" icon="check"/>
    <insert id="breve" text="\breve{}" insert="\breve{%|}" icon="breve"/>
    <insert id="dot" text="\dot{}" insert="\dot{%|}" icon="dot"/>
    <insert id="ddot" text="\ddot{}" insert="\ddot{%|}" icon="ddot"/>
  </menu>
  
  
  <menu id="fontspaces" text="Math S&amp;paces">
    <insert id="negative" text="Negative - \!" insert="\!" info="Negative thin space"/>
    <insert id="small" text="Thin - \," insert="\," info="3/18 of a \quad"/>
    <insert id="medium" text="Medium - \:" insert="\:" info="4/18 of a \quad"/>
    <insert id="large" text="Thick - \;" insert="\;" info="5/18 of a \quad"/>
	<insert id="interword" text="Interword - \ " insert="\ " info="regular whitespace"/>
	<insert id="quad" text="One quad - \quad" insert="\quad " info="The \quad command inserts a horizontal space of 1em (1em being the width of M)."/>
    <insert id="qquad" text="Two quads - \qquad" insert="\qquad" info="Twice the size of a \quad"/>
  </menu>
</menu>
</TexMakerXUI>
