math-minimal-distance-to-cubic-function.tex 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. \documentclass[a4paper,oneside,DIV15,BCOR12mm]{scrbook}
  2. \usepackage{amssymb, amsmath} % needed for math
  3. \usepackage{mathtools} % \xRightarrow
  4. \usepackage[utf8]{inputenc} % this is needed for umlauts
  5. \usepackage[english]{babel} % this is needed for umlauts
  6. \usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
  7. \usepackage[margin=2.5cm]{geometry} %layout
  8. \usepackage{hyperref} % links im text
  9. \usepackage{braket} % needed for \Set
  10. \usepackage{parskip}
  11. \usepackage[colorinlistoftodos]{todonotes}
  12. \usepackage{pgfplots}
  13. \pgfplotsset{compat=1.7,compat/path replacement=1.5.1}
  14. \usepackage{tikz}
  15. \usepackage[framed,amsmath,thmmarks,hyperref]{ntheorem}
  16. \usepackage{framed}
  17. \usepackage{nicefrac}
  18. \usepackage{siunitx}
  19. \usepackage{csquotes} % enquote
  20. \usepackage{microtype} % better document formatting
  21. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22. % Define theorems %
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24. \theoremstyle{break}
  25. \setlength\theoremindent{0.7cm}
  26. \theoremheaderfont{\kern-0.7cm\normalfont\bfseries}
  27. \theorembodyfont{\normalfont} % nicht mehr kursiv
  28. \def\mdr{\ensuremath{\mathbb{R}}}
  29. \renewcommand{\qed}{\hfill\blacksquare}
  30. \newframedtheorem{theorem}{Theorem}
  31. \newframedtheorem{lemma}[theorem]{Lemma}
  32. \newtheorem{plaindefinition}{Definition}
  33. \newenvironment{definition}{\begin{plaindefinition}}{\end{plaindefinition}}
  34. \newenvironment{definition*}{\begin{plaindefinition*}}{\end{plaindefinition*}}
  35. \newtheorem{example}{Example}
  36. \theoremstyle{nonumberplain}
  37. \newtheorem{proof}{Proof:}
  38. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  39. \title{Minimal distance to a cubic function}
  40. \author{Martin Thoma}
  41. \hypersetup{
  42. pdfauthor = {Martin Thoma},
  43. pdfkeywords = {},
  44. pdftitle = {Minimal Distance}
  45. }
  46. \def\mdr{\ensuremath{\mathbb{R}}}
  47. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  48. % Begin document %
  49. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  50. \begin{document}
  51. \pagenumbering{roman}
  52. \setcounter{page}{1}
  53. \maketitle
  54. \input{introduction}
  55. \tableofcontents
  56. \pagenumbering{arabic}
  57. \setcounter{page}{1}
  58. \input{problem-description.tex}
  59. \input{constant-functions.tex}
  60. \input{linear-functions.tex}
  61. \input{quadratic-functions.tex}
  62. \input{cubic-functions.tex}
  63. \end{document}