GeoTopo.tex 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. \documentclass[a4paper,oneside,DIV15,BCOR12mm]{scrbook}
  2. \usepackage{etoolbox}
  3. \usepackage{amsmath,amssymb}
  4. \usepackage[utf8]{inputenc} % this is needed for umlauts
  5. \usepackage[ngerman]{babel} % this is needed for umlauts
  6. \usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
  7. \usepackage[framed,amsmath,thmmarks,hyperref]{ntheorem}
  8. \usepackage{makeidx} % for automatically generation of an index
  9. \usepackage[bookmarks,bookmarksnumbered,hypertexnames=false,pdfpagelayout=OneColumn,colorlinks,hyperindex=false]{hyperref} % has to be after makeidx
  10. \usepackage[xindy,toc]{glossaries} % for symbol table, has to be after hyperref
  11. \usepackage{enumerate}
  12. \usepackage{braket} % needed for \Set
  13. \usepackage{csquotes}
  14. \usepackage{subfigure}
  15. \usepackage{parskip}
  16. \usepackage{pst-solides3d}
  17. \usepackage[colorinlistoftodos]{todonotes}
  18. \usepackage{pgfplots}
  19. \usepackage{tikz}
  20. \usepackage{tikz-3dplot}
  21. \usepackage{tkz-fct}
  22. \usetikzlibrary{3d,calc,intersections,er,arrows,positioning,shapes.misc}
  23. \newcommand{\inputTikZ}[2]{%
  24. \scalebox{#1}{\input{#2}}
  25. }
  26. \usepackage{shortcuts}
  27. % Setze den richtigen Namen für das Glossar
  28. \newcommand{\glossarName}{Symbolvereichnis}
  29. \author{Siehe \href{https://github.com/MartinThoma/LaTeX-examples/tree/master/documents}{GitHub}}
  30. \title{Geometrie und Topologie}
  31. \makeglossaries
  32. \makeindex
  33. \hypersetup{
  34. pdfauthor = {Siehe GitHub},
  35. pdfkeywords = {Geometrie, Topologie},
  36. pdftitle = {Geometrie und Topologie}
  37. }
  38. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  39. % make the index link to the correct part of the page %
  40. % http://tex.stackexchange.com/q/74493/5645 %
  41. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  42. \newcounter{indexanchor}
  43. \newcommand*{\xindex}[1]{%
  44. \stepcounter{indexanchor}% make anchor unique
  45. \def\theindexterm{#1}%
  46. \edef\doindexentry{\noexpand\index
  47. {\expandonce\theindexterm|indexanchor{index-\theindexanchor}}}%
  48. \raisebox{\baselineskip}{\hypertarget{index-\theindexanchor}%
  49. {\doindexentry}}%
  50. }
  51. \newcommand*{\indexanchor}[2]{\hyperlink{#1}{#2}}
  52. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  53. \makeindex
  54. \usepackage{microtype}
  55. \begin{document}
  56. \pagenumbering{roman}
  57. \setcounter{page}{1}
  58. \maketitle
  59. \input{Vorwort}
  60. \renewcommand{\thechapter}{\Roman{chapter}}
  61. \addcontentsline{toc}{chapter}{Inhaltsverzeichnis}
  62. \tableofcontents
  63. \pagenumbering{arabic}
  64. \setcounter{page}{1}
  65. \input{Kapitel1}
  66. \appendix
  67. \input{Symbolverzeichnis}
  68. \renewcommand{\indexname}{Stichwortverzeichnis}
  69. \addcontentsline{toc}{chapter}{Stichwortverzeichnis}
  70. \printindex
  71. \end{document}