Add doom config to repo
This commit is contained in:
19
config/doom/snippets/latex-mode/.yas-compiled-snippets.el
Normal file
19
config/doom/snippets/latex-mode/.yas-compiled-snippets.el
Normal file
@ -0,0 +1,19 @@
|
||||
;;; Compiled snippets and support files for `latex-mode'
|
||||
;;; Snippet definitions:
|
||||
;;;
|
||||
(yas-define-snippets 'latex-mode
|
||||
'(("theorem" "\\begin{theorem}{$1}\n $0\n\\end{theorem}" "theorem" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/theorem.yasnippet" nil nil)
|
||||
("sum" "\\sum\\limits${1:$(when (> (length yas-text) 0) \"_\")\n}${1:$(when (> (length yas-text) 1) \"{\")\n}${1:i=0}${1:$(when (> (length yas-text) 1) \"}\")\n}${2:$(when (> (length yas-text) 0) \"^\")\n}${2:$(when (> (length yas-text) 1) \"{\")\n}${2:n}${2:$(when (> (length yas-text) 1) \"}\")} $0" "sum" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/sum.yasnippet" nil nil)
|
||||
("subfile" "\\documentclass[main.tex]{subfiles}\n\n\\begin{document}\n\n\\section{$1}\n\n$0\n\n\\end{document}" "subfile" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/subfile.yasnippet" nil nil)
|
||||
("remark" "\\begin{remark}{$1}\n $0\n\\end{remark}" "remark" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/remark.yasnippet" nil nil)
|
||||
("proof" "\\begin{proof}{$1}\n $0\n\\end{proof}\n" "proof" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/proof.yasnippet" nil nil)
|
||||
("mainfile" "\\input{../pre.tex}\n\n\\begin{document}\n\n\\title{$1} \\subtitle{$2} \\author{Christoph Urlacher} \\date{\\today}\n\n\\maketitle\n\\newpage\n\\tableofcontents\n\\newpage\n\n$0\n\n\\end{document}" "main file" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/main_file.yasnippet" nil nil)
|
||||
("lemma" "\\begin{lemma}{$1}\n $0\n\\end{lemma}\n" "lemma" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/lemma.yasnippet" nil nil)
|
||||
("int" "\\int\\limits${1:$(when (> (length yas-text) 0) \"_\")\n}${1:$(when (> (length yas-text) 1) \"{\")\n}${1:left}${1:$(when (> (length yas-text) 1) \"}\")\n}${2:$(when (> (length yas-text) 0) \"^\")\n}${2:$(when (> (length yas-text) 1) \"{\")\n}${2:right}${2:$(when (> (length yas-text) 1) \"}\")} $0\n" "int" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/int.yasnippet" nil nil)
|
||||
("im" "\\\\( $1 \\\\)$0" "inline math" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/inline_math.yasnippet" nil nil)
|
||||
("dm" "\\\\[ $1 \\\\]$0" "display math" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/display_math.yasnippet" nil nil)
|
||||
("definition" "\\begin{definition}{$1}\n $0\n\\end{definition}" "definition" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/definition.yasnippet" nil nil)
|
||||
("corollary" "\\begin{corollary}{$1}\n $0\n\\end{corollary}\n" "corollary" nil nil nil "/home/christoph/.config/doom/snippets/latex-mode/corollary.yasnippet" nil nil)))
|
||||
|
||||
|
||||
;;; Do not edit! File generated at Wed Apr 13 20:49:27 2022
|
7
config/doom/snippets/latex-mode/corollary.yasnippet
Normal file
7
config/doom/snippets/latex-mode/corollary.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: corollary
|
||||
# key: corollary
|
||||
# --
|
||||
\begin{corollary}{$1}
|
||||
$0
|
||||
\end{corollary}
|
7
config/doom/snippets/latex-mode/definition.yasnippet
Normal file
7
config/doom/snippets/latex-mode/definition.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: definition
|
||||
# key: definition
|
||||
# --
|
||||
\begin{definition}{$1}
|
||||
$0
|
||||
\end{definition}
|
5
config/doom/snippets/latex-mode/display_math.yasnippet
Normal file
5
config/doom/snippets/latex-mode/display_math.yasnippet
Normal file
@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: display math
|
||||
# key: dm
|
||||
# --
|
||||
\\[ $1 \\]$0
|
5
config/doom/snippets/latex-mode/inline_math.yasnippet
Normal file
5
config/doom/snippets/latex-mode/inline_math.yasnippet
Normal file
@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: inline math
|
||||
# key: im
|
||||
# --
|
||||
\\( $1 \\)$0
|
10
config/doom/snippets/latex-mode/int.yasnippet
Normal file
10
config/doom/snippets/latex-mode/int.yasnippet
Normal file
@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: int
|
||||
# key: int
|
||||
# --
|
||||
\int\limits${1:$(when (> (length yas-text) 0) "_")
|
||||
}${1:$(when (> (length yas-text) 1) "{")
|
||||
}${1:left}${1:$(when (> (length yas-text) 1) "}")
|
||||
}${2:$(when (> (length yas-text) 0) "^")
|
||||
}${2:$(when (> (length yas-text) 1) "{")
|
||||
}${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
|
7
config/doom/snippets/latex-mode/lemma.yasnippet
Normal file
7
config/doom/snippets/latex-mode/lemma.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: lemma
|
||||
# key: lemma
|
||||
# --
|
||||
\begin{lemma}{$1}
|
||||
$0
|
||||
\end{lemma}
|
18
config/doom/snippets/latex-mode/main_file.yasnippet
Normal file
18
config/doom/snippets/latex-mode/main_file.yasnippet
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: main file
|
||||
# key: mainfile
|
||||
# --
|
||||
\input{../pre.tex}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\title{$1} \subtitle{$2} \author{Christoph Urlacher} \date{\today}
|
||||
|
||||
\maketitle
|
||||
\newpage
|
||||
\tableofcontents
|
||||
\newpage
|
||||
|
||||
$0
|
||||
|
||||
\end{document}
|
7
config/doom/snippets/latex-mode/proof.yasnippet
Normal file
7
config/doom/snippets/latex-mode/proof.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: proof
|
||||
# key: proof
|
||||
# --
|
||||
\begin{proof}{$1}
|
||||
$0
|
||||
\end{proof}
|
7
config/doom/snippets/latex-mode/remark.yasnippet
Normal file
7
config/doom/snippets/latex-mode/remark.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: remark
|
||||
# key: remark
|
||||
# --
|
||||
\begin{remark}{$1}
|
||||
$0
|
||||
\end{remark}
|
13
config/doom/snippets/latex-mode/subfile.yasnippet
Normal file
13
config/doom/snippets/latex-mode/subfile.yasnippet
Normal file
@ -0,0 +1,13 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: subfile
|
||||
# key: subfile
|
||||
# --
|
||||
\documentclass[main.tex]{subfiles}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\section{$1}
|
||||
|
||||
$0
|
||||
|
||||
\end{document}
|
10
config/doom/snippets/latex-mode/sum.yasnippet
Normal file
10
config/doom/snippets/latex-mode/sum.yasnippet
Normal file
@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: sum
|
||||
# key: sum
|
||||
# --
|
||||
\sum\limits${1:$(when (> (length yas-text) 0) "_")
|
||||
}${1:$(when (> (length yas-text) 1) "{")
|
||||
}${1:i=0}${1:$(when (> (length yas-text) 1) "}")
|
||||
}${2:$(when (> (length yas-text) 0) "^")
|
||||
}${2:$(when (> (length yas-text) 1) "{")
|
||||
}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
|
7
config/doom/snippets/latex-mode/theorem.yasnippet
Normal file
7
config/doom/snippets/latex-mode/theorem.yasnippet
Normal file
@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: theorem
|
||||
# key: theorem
|
||||
# --
|
||||
\begin{theorem}{$1}
|
||||
$0
|
||||
\end{theorem}
|
Reference in New Issue
Block a user