Sublime Forum

LaTeX Snippets including "\\" tab-complete with only "\"

#1

The title pretty much say it all. I have the following LaTeX snippet: [code]
<![CDATA[

\title{${1:title}}
\author{Drew Christianson}

\begin{document}
\maketitle
\begin{center}\large{I have abided by the Wheaton College Honor Code in this work} \[.25in] Signed\hspace{.25in}\makebox[3.5in]{\hrulefill} \.5in]
\end{center}
\newpage

\end{document}
]]>

docu -->

text.tex.latex -->

[/code]
which drops in my title block. However, when I use it in a document, the double-slash (\) gets included as a single slash () which breaks the functionality of the block and forces me to edit it manually back. This occurs on all of my LaTeX snippets including a double-slash operator. Any idea of why this happens, or how to fix it?

0 Likes