63 lines
1.1 KiB
Text
63 lines
1.1 KiB
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}{ $1 }
|
|
$2 & $3 \\\\
|
|
cell4 & cell5 \\\\
|
|
\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
|
|
|
|
snippet newcommand
|
|
\newcommand{$1}[$2]{$0}
|
|
endsnippet
|
|
|
|
snippet arraystretch
|
|
\renewcommand*{\arraystretch}{$1}
|
|
endsnippet
|
|
|
|
snippet task
|
|
% Aufgabe $1
|
|
\begin{task}[points=auto]{$2}\label{ex:H$1}
|
|
$0
|
|
\end{task}
|
|
endsnippet
|
|
|
|
snippet subtask
|
|
% Teilaufgabe $1
|
|
\begin{subtask*}[points=$3]{$2}\label{ex:H$1}
|
|
$0
|
|
\end{subtask*}
|
|
endsnippet
|