A bunch of latex templates i use frequently.
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.

88 lines
2.1 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. \documentclass[12pt,a4paper,oneside,ngerman]{article}
  2. \usepackage[left=3cm,right=3cm,top=2.5cm]{geometry}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{hyperref}
  5. \usepackage{ngerman}
  6. \usepackage{enumerate}
  7. \usepackage{amsmath,amssymb}
  8. \usepackage{listings}
  9. \usepackage{xcolor}
  10. \usepackage{colortbl}
  11. \usepackage{wrapfig}
  12. \usepackage{multicol}
  13. \usepackage{caption}
  14. \usepackage{graphicx}
  15. \usepackage{amsmath}
  16. \usepackage{float}
  17. \usepackage{tikz}
  18. \usepackage{fancyhdr}
  19. \usetikzlibrary{arrows,automata,backgrounds,calc,decorations,decorations.text,intersections,matrix,mindmap,patterns,shadings,shapes,shapes.gates.logic.US}
  20. \pagestyle{fancy}
  21. \setlength{\headheight}{20pt}
  22. \setlength{\parindent}{0em}
  23. \setlength{\parskip}{0.25em}
  24. %Variables
  25. \def \module {}
  26. \def \moduleShort {}
  27. \def \documentTitle {}
  28. \def \tutor {}
  29. \def \tutorium {}
  30. \def \DayTime {}
  31. \def \group {}
  32. \def \memberOne {}
  33. \def \memberOneMatricle {}
  34. \def \memberTwo {}
  35. \def \memberTwoMatricle {}
  36. \def \memberThree {}
  37. \def \memberThreeMatricle {}
  38. \fancyhead[R]{\moduleShort, \documentTitle, \tutor}
  39. \fancyhead[L]{\memberOne, \memberTwo, \memberThree}
  40. \newcommand{\linia}{\rule{\linewidth}{0.5pt}}
  41. \renewcommand{\maketitle}{
  42. \begin{multicols}{2}
  43. \hspace{-1cm}
  44. \begin{tabular}{ll}
  45. Gruppe: & \group \\
  46. Autoren: & \memberOneMatricle \ \memberOne \\
  47. & \memberTwoMatricle \ \memberTwo \\
  48. & \memberThreeMatricle \ \memberThree
  49. \end{tabular}
  50. \columnbreak
  51. \hspace{-1cm}
  52. \raggedleft
  53. \begin{tabular}{ll}
  54. Tutorium: & \ \tutorium \\
  55. Tutor: & \ \tutor \\
  56. Zeit: & \ \DayTime \\
  57. \end{tabular}
  58. \end{multicols}
  59. \begin{center}
  60. \Large{\module}
  61. \LARGE{\documentTitle}
  62. \small
  63. \begin{tabular}{|p{0.9cm}|p{0.9cm}|p{0.9cm}|p{0.9cm}|p{0.9cm}|}
  64. \hline & & & & $\sum\limits^{ }$ \\ \hline
  65. & & & & \\ \hline
  66. \end{tabular}
  67. \end{center}
  68. \linia
  69. }
  70. \begin{document}
  71. \thispagestyle{plain}
  72. \maketitle
  73. \end{document}