Für Vorlesungen, bitte die Webseite verwenden. https://flavigny.de/lecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 line
1.8KB

  1. \ProvidesClass{lecture}
  2. \LoadClass[a4paper, titlepage]{article}
  3. \RequirePackage[utf8]{inputenc}
  4. \RequirePackage[T1]{fontenc}
  5. \RequirePackage{textcomp}
  6. \RequirePackage[german]{babel}
  7. \RequirePackage{amsmath, amssymb, amsthm}
  8. \RequirePackage{mdframed}
  9. \RequirePackage{fancyhdr}
  10. \RequirePackage{geometry}
  11. \RequirePackage{import}
  12. \RequirePackage{pdfpages}
  13. \RequirePackage{transparent}
  14. \RequirePackage{xcolor}
  15. \RequirePackage{array}
  16. \RequirePackage{enumerate}
  17. \RequirePackage{tikz}
  18. \RequirePackage{pgfplots}
  19. \usetikzlibrary{quotes, angles}
  20. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
  21. \DeclareOption{uebung}{
  22. \makeatletter
  23. \lhead{\@title}
  24. \rhead{\@author}
  25. \makeatother
  26. }
  27. \ProcessOptions\relax
  28. % PAGE GEOMETRY
  29. \geometry{
  30. left=15mm,
  31. right=40mm,
  32. top=20mm,
  33. bottom=20mm
  34. }
  35. % PARAGRAPH no indent but skip
  36. \setlength{\parskip}{3mm}
  37. \setlength{\parindent}{0mm}
  38. \theoremstyle{definition}
  39. \newmdtheoremenv{satz}{Satz}[section]
  40. \newmdtheoremenv{lemma}[satz]{Lemma}
  41. \newmdtheoremenv{korrolar}[satz]{Korrolar}
  42. \newmdtheoremenv{definition}[satz]{Definition}
  43. \newtheorem{bsp}[satz]{Beispiel}
  44. \newtheorem{bem}[satz]{Bemerkung}
  45. \newtheorem{aufgabe}{Aufgabe}
  46. \newcommand{\N}{\mathbb{N}}
  47. \newcommand{\R}{\mathbb{R}}
  48. \newcommand{\Z}{\mathbb{Z}}
  49. \newcommand{\Q}{\mathbb{Q}}
  50. \newcommand{\C}{\mathbb{C}}
  51. % HEADERS
  52. \pagestyle{fancy}
  53. \newcommand{\incfig}[1]{%
  54. \def\svgwidth{\columnwidth}
  55. \import{./figures/}{#1.pdf_tex}
  56. }
  57. \pdfsuppresswarningpagegroup=1
  58. % horizontal rule
  59. \newcommand\hr{
  60. \noindent\rule[0.5ex]{\linewidth}{0.5pt}
  61. }
  62. % punkte tabelle
  63. \newcommand\punkte{
  64. \begin{tabular}{|c|m{1cm}|m{1cm}|m{1cm}|m{1cm}|m{1cm}|@{}m{0cm}@{}}
  65. \hline
  66. Aufgabe & \centering A1 & \centering A2 & \centering A3 & \centering A4 & \centering $\sum$ & \\[5mm] \hline
  67. Punkte & & & & & & \\[5mm] \hline
  68. \end{tabular}
  69. }