Skip to content

Commit d2296c1

Browse files
committed
Merge pull request Shougo#41 from tasusu/master
tex.snip: fix typo and add snippets for beamer
2 parents 2e56d92 + 5ec4301 commit d2296c1

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

neosnippets/tex.snip

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ alias item[ \item[
3535

3636
snippet it
3737
alias item \item
38-
\item $0
38+
\item ${0}
3939

4040
snippet sloppypar
4141
alias \begin{sloppypar} \sloppypar
@@ -349,6 +349,38 @@ alias \begin{itshape} \itshape
349349
${1:TARGET}
350350
\end{itshape}
351351

352+
# ==== BEAMER ====
353+
snippet frame
354+
alias \begin{frame} \frame
355+
\begin{frame}{${1:#:frametitle}}
356+
${2:TARGET}
357+
\end{frame}
358+
359+
snippet block
360+
alias \begin{block}
361+
\begin{block}{${1:#:title}}
362+
${2:TARGET}
363+
\end{block}
364+
365+
snippet exampleblock
366+
alias \begin{exampleblock}
367+
\begin{exampleblock}{${1:#:title}}
368+
${2:TARGET}
369+
\end{exampleblock}
370+
371+
snippet alertblock
372+
alias \begin{alertblock}
373+
\begin{alertblock}{${1:#:title}}
374+
${2:TARGET}
375+
\end{alertblock}
376+
377+
snippet tikzpicture
378+
alias \begin{tikzpicture}
379+
\begin{tikzpicture}
380+
${1:TARGET}
381+
\end{tikzpicture}
382+
383+
352384
# ========== OTHERS ==========
353385
snippet usepackage
354386
alias \usepackage

0 commit comments

Comments
 (0)