dotfiles.pub/_config/nvim/UltiSnips/plaintex.snippets

42 lines
820 B
Text

snippet doc
\documentclass[a4paper]{article}
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
$0
\end{document}
endsnippet
snippet begin
\begin{$1}
$0
\end{$1}
endsnippet
snippet code
{\ttfamily $1}
endsnippet
snippet color
{\color{$1} $2}
endsnippet
snippet table
\begin{tabular}{ c | c }
cell1 & cell2 \\\\
cell3 & cell4 \\\\
\end{tabular}
endsnippet
snippet multicols
\begin{multicols}{2}
Now, we are adding some text here to understand how multiple columns will come up.
\columnbreak
This is again some new text here. Just to show you how the text is placed
\end{multicols}
endsnippet