String doesn't delete completely
Posted: Sep 29th, ’17, 09:09
Hello,
I have automated quite a lot of things in LaTeX, like my complete pre-amble, or the code for multiple figure.
For example, when i type 'lsu' an autocomplete popup comes for 'lsubfigure' (which should type down the latex sub-figure environment).
This works. However the first few characters do not get deleted. Like this.
lsubfi\begin{figure}
... [some code]
\end{figure}
i have the same problem with multiple Text Expand commands. Could it be because im busy in microsoft Edge working on my documents using ShareLaTeX? And how do i fix this?
string: 'lsubfigure'
Substitute:
\begin{{}figure{}}[H]
\noindent
\begin{{}subfigure{}}[t]{{}0.49\textwidth{}}
\includegraphics[width=1\textwidth,center]{{}figures/%INPUT_figurename1%{}}
\caption{{}%INPUT_caption1%{}}
\label{{}fig:%INPUT_figurename1%{}}
\end{{}subfigure{}}
\hfill
\begin{{}subfigure{}}[t]{{}0.49\textwidth{}}
\includegraphics[width=1\textwidth,center]{{}figures/%INPUT_figurename2%{}}
\caption{{}%INPUT_caption2%{}}
\label{{}fig:%INPUT_figurename2%{}}
\end{{}subfigure{}}
\caption{{}%INPUT_maincaption%{}}
\label{{}fig:%INPUT_mainLabel%{}}
\end{{}figure{}}
I have automated quite a lot of things in LaTeX, like my complete pre-amble, or the code for multiple figure.
For example, when i type 'lsu' an autocomplete popup comes for 'lsubfigure' (which should type down the latex sub-figure environment).
This works. However the first few characters do not get deleted. Like this.
lsubfi\begin{figure}
... [some code]
\end{figure}
i have the same problem with multiple Text Expand commands. Could it be because im busy in microsoft Edge working on my documents using ShareLaTeX? And how do i fix this?
string: 'lsubfigure'
Substitute:
\begin{{}figure{}}[H]
\noindent
\begin{{}subfigure{}}[t]{{}0.49\textwidth{}}
\includegraphics[width=1\textwidth,center]{{}figures/%INPUT_figurename1%{}}
\caption{{}%INPUT_caption1%{}}
\label{{}fig:%INPUT_figurename1%{}}
\end{{}subfigure{}}
\hfill
\begin{{}subfigure{}}[t]{{}0.49\textwidth{}}
\includegraphics[width=1\textwidth,center]{{}figures/%INPUT_figurename2%{}}
\caption{{}%INPUT_caption2%{}}
\label{{}fig:%INPUT_figurename2%{}}
\end{{}subfigure{}}
\caption{{}%INPUT_maincaption%{}}
\label{{}fig:%INPUT_mainLabel%{}}
\end{{}figure{}}