Posted By

greencocoa on 11/11/13


Tagged

math template Homework


Versions (?)

20130611_1400_r.7_math_homework_template


 / Published in: LaTeX
 

Sublime Text

  1. <snippet>
  2. <content><![CDATA[
  3. \documentclass[11pt]{article}
  4. \usepackage{amsmath,amssymb,amsthm}
  5. \usepackage[german]{babel}
  6. \usepackage[utf8]{inputenc}
  7. \usepackage{tikz}
  8. \usepackage{pgf}
  9. \usepackage{url}
  10. \usepackage{pgfplots}
  11. \usepackage[a4paper]{geometry}
  12. \usepackage{xcolor}
  13. \usepackage{booktabs}
  14. \usepackage{fancyhdr}
  15. \usepackage{natbib}
  16. \usepackage{mhchem}
  17. \usepackage{subfigure}
  18. \usepackage{graphicx}
  19. \usepackage{siunitx}
  20. \usepackage{longtable}
  21. \usepackage{caption}
  22. \usepackage{hyperref}
  23. \usepackage{cleveref}
  24. \usepackage{microtype}
  25. \usepackage[fixFPpow]{tabularcalc}
  26. %---------------------------
  27. \pgfplotsset{width=7cm,compat=1.6}
  28. %---------------------------
  29. \addtolength{\evensidemargin}{-.5in}
  30. \addtolength{\oddsidemargin}{-.5in}
  31. \addtolength{\textwidth}{0.8in}
  32. \addtolength{\textheight}{0.8in}
  33. \addtolength{\topmargin}{-.4in}
  34. \newtheoremstyle{quest}{\topsep}{\topsep}{}{}{\bfseries}{}{ }{\thmname{#1}\thmnote{ #3}}
  35. \theoremstyle{quest}
  36.  
  37. \newtheorem*{definition}{Definition}
  38. \newtheorem*{theorem}{Theorem}
  39. \newtheorem*{aufgabe}{\large Aufgabe}
  40. \newtheorem*{question}{\normalsize Fragestellung:}
  41. \newtheorem*{exercise}{\"Ubung}
  42. \newtheorem*{taufgabe}{\small Teilaufgabe}
  43. \newtheorem*{challengeproblem}{Problembew\"altigung}
  44. \newcommand{\name}{%%%%%%%%%%%%%%%%%%
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  47. %% put your name here, so we know who to give credit to %%
  48. \today
  49. }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  50. \newcommand{\hw}{%%%%%%%%%%%%%%%%%%%%
  51. %% and which homework assignment is it? %%%%%%%%%
  52. %% put the correct number below %%%%%%%%%
  53. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  54. $1
  55. }
  56. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  57. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  58. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  59. \title{\vspace{-50pt}
  60. \large \name
  61. \\vspace{20pt}
  62. \huge ${2:Mathe} \hfill ${3:Hausaufgabe} \hw}
  63. \author{Moritz F.}
  64. \date{}
  65. \pagestyle{myheadings}
  66. \markright{\name\hfill ${4:Hausaufgabe} \hw\qquad\hfill}
  67.  
  68. %% If you want to define a new command, you can do it like this:
  69. \newcommand{\Q}{\mathbb{Q}}
  70. \newcommand{\R}{\mathbb{R}}
  71. \newcommand{\Z}{\mathbb{Z}}
  72. \newcommand{\C}{\mathbb{C}}
  73. \newcommand{\D}{\mathbb{D}}
  74. %% If you want to use a function like ''sin'' or ''cos'', you can do it like this
  75. %% (we probably won't have much use for this)
  76. % \DeclareMathOperator{\sin}{sin} %% just an example (it's already defined)
  77.  
  78.  
  79. \begin{document}
  80. \maketitle
  81.  
  82. \begin{aufgabe}
  83. $5
  84. \end{aufgabe}
  85. \begin{question}
  86. $6
  87. \end{question}
  88.  
  89. \begin{taufgabe}[$7)]
  90. \begin{align*}
  91. $8
  92. \end{align*}
  93. \end{taufgabe}
  94. $9
  95. \end{document}
  96. ]]></content>
  97. <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  98. <tabTrigger>math_homework_temp</tabTrigger> -->
  99. <!-- Optional: Set a scope to limit where the snippet will trigger -->
  100. <scope>text.tex.latex</scope> -->
  101. </snippet>

Report this snippet  

You need to login to post a comment.