Aktuelles PDF gibt's auch hier: https://flavigny.de/lecture/pdf/analysis2 zum bequemeren Lesen.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

145 wiersze
3.5KB

  1. \ProvidesClass{lecture}
  2. \LoadClass[a4paper]{book}
  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{geometry}
  10. \RequirePackage{import}
  11. \RequirePackage{pdfpages}
  12. \RequirePackage{transparent}
  13. \RequirePackage{xcolor}
  14. \RequirePackage{array}
  15. \RequirePackage[shortlabels]{enumitem}
  16. \RequirePackage{tikz}
  17. \RequirePackage{pgfplots}
  18. \RequirePackage[pagestyles, nobottomtitles]{titlesec}
  19. \RequirePackage{listings}
  20. \RequirePackage{mathtools}
  21. \RequirePackage{forloop}
  22. \RequirePackage{totcount}
  23. \RequirePackage[hidelinks]{hyperref}
  24. \usetikzlibrary{quotes, angles}
  25. %\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
  26. \DeclareOption{uebung}{
  27. \makeatletter
  28. \lhead{\@title}
  29. \rhead{\@author}
  30. \makeatother
  31. }
  32. \ProcessOptions\relax
  33. % PARAGRAPH no indent but skip
  34. \setlength{\parskip}{3mm}
  35. \setlength{\parindent}{0mm}
  36. \theoremstyle{definition}
  37. \newmdtheoremenv{satz}{Satz}[chapter]
  38. \newmdtheoremenv{lemma}[satz]{Lemma}
  39. \newmdtheoremenv{korrolar}[satz]{Korrolar}
  40. \newmdtheoremenv{definition}[satz]{Definition}
  41. \newtheorem{bsp}[satz]{Beispiel}
  42. \newtheorem{bem}[satz]{Bemerkung}
  43. \newtheorem{aufgabe}{Aufgabe}
  44. % enable aufgaben counting
  45. \regtotcounter{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. %\newpagestyle{main}[\small]{
  53. % \setheadrule{.55pt}%
  54. % \sethead[\thepage]% even-left
  55. % []% even-center
  56. % [\thechapter~\chaptertitle]% even-right
  57. % {\thesection~\sectiontitle}% odd-left
  58. % {}% odd-center
  59. % {\thepage}% odd-right
  60. %}
  61. %\pagestyle{main}
  62. \newcommand{\incfig}[1]{%
  63. \def\svgwidth{\columnwidth}
  64. \import{./figures/}{#1.pdf_tex}
  65. }
  66. \pdfsuppresswarningpagegroup=1
  67. % horizontal rule
  68. \newcommand\hr{
  69. \noindent\rule[0.5ex]{\linewidth}{0.5pt}
  70. }
  71. % punkte tabelle
  72. \newcommand{\punkte}{
  73. \@punkten{\totvalue{aufgabe}}
  74. }
  75. \def\@punkten#1{
  76. \newcounter{n}
  77. \begin{tabular}{|c|*{#1}{m{1cm}|}m{1cm}|@{}m{0cm}@{}}
  78. \hline
  79. Aufgabe
  80. \forloop{n}{1}{\not{\value{n} > #1}}{
  81. & \centering A\then
  82. }
  83. & \centering $\sum$ & \\[5mm] \hline
  84. Punkte
  85. \forloop{n}{1}{\not{\value{n} > #1}}{
  86. &
  87. }
  88. & & \\[5mm] \hline
  89. \end{tabular}
  90. }
  91. % code listings, define style
  92. \lstdefinestyle{mystyle}{
  93. commentstyle=\color{gray},
  94. keywordstyle=\color{blue},
  95. numberstyle=\tiny\color{gray},
  96. stringstyle=\color{black},
  97. basicstyle=\ttfamily\footnotesize,
  98. breakatwhitespace=false,
  99. breaklines=true,
  100. captionpos=b,
  101. keepspaces=true,
  102. numbers=left,
  103. numbersep=5pt,
  104. showspaces=false,
  105. showstringspaces=false,
  106. showtabs=false,
  107. tabsize=2
  108. }
  109. % activate my colour style
  110. \lstset{style=mystyle}
  111. % better stackrel
  112. \let\oldstackrel\stackrel
  113. \renewcommand{\stackrel}[2]{%
  114. \oldstackrel{\mathclap{#1}}{#2}
  115. }%
  116. % integral d sign
  117. \makeatletter \renewcommand\d[1]{\ensuremath{%
  118. \;\mathrm{d}#1\@ifnextchar\d{\!}{}}}
  119. \makeatother
  120. % remove page before chapters
  121. \let\cleardoublepage=\clearpage
  122. %josuas fault, ana3.tex addons
  123. \newcommand{\K}{\mathrm{K}}
  124. \newcommand{\qnorm}[1]{\left|\left|#1\right|\right|^2}
  125. \newcommand{\norm}[1]{\left|\left|#1\right|\right|}