doomconfig/snippets/latex-mode/pseudocode

14 lines
259 B
Plaintext
Raw Permalink Normal View History

2023-09-29 19:55:17 +02:00
# -*- mode: snippet -*-
# name: pseudocode
# key: pseudocode
# --
\begin{algorithm}[H]
\caption{$1}
\begin{algorithmic}[1]
\Function{$2}{}
$3
\State \Return $4
\EndFunction
\end{algorithmic}
\end{algorithm}