-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
executable file
·116 lines (104 loc) · 3.35 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
\documentclass[10pt, a4paper]{scrartcl}
%\usepackage{a4wide} %Platzintensiver
\usepackage[ngerman]{babel} %Deutsche Silbentrennung
\usepackage[utf8]{inputenc} %Damit kann man auch Umlaute direkt eintippen
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage{amsbsy}
\usepackage{mdwlist}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{graphicx} %including images
\usepackage{fancyhdr} %for editiable headers and footers
\usepackage{setspace} %for 1,5times row space
\usepackage[colorlinks,pdfpagelabels,pdfstartview = FitH,bookmarksopen = true,bookmarksnumbered = true,linkcolor = black,plainpages = false,hypertexnames = false,citecolor = black, linkcolor=black, menucolor=black, pagecolor=black, urlcolor=black] {hyperref}
\usepackage{multirow} %linebreak in Table
\usepackage{enumerate}
\usepackage{float}
\usepackage{colortbl} %colorTables
\usepackage{framed} %begin{framed}
\usepackage{longtable} %begin{longtable}
\usepackage{makeidx}
\usepackage[square]{natbib}
\usepackage{epigraph}
\include{parts/include-syntax-php}
% Eigenes PHP Syntax-HL
\usepackage{listings}
\usepackage{caption}
\usepackage{epigraph}
\usepackage[dvipsnames]{xcolor}
\lstset{%
basicstyle=\ttfamily\footnotesize\color{black},
commentstyle = \ttfamily\color{gray},
keywordstyle=\ttfamily\color{blue},
stringstyle=\color{red},
showspaces=false, % show spaces adding particular underscores
showstringspaces=false,
frame=single
}
\newcommand{\ownTitle}{Bachelorarbeit}
\newcommand{\ownTitleZ}{Leistungsuntersuchung von Webserveranwendungen und Optimierung auf Basis von Drupal 5 (am Beispiel von ITsax.de)}
\newcommand{\ownAutor}{Martin Schneider, HTW Dresden}
\parskip 5pt % sets spacing between paragraphs
\parindent 0pt
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HEAD AND FOOTLINES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markboth{\thesection\ #1}{}}
\renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}}
\lhead[ \leftmark ]{\textbf{\ownTitle}}
\rhead[\textbf{\ownTitleZ}]{\leftmark}
\lfoot[\thepage ]{\scriptsize \textcopyright2011, \ownAutor}
\cfoot[]{}
\rfoot[\scriptsize \textcopyright2011, \ownAutor]{\thepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Macros
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\footrulewidth}{0.5pt}
\newcommand{\cbox}{\includegraphics[width=0.2cm]{material/cbox.png} \ }
\definecolor{Gray}{rgb}{0.85,0.85,0.90}
% \setcounter{tocdepth}{2} %kleineres TOC
\newcommand{\arr}{$ \Longrightarrow$}
\makeindex %start Aufzeichnun eines Stichwortverzeichnisses
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Metainfos
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{\ownTitle}
\author{\ownAutor}
\pdfinfo{
/Title (\ownTitle)
/Author (\ownAutor)
/Subject (\ownTitleZ)
/Keywords()
}
\date{\today}
\onehalfspacing
\setlength{\epigraphwidth}{.8\textwidth}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{parts/00-frontpage}
\tableofcontents %Inhaltsverzeichnis
\include{parts/01}
\include{parts/02}
\include{parts/03}
\include{parts/99-appendix}
\end{document}
Vorlagen:
\begin{longtable}{|l|l|}
\hline
\rowcolor{Gray}
Falsch&Richtig\\
\hline
Studenten&Studierende\\
\hline
Abschlussprogramm&Degree Seeking Students\\
\hline
Doppeldiplom&Doppelabschluss[programm]\\
\hline
HTWD & HTW Dresden\\
\caption{Deutsche Terminologie}
\label{tb:dt}
\end{longtable}