dotfiles/vim/.vim/UltiSnips/tex.snippets

31 lines
544 B
Plaintext
Raw Normal View History

2023-11-02 10:11:39 +01:00
snippet base "Description" b
\documentclass{${1:${VISUAL:article}}}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
2024-10-04 08:49:11 +02:00
\usepackage[pdftex]{graphicx}
2023-11-02 10:11:39 +01:00
\usepackage{amsmath, amsfonts, amssymb, amsthm}
2024-10-04 08:49:11 +02:00
\usepackage{fullpage}
2023-11-02 10:11:39 +01:00
2024-01-06 18:02:00 +01:00
\title{${2:${VISUAL:Titre}}}
\author{${3:${VISUAL:Debucquoy Anthony}}}
2023-11-02 10:11:39 +01:00
\begin{document}
2024-01-06 18:02:00 +01:00
\maketitle
2023-11-02 10:11:39 +01:00
$0
\end{document}
endsnippet
2024-08-23 11:20:30 +02:00
snippet bb "mathbb" i
\mathbb{${1:${VISUAL:R}}} $0
endsnippet
priority -9999999
snippet "(\w+)" "latex default" r
\\`!p snip.rv = match.group(1)` $1
endsnippet