This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : abs
# group: sections
# name : \abstract
# --
\begin{abstract}
$0
\end{abstract}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: acronym
# key: ac
# --
\newacronym{${1:label}}{${1:$(upcase yas-text)}}{${2:Name}}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: alertblock
# key: al
# --
\begin{alertblock}{$2}
$0
\end{alertblock}

7
snippets/latex-mode/alg Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: alg
# key: alg
# --
\begin{algorithmic}
$0
\end{algorithmic}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: align
# key: ali
# --
\begin{align}
\label{$0}
$1
\end{align}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Rasmus Borgsmidt <rasmus@borgsmidt.dk>
# key : align
# group: environments
# name : \begin{align} ... \end{align}
# --
\begin{align}
$0
\end{align}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Rasmus Borgsmidt <rasmus@borgsmidt.dk>
# key : align*
# group: environments
# name : \begin{align*} ... \end{align*}
# --
\begin{align*}
$0
\end{align*}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Peter Urbak <peter@dragonwasrobot.com>
# key : arr
# group: environments
# name : \begin{array} ... \end{array}
# --
\begin{array}{$1}
$0
\end{array}

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: full template of article class
# key: article
# --
\documentclass[${1:options}]{article}
\author{$3}
\begin{document}
$0
\end{document}

View File

@@ -0,0 +1,28 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# contributor : Song Qiang <tsiangsung@gmail.com>
# key: article
# group: skeleton
# name: \documentclass{article} ...
# --
\documentclass[11pt]{article}
\usepackage{graphicx,amsmath,amssymb,subfigure,url,xspace}
\newcommand{\eg}{e.g.,\xspace}
\newcommand{\bigeg}{E.g.,\xspace}
\newcommand{\etal}{\textit{et~al.\xspace}}
\newcommand{\etc}{etc.\@\xspace}
\newcommand{\ie}{i.e.,\xspace}
\newcommand{\bigie}{I.e.,\xspace}
\title{${1:title}}
\author{${2:Author Name}}
\begin{document}
\maketitle
\bibliographystyle{${3:plain}}
\bibliography{${4:literature.bib}}
\end{document}

View File

@@ -0,0 +1,37 @@
# -*- mode: snippet -*-
# contributor: Claudio Marforio <marforio@gmail.com>
# key: beamer
# group: skeleton
# name: \documentclass{beamer} ...
# --
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{graphicx,subfigure,url}
% example themes
\usetheme{Frankfurt}
\usecolortheme{seahorse}
\usecolortheme{rose}
% put page numbers
% \setbeamertemplate{footline}[frame number]{}
% remove navigation symbols
% \setbeamertemplate{navigation symbols}{}
\title{${1:Presentation Title}}
\author{${2:Author Name}}
\begin{document}
\frame[plain]{\titlepage}
\begin{frame}[plain]{Outline}
\tableofcontents
\end{frame}
\section{${3:Example Section}}
\begin{frame}{${4:Frame Title}}
\end{frame}
\end{document}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: begin
# key: begin
# --
\begin{${1:environment}}
$0
\end{$1}

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# contributor : Bjorn Reese <breese@users.sourceforge.net>
# key: begin
# group: environments
# name: \begin{environment} ... \end{environment}
# --
\begin{${1:$$(yas/choose-value (mapcar 'car (LaTeX-environment-list)))}}
$0
\end{$1}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: bib
# group: misc
# name: \bibliography
# --
\bibliographystyle{plain}
\bibliography{$1}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: big
# group: math
# name: \bigl( ... \bigr)
# --
\\${1:$$(yas/choose-value '("big" "Big" "bigg" "Bigg"))}l( $0 \\$1r)

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bigcap
# key: bigcap
# --
\bigcap${1:\limits}_{$2}^{$3}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: bigcup
# key: bigcup
# --
\bigcup${1:\limits}_{$2}^{$3}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: François Garillot <francois@garillot.net>
# key: bigop
# group: math
# name: \bigop_{n}^{}
# --
\\big${1:$$(yas/choose-value '("oplus" "otimes" "odot" "cup" "cap" "uplus" "sqcup" "vee" "wedge"))}_{$2}^{$3}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: binom
# key: binom
# --
\binom{${1:n}}{${2:k}}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: binom
# group: math
# name: \binom{n}{k}
# --
\binom{${1:n}}{${2:k}}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: block
# key: bl
# --
\begin{block}{$1}
$0
\end{block}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor: Claudio Marforio <marforio@gmail.com>
# key: block
# group: environments
# name : \begin{*block} ... \end{*block}
# --
\begin{${1:$$(yas/choose-value '("block" "exampleblock" "alertblock"))}}{${2:Block Title}}
\end{$1}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Gls
# key: G
# --
\Gls{${1:label}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: caption
# key: ca
# --
\caption{$0}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: case
# group: math
# name: \begin{cases} ... \end{cases}
# --
\begin{cases}
$0 \\\\
\end{cases}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : cha
# group: sections
# name : \chapter
# --
\chapter{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : cha*
# group: sections
# name : \chapter*
# --
\chapter*{${1:name}}
$0

5
snippets/latex-mode/cite Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: cite
# key: c
# --
\cite{$1} $0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor : Marcio M. Ribeiro <marcio.mr@gmail.com>
# key: cite
# group: references
# name : \cite
# --
\cite{${1:label$(unless yas/modified-p (car (reftex-citation 't)))}}$0

7
snippets/latex-mode/code Normal file
View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: code
# key: code
# --
\begin{lstlisting}
$0
\end{lstlisting}

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: Colorbox
# key: colbox
# --
\framebox{
\colorbox{${1:blue}!20}{
\begin{minipage}{1.0\textwidth}
\textbf{${2:Def}}\\\\
$3
\end{minipage}}}
$0

View File

@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: columns
# key: cols
# --
\begin{columns}
\begin{column}{.${1:5}\textwidth}
$0
\end{column}
\begin{column}{.${2:5}\textwidth}
\end{column}
\end{columns}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: François Garillot <francois@garillot.net>
# key: coprod
# group: math
# name: \coprod_{n}^{}
# --
\coprod_{$1}^{$2}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Curled Brackets
# key: curled
# --
\left\\{ $1 \right\\} $0

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: Definition
# key: def
# --
\\framebox{
\\colorbox{blue!25}{
\\begin{minipage}{0.90\\textwidth}
\\textbf{Definition: $1}\\\\
$2
\\end{minipage}}}
$0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : desc
# group: environments
# name : \begin{description} ... \end{description}
# --
\begin{description}
\item[${1:label}] $0
\end{description}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: description
# key: desc
# --
\begin{description}
\item[$1] $0
\end{description}

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: doc
# name: \documentclass
# --
\documentclass[$2]{${1:$$(yas/choose-value '("article" "report" "book" "letter"))}}
\begin{document}
$0
\end{document}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: documentclass
# key: doc
# --
\documentclass[${1:options}]{$2}
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: M<>rcio M. Ribeiro <marcio.mr@gmail.com>
# key: em
# group: font
# name: {\em ...}
# --
{\em $1}$0

5
snippets/latex-mode/emph Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: emph
# key: e
# --
\emph{$1}$0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key: enum
# group: environments
# name : \begin{enumerate} ... \end{enumerate}
# --
\begin{enumerate}
\item $1
\end{enumerate}$0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: eq
# group: math
# name: \begin{equation} ... \end{equation}
# --
\begin{equation}
\label{${1:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0
\end{equation}

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: eqs
# group: math
# name: \begin{align} ... \end{align}
# --
\begin{${1:$$(yas/choose-value '("align" "align*" "multline" "gather" "subequations"))}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0
\end{$1}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: equation
# key: eq
# --
\begin{equation}
\label{$0}
$1
\end{equation}

View File

@@ -0,0 +1,12 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : fig
# group: environments
# name : \begin{figure} ... \end{figure}
# --
\begin{figure}[htbp]
\centering
$0
\caption{${1:caption}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
\end{figure}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: figure
# key: fig
# --
\begin{figure}[ht]
\centering
\includegraphics[${1:options}]{figures/${2:path.pdf}}
\caption{\label{fig:${3:label}} $0}
\end{figure}

5
snippets/latex-mode/frac Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: frac
# key: frac
# --
\frac{${1:numerator}}{${2:denominator}}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: frac
# group: math
# name: \frac{numerator}{denominator}
# --
\frac{${1:numerator}}{${2:denominator}}$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: frame
# key: fr
# --
\begin{frame}${1:[$2]}
${3:\frametitle{$4}}
$0
\end{frame}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor: Claudio Marforio <marforio@gmail.com>
# key: frame
# group: environments
# name : \begin{frame} ... \end{frame}
# --
\begin{frame}{${1:Frame Title}}
\end{frame}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: gatter
# key: gate
# --
\\gatter{$1}{$2}{$3}{$4}{$5}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: German quotes
# key: gqq
# --
\glqq{}$0\grqq{}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: German single quotes
# key: gq
# --
\glq{}$0\grq{}

5
snippets/latex-mode/gls Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: gls
# key: g
# --
\gls{${1:label}}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Peter Urbak <peter@dragonwasrobot.com>
# key : newgls
# group: misc
# name : \newglossaryentry{...}{...}
# --
\newglossaryentry{$1}{name={$1},
description={$2.}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: glspl
# key: gp
# --
\glspl{${1:label}}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : graphics
# name : \includegraphics
# --
\includegraphics[width=${1:\linewidth}]{${2:file}}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: href
# group: environments
# name: \href{url}{text}
# --
\href{${1:url}}{${2:text}}$0

8
snippets/latex-mode/if Normal file
View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: if
# key: if
# --
\IF {$${1:cond}$}
$0
\ELSE
\ENDIF

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Yannick Reiss <yannick.reiss@protonmail.ch>
# key: img
# name: image
# --
\begin{figure}[H]
\centering
\includegraphics[width=${1:0.8}\linewidth]{$2}
\caption{$3}
\end{figure}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: includegraphics
# key: ig
# --
\includegraphics${1:[$2]}{$0}

5
snippets/latex-mode/int Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: int
# key: int
# --
\int_{$1}^{$2}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: int
# group: math
# name: \int_{n}^{}
# --
\\${1:$$(yas/choose-value '("int" "oint" "iint" "iiint" "iiiint" "idotsint"))}{$2}^{$3}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: italic
# key: fit
# --
\textit{$1}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: item
# key: -
# --
\\item $0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: list
# key: list
# --
\\begin{itemize}
\\item $1
\\end{itemize}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: label
# key: lab
# --
\label{$0}

View File

@@ -0,0 +1,7 @@
-*- mode: snippet -*-
# contributor : M<>rcio M. Ribeiro <marcio.mr@gmail.com>
# key: lab
# group: references
# name : \label
# --
\label{${1:label$(unless yas/modified-p (reftex-label nil 'dont-insert))}}$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: labelcref
# key: lref
# --
\labelcref{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: left and right
# key: lr
# --
\left( $0 \right)

View File

@@ -0,0 +1,27 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# contributor : Song Qiang <tsiangsung@gmail.com>
# key: letter
# group: skeleton
# name: \documentclass{letter} ...
# --
\documentclass{letter}
\signature{${1:Foo Bar}}
\address{${2:Address line 1 \\\\
Address line 2 \\\\
Address line 3}}
\begin{document}
\begin{letter}
{${3:Recipient's address}}
\opening{Dear ${4:Sir}:}
$0
\closing{Yours Sincerely,}
\end{letter}
\end{document}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: François Garillot <francois@garillot.net>
# key: lim
# group: math
# name: \lim_{n}
# --
\lim_{$1}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: listing
# key: lst
# --
\begin{lstlisting}[float,label=lst:${1:label},caption=nextHopInfo: ${2:caption}]
$0
\end{lstlisting}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: math
# group: math
# name: displaymath \[ ... \]
# --
\[
$1
\]

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# contributor: Song Qiang <tsiangsung@gmail.com>
# key: matrix
# group: math
# name: \begin{matrix} ... \end{}
# --
\begin{${1:$$(yas/choose-value '("pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix" "smallmatrix"))}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0
\end{$1}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: minipage
# group: environments
# name: \begin{minipage}[position][width] ... \end{minipage}
# --
\begin{minipage}[${1:htbp}]{${2:1.0}${3:\linewidth}}
$0
\end{minipage}

View File

@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: full template of moderncv class
# key: moderncv
# --
\documentclass[${1:options}]{moderncv}
\firstname{$3}
\familyname{$4}
\moderncvstyle{${5:casual}}
\moderncvcolor{${6:blue}}
\begin{document}
$0
\end{document}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvcomputer
# key: cvcomp
# --
\cvcomputer{${1:category}}{${2:programs}}{${3:category}}{${3:programs}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cventry
# key: cventry
# --
\cventry{${1:year}}{${2:job}}{${3:employer}}{${4:city}}{${5:description}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlanguage
# key: cvlang
# --
\cvlanguage{${1:language}}{${2:skill-level}}{${3:comment}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvline
# key: cvline
# --
\cvline{${1:hobby}}{${2:Description}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlistdoubleitem
# key: cvditem
# --
\cvlistdoubleitem{${1:item}}{${2:item}}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: moderncv-cvlistitem
# key: cvitem
# --
\cvlistitem{${1:item}}
$0

15
snippets/latex-mode/movie Normal file
View File

@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: movie
# key: movie
# --
\begin{center}
\includemovie[
label=test,
controls=false,
text={\includegraphics[width=4in]{${1:image.pdf}}}
]{4in}{4in}{${2:video file}}
\movieref[rate=3]{test}{Play Fast}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=0.2]{test}{Play Slow}
\movieref[resume]{test}{Pause/Resume}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: newcommand
# key: cmd
# --
\newcommand{\\${1:name}}${2:[${3:0}]}{$0}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: newglossaryentry
# key: gl
# --
\newglossaryentry{${1:AC}}{name=${2:Andrea Crotti}${3:, description=${4:description}}}

5
snippets/latex-mode/note Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: note
# key: no
# --
\note{$0}

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key: par
# group: sections
# name : \paragraph
# --
\paragraph{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0

5
snippets/latex-mode/prod Normal file
View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: prod
# key: prod
# --
\prod_{$1}^{$2}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: François Garillot <francois@garillot.net>
# key: prod
# group: math
# name: \prod_{n}^{}
# --
\prod_{$1}^{$2}$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: python
# key: py
# --
\lstset{language=python}
\begin[language=python]{lstlisting}
$0
\end{lstlisting}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: question
# key: q
# --
\question{$0}

View File

@@ -0,0 +1,7 @@
-*- mode: snippet -*-
# contributor : M<>rcio M. Ribeiro <marcio.mr@gmail.com>
# key: ref
# group: references
# name : \ref
# --
\ref{${1:label$(unless yas/modified-p (reftex-reference nil 'dont-insert))}}$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Rasmus Borgsmidt <rasmus@borgsmidt.dk>
# key: sc
# group: font
# name: {\sc ...}
# --
{\scshape $1}$0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : sec
# group: sections
# name : \section
# --
\section{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : sec*
# group: sections
# name : \section*
# --
\section*{${1:name}}
$0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key: ssub
# group: sections
# name : \subsubsection
# --
\subsubsection{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key: ssub*
# group: sections
# name : \subsubsection*
# --
\subsubsection*{${1:name}}
$0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key: sub
# group: sections
# name : \subsection
# --
\subsection{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0

Some files were not shown because too many files have changed in this diff Show More