Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
snippets:latex:start [2011/06/13 17:08] – lowercase tags enricosnippets:latex:start [2011/08/23 09:43] (current) – Added some new snippets alex
Line 1: Line 1:
 ====== Collection of Snippets for LaTeX ====== ====== Collection of Snippets for LaTeX ======
 +
 +===== Structure =====
 +
 +<code>
 +chapter=\\chapter{%cursor%}\\label{chap:}
 +section=\\section{%cursor%}\\label{sec:}
 +subsection=\\subsection{%cursor%}\\label{subsec:}
 +subsubsection=\\subsubsection{%cursor%}\\label{subsubsec:}
 +</code>
 +
 +===== Environments & Figures =====
 +
 +<code>
 +figure=\\begin{figure}\n\t\\centering\n\t\includegraphics[]{%cursor%}\n\t\\caption{}\n\t\label{fig:}\n\\end{figure}
 +table=\\begin{table}\n\\centering\n\\begin{tabular}[]{%cursor%}\n\\toprule\n\t\n\\midrule\n\t\n\\bottomrule\n\\end{tabular}\n\\caption{}\n\\label{tab:}\n\end{table}
 +center=\\begin{center}\n\t%cursor%\n\\end{center}
 +includegraph=\\includegraphics[]{%cursor%}
 +</code>
 +
  
 ===== Lists ===== ===== Lists =====
Line 15: Line 34:
 frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame} frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame}
 block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block} block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block}
 +</code>
 +
 +===== Math =====
 +
 +<code>
 +align=\\begin{align}\n%cursor%\n\\end{align}
 +equation=\\begin{equation}\n%cursor%\n\\end{equation}
 +eqnarray=\\begin{eqnarray}\n%cursor%\n\\end{eqnarray}
 </code> </code>
  
Print/export