2020-02-17 00:25:16 +00:00
|
|
|
# -*- mode: snippet -*-
|
|
|
|
# name: LaTeX template
|
|
|
|
# --
|
|
|
|
\documentclass${1:[${2:opt1,...}]}{`(tec/yas-latex-get-class-choice)`}
|
|
|
|
|
2021-03-06 18:52:01 +00:00
|
|
|
\title{${3:`(s-titleized-words (file-name-base (or buffer-file-name "new buffer")))`}}
|
2020-02-17 00:25:16 +00:00
|
|
|
\author{${4:`(user-full-name)`}}
|
|
|
|
\date{${5:`(format-time-string "%Y-%m-%d")`}}
|
|
|
|
`(if (tec/yas-latex-preamble-if) tec/yas-latex-template-preamble "")`
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\maketitle
|
|
|
|
|
|
|
|
$0
|
|
|
|
|
|
|
|
\end{document}
|