2026-03-11T12:58:15

This commit is contained in:
2026-03-11 12:58:09 +01:00
parent 3b4cf12651
commit 47e32f2cb1
13 changed files with 70 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrfull{}
# key: af
# uuid: af
# --
\acrfull{$1}$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrlong{}
# key: al
# uuid: al
# --
\acrlong{$1}$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrshort{}
# key: as
# uuid: as
# --
\acrshort{$1}$0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: alertblock
# key: abl
# uuid: abl
# --
\begin{alertblock}{$2}
${0:`%`}
\end{alertblock}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: \chapter{} \label{}
# key: cl
# uuid: cl
# --
\chapter{$1} \label{$1}
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: cite
# key: c
# uuid: c
# condition: (not (save-restriction (widen) (texmathp)))
# --
\cite{$1} $0

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: cite with page
# uuid: cp
# key: cp
# condition: t
# --
\cite[S. $2]{$1} $0

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: newglossaryentry
# key: gl
# uuid: gl
# --
\newglossaryentry{${1}}{
name=${1:$(capitalize yas-text)},
description={${3}}
}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: quotes
# uuid: qq
# key: qq
# condition: t
# --
\glqq $1\grqq{} $0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: (current time)
# key: time
# uuid: time
# --
`(format-time-string "%Y-%m-%dT%H:%M:%S" (current-time))`