GeoTopo.tex 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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{parskip}
  15. \usepackage{pst-solides3d}
  16. \usepackage[colorinlistoftodos]{todonotes}
  17. \usepackage{pgfplots}
  18. \usepackage{tikz}
  19. \usepackage{tkz-fct}
  20. \usetikzlibrary{3d,calc,intersections,er,arrows,positioning,shapes.misc}
  21. \newcommand{\inputTikZ}[2]{%
  22. \scalebox{#1}{\input{#2}}
  23. }
  24. \usepackage{shortcuts}
  25. % Setze den richtigen Namen für das Glossar
  26. \newcommand{\glossarName}{Symbolvereichnis}
  27. \author{Siehe \href{https://github.com/MartinThoma/LaTeX-examples/tree/master/documents}{GitHub}}
  28. \title{Geometrie und Topologie}
  29. \makeglossaries
  30. \makeindex
  31. \hypersetup{
  32. pdfauthor = {Siehe GitHub},
  33. pdfkeywords = {Geometrie, Topologie},
  34. pdftitle = {Geometrie und Topologie}
  35. }
  36. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  37. % make the index link to the correct part of the page %
  38. % http://tex.stackexchange.com/q/74493/5645 %
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40. \newcounter{indexanchor}
  41. \newcommand*{\xindex}[1]{%
  42. \stepcounter{indexanchor}% make anchor unique
  43. \def\theindexterm{#1}%
  44. \edef\doindexentry{\noexpand\index
  45. {\expandonce\theindexterm|indexanchor{index-\theindexanchor}}}%
  46. \raisebox{\baselineskip}{\hypertarget{index-\theindexanchor}%
  47. {\doindexentry}}%
  48. }
  49. \newcommand*{\indexanchor}[2]{\hyperlink{#1}{#2}}
  50. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  51. \makeindex
  52. \usepackage{microtype}
  53. \begin{document}
  54. \maketitle
  55. \renewcommand{\thechapter}{\Roman{chapter}}
  56. %\chapter{Inhaltsverzeichnis}
  57. \addcontentsline{toc}{chapter}{Inhaltsverzeichnis}
  58. \tableofcontents
  59. \input{Vorwort}
  60. \input{Kapitel1}
  61. \appendix
  62. \input{Symbolverzeichnis}
  63. \renewcommand{\indexname}{Stichwortverzeichnis}
  64. \addcontentsline{toc}{chapter}{Stichwortverzeichnis}
  65. \printindex
  66. \end{document}