2026-04-09T20:01:30

This commit is contained in:
2026-04-09 20:00:30 +02:00
parent ad651d20ec
commit 22671273d2
12 changed files with 85 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrfull{}
# key: af
# uuid: af
# --
\acrfull{$1}$0
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrlong{}
# key: al
# uuid: al
# --
\acrlong{$1}$0
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: \acrshort{}
# key: as
# uuid: as
# --
\acrshort{$1}$0
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: alertblock
# key: abl
# uuid: abl
# --
\begin{alertblock}{$2}
${0:`%`}
\end{alertblock}
+7
View File
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: \chapter{} \label{}
# key: cl
# uuid: cl
# --
\chapter{$1} \label{$1}
$0
+7
View File
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: cite
# key: c
# uuid: c
# condition: (not (save-restriction (widen) (texmathp)))
# --
\cite{$1} $0
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: cite with page
# uuid: cp
# key: cp
# condition: t
# --
\cite[S. $2]{$1} $0
+9
View File
@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name: newglossaryentry
# key: gl
# uuid: gl
# --
\newglossaryentry{${1}}{
name=${1:$(capitalize yas-text)},
description={${3}}
}
+7
View File
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: quotes
# uuid: qq
# key: qq
# condition: t
# --
\glqq $1\grqq{} $0
+7
View File
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: package!
# uuid:
# key: p
# condition: t
# --
(package! $0)
+6
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))`
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: cypher src block + image link
# key: <n
# --
#+begin_src cypher :port 7687 :file ./${1:test}.png
$0
#+end_src
[[./$1.png]]