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.

22 lines
542 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{\linf}{\lim\limits_{n \rightarrow{} \infty}}
  11. %running fraction with slash - requires math mode.
  12. \newcommand*\rfrac[2]{{}^{#1}\!/_{#2}}
  13. % Vector
  14. \newcommand*\colvec[3][]{
  15. \begin{pmatrix}\ifx\relax#1\relax\else#1\\\fi#2\\#3\end{pmatrix}
  16. }
  17. \newcommand{\xyvec}{\colvec{x}{y}}