wiki:LiveTemplates

Version 7 (modified by stefan, 5 years ago) (diff)

--

Live templates are abbreviation for recurring (and probably annoying) latex code. They can be expanded by typing the template name and pressing tab.

JLE provides a set of predefined life templates for several use cases (see list below). Additional live templates can be defined through the user via Settings->Template Editor.

List of predefined life templates:

TemplateExpansion
item
\begin{itemize}
  \item |
\end{itemize}
enum
\begin{enumerate}
  \item |
\end{enumerate}
i
\item 
tikz
\begin{tikzpicture}
  |
\end{tikzpicture}
fig
\begin{figure}
  |
  \caption{caption}
  \label{fig:label}
\end{figure}
center
\begin{center}
  |
\end{center}
align
\begin{align*}
  |
\end{align*}
eq
\begin{equation*}
  |
\end{equation*}
eqn
\begin{eqnarray*}
  |
\end{eqnarray*}
verb
\begin{verbatim}
  |
\end{verbatim}
sec
\section{name}\label{sec:label}
|
ssec
\subsection{name}\label{sec:label}
|
sssec
\subsubsection{name}\label{sec:label}
|
frame
\begin{frame}
  \frametitle{title}
  |
\end{frame}
it
\textit{text}|
bf
\textbf{text}|
tt
\texttt{text}|
emph
\emph{text}|
tab
\begin{tabular}{|c|}
  |
\end{tabular}
env
\begin{env}opt
  |
\end{env}