2026-04-09T20:01:30
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrfull{}
|
||||
# key: af
|
||||
# uuid: af
|
||||
# --
|
||||
\acrfull{$1}$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrlong{}
|
||||
# key: al
|
||||
# uuid: al
|
||||
# --
|
||||
\acrlong{$1}$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \acrshort{}
|
||||
# key: as
|
||||
# uuid: as
|
||||
# --
|
||||
\acrshort{$1}$0
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: alertblock
|
||||
# key: abl
|
||||
# uuid: abl
|
||||
# --
|
||||
\begin{alertblock}{$2}
|
||||
${0:`%`}
|
||||
\end{alertblock}
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: \chapter{} \label{}
|
||||
# key: cl
|
||||
# uuid: cl
|
||||
# --
|
||||
\chapter{$1} \label{$1}
|
||||
$0
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: cite
|
||||
# key: c
|
||||
# uuid: c
|
||||
# condition: (not (save-restriction (widen) (texmathp)))
|
||||
# --
|
||||
\cite{$1} $0
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: cite with page
|
||||
# uuid: cp
|
||||
# key: cp
|
||||
# condition: t
|
||||
# --
|
||||
|
||||
\cite[S. $2]{$1} $0
|
||||
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: newglossaryentry
|
||||
# key: gl
|
||||
# uuid: gl
|
||||
# --
|
||||
\newglossaryentry{${1}}{
|
||||
name=${1:$(capitalize yas-text)},
|
||||
description={${3}}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: quotes
|
||||
# uuid: qq
|
||||
# key: qq
|
||||
# condition: t
|
||||
# --
|
||||
\glqq $1\grqq{} $0
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: package!
|
||||
# uuid:
|
||||
# key: p
|
||||
# condition: t
|
||||
# --
|
||||
(package! $0)
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: (current time)
|
||||
# key: time
|
||||
# uuid: time
|
||||
# --
|
||||
`(format-time-string "%Y-%m-%dT%H:%M:%S" (current-time))`
|
||||
@@ -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]]
|
||||
Reference in New Issue
Block a user