xed/plugins/snippets/data/latex.xml

39 lines
1.1 KiB
XML
Raw Normal View History

2011-11-07 13:46:58 -06:00
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="LaTeX">
<snippet id="command">
2016-01-25 08:13:49 -06:00
<text><![CDATA[{\\${1:bf} $XEDIT_SELECTED_TEXT}]]></text>
2011-11-07 13:46:58 -06:00
<accelerator><![CDATA[<Shift><Alt>w]]></accelerator>
<description>Wrap Selection in Command</description>
</snippet>
<snippet id="$">
<text><![CDATA[\[
$1
\]]]></text>
<description>Displaymath</description>
<tag>$</tag>
</snippet>
<snippet id="itd">
<text><![CDATA[\item[${1:description}] ${0:item}]]></text>
<description>\item[description]</description>
<tag>itd</tag>
</snippet>
<snippet id="sec">
<text><![CDATA[\section{${1:section name}}\label{${2:label}}
]]></text>
<description>Section</description>
<tag>sec</tag>
</snippet>
<snippet id="sub">
<text><![CDATA[\subsection{${1:subsection name}}\label{${2:label}}
]]></text>
<description>Sub Section</description>
<tag>sub</tag>
</snippet>
<snippet id="ssub">
<text><![CDATA[\subsubsection{${1:subsubsection name}}\label{${2:label}}
]]></text>
<description>Sub Sub Section</description>
<tag>ssub</tag>
</snippet>
</snippets>