Aktuelles PDF gibt's auch hier: https://flavigny.de/lecture/pdf/analysis2 zum bequemeren Lesen.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

153 řádky
3.6KB

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