/ Published in: LaTeX
Sublime Text
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<snippet> <content><![CDATA[ \usepackage{amsmath,amssymb,amsthm} \usepackage[german]{babel} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{pgf} \usepackage{url} \usepackage{pgfplots} \usepackage[a4paper]{geometry} \usepackage{xcolor} \usepackage{booktabs} \usepackage{fancyhdr} \usepackage{natbib} \usepackage{mhchem} \usepackage{subfigure} \usepackage{graphicx} \usepackage{siunitx} \usepackage{longtable} \usepackage{caption} \usepackage{hyperref} \usepackage{cleveref} \usepackage{microtype} \usepackage[fixFPpow]{tabularcalc} %--------------------------- \pgfplotsset{width=7cm,compat=1.6} %--------------------------- \addtolength{\evensidemargin}{-.5in} \addtolength{\oddsidemargin}{-.5in} \addtolength{\textwidth}{0.8in} \addtolength{\textheight}{0.8in} \addtolength{\topmargin}{-.4in} \newtheoremstyle{quest}{\topsep}{\topsep}{}{}{\bfseries}{}{ }{\thmname{#1}\thmnote{ #3}} \theoremstyle{quest} \newtheorem*{definition}{Definition} \newtheorem*{theorem}{Theorem} \newtheorem*{aufgabe}{\large Aufgabe} \newtheorem*{question}{\normalsize Fragestellung:} \newtheorem*{exercise}{\"Ubung} \newtheorem*{taufgabe}{\small Teilaufgabe} \newtheorem*{challengeproblem}{Problembew\"altigung} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% put your name here, so we know who to give credit to %% }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% and which homework assignment is it? %%%%%%%%% %% put the correct number below %%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $1 } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \large \name \\vspace{20pt} \author{Moritz F.} \date{} \pagestyle{myheadings} %% If you want to define a new command, you can do it like this: \newcommand{\R}{\mathbb{R}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\C}{\mathbb{C}} \newcommand{\D}{\mathbb{D}} %% If you want to use a function like ''sin'' or ''cos'', you can do it like this %% (we probably won't have much use for this) % \DeclareMathOperator{\sin}{sin} %% just an example (it's already defined) \begin{document} \begin{aufgabe} $5 \end{aufgabe} \begin{question} $6 \end{question} \begin{taufgabe}[$7)] \begin{align*} $8 \end{align*} \end{taufgabe} $9 \end{document} ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>math_homework_temp</tabTrigger> --> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>text.tex.latex</scope> --> </snippet>