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.

34 lines
869 B

  1. % custom commands go here %
  2. \newcommand{\N}{\mathbb{N}}
  3. \newcommand{\R}{\mathbb{R}}
  4. \newcommand{\Z}{\mathbb{Z}}
  5. \newcommand{\K}{\mathbb{K}}
  6. \newcommand{\Q}{\mathbb{Q}}
  7. \newcommand{\Rq}{\R^2}
  8. \newcommand{\Qq}{\Q^2}
  9. \newcommand{\lrarr}{\leftrightarrow}
  10. \newcommand{\larr}{\leftarrow}
  11. \newcommand{\rarr}{\rightarrow}
  12. \newcommand{\Lrarr}{\Leftrightarrow}
  13. \newcommand{\Larr}{\Leftarrow}
  14. \newcommand{\Rarr}{\Rightarrow}
  15. \newcommand{\ex}{\emph{Beispiel: }}
  16. \newcommand{\anm}{\emph{Anmerkung: }}
  17. \newcommand{\linf}{\lim\limits_{n \rightarrow{} \infty}}
  18. %running fraction with slash - requires math mode.
  19. \newcommand*\rfrac[2]{{}^{#1}\!/_{#2}}
  20. % Vector
  21. \newcommand*\colvec[3][]{
  22. \begin{pmatrix}\ifx\relax#1\relax\else#1\\\fi#2\\#3\end{pmatrix}
  23. }
  24. \newcommand{\xyvec}{\colvec{x}{y}}
  25. % Index command to show the key emphasized
  26. \newcommand{\idx}[1]{{\emph{#1}\index{#1}}}