[TxMt] LaTeX: Insert Environment based on current word

Daniel Käsmayr daniel at kaesmayr.net
Fri Jun 16 09:41:48 UTC 2006


e.g. for enum inserts the following:

\begin{enumerate}{:\label{enu:\}}
	\item
\end{enumerate}


please note the ":" which are not very useful and make LaTeX go angry  
at you.

Please change this line in the snippet:
	zeroLineToPrint = "\\begin{#{name}}{$1:\\label{#{labPrefix}:$2\\}}"


to:
	zeroLineToPrint = "\\begin{#{name}}{${1:}\\label{#{labPrefix}:$2\}}"


Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3996 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060616/79e70db8/attachment.p7s>


More information about the textmate mailing list