Posted By


greencocoa on 11/11/13

Tagged


Statistics


Viewed 858 times
Favorited by 0 user(s)

20130611_1400_r.7_math_homework_template


/ Published in: LaTeX
Save to your folder(s)

Sublime Text


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.