aboutsummaryrefslogtreecommitdiffstats
path: root/.vim/snippets/tex.snippets
blob: 4e6eb80ef2c15072bd9990289f0a1707651eeb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
snippet b \begin{} ... \end{} block
	\\begin{${1:env}}
		${0:${VISUAL}}
	\\end{$1}

snippet sec \section
	\\section{${1:section name}}%
	\\label{sec:${2:$1}}
	${0}

snippet sub \subsection
	\\subsection{${1:subsection name}}%
	\\label{sub:${2:$1}}
	${0}

snippet ssub \subsubsection
	\\subsubsection{${1:subsubsection name}}%
	\\label{ssub:${2:$1}}
	${0}

snippet e emphasize text
	\\emph{${1:${VISUAL:text}}}${0}

snippet it italic text
	\\textit{${1:${VISUAL:text}}}${0}
snippet bf bold face text
	\\textbf{${1:${VISUAL:text}}}${0}
snippet sc small caps text
	\\textsc{${1:${VISUAL:text}}}${0}
snippet sf sans serife text
	\\textsf{${1:${VISUAL:text}}}${0}
snippet rm roman font text
	\\textrm{${1:${VISUAL:text}}}${0}
snippet tt typewriter (monospace) text
	\\texttt{${1:${VISUAL:text}}}${0}

snippet ft \footnote
	\\footnote{${1:${VISUAL:text}}}${0}
snippet ac \autocite
	\\autocite{${1:${VISUAL:text}}}${0}

snippet hs hspace
	\\hspace{${1:${VISUAL:text}}}${0}
snippet vs vspace
	\\vspace{${1:${VISUAL:text}}}${0}

snippet cw columnwidth
	\\columnwidth${0}
snippet lw linewidth
	\\linewidth${0}
snippet pw pagewidth
	\\pagewidth${0}
snippet tw textwidth
	\\textwidth${0}

snippet dd 3dots
	\\dd{}${0}
snippet ddd 4dots
	\\ddd{}${0}