2 % headsepline: Linie am oberen Blattrand unterhalb der Seitennummer
3 % bibtotoc: Aufnahme des Literaturverzeichnisses ins Inhaltsverzeichnis
4 %\documentclass[a4paper,headsepline,bibtotoc]{scrreprt}
7 \newcommand{\mytitle}{OBDA Specification Language (OSL)\\
9 \newcommand{\myprog}{\name{db2osl}}
10 \newcommand{\osl}{\name{OSL}}
11 \newcommand{\oslspec}{\osl{} specification}
12 \newcommand{\myfontsize}{12pt}
13 \newcommand{\smallerfontsize}{11pt}
14 \newcommand{\smallfontsize}{10pt}
15 \newcommand{\oslbaseurl}{\url{http://w3studi.informatik.uni-stuttgart.de/~martispp/ont\#}}
16 \newcommand{\oslheaderurl}{\url{http://w3studi.informatik.uni-stuttgart.de/~martispp/ont/db2osl.owl}}
17 %\newcommand{\spacebeforetable}{2em}
18 \newcommand{\itm}{\textbullet \ }
21 %\newcommand{\file}[1]{{\sffamily\slshape #1}}
22 \newcommand{\file}[1]{\textsf{#1}}
23 \newcommand{\name}[1]{\textsc{#1}}
24 \newcommand{\sbr}[1]{\texttt{#1}}
25 \newcommand{\var}[1]{\textsl{\texttt{#1}}}
26 \newcommand{\cmd}[1]{\uppercase{\texttt{#1}}}
27 \newcommand{\ind}{\hspace*{30pt}}
28 \newcommand{\code}[1]{\texttt{#1}}
29 \newcommand{\codepar}[1]{\begin{itemize}\item[]\code{#1}\end{itemize}\vspace{12pt}}
30 \newcommand{\fullref}[1]{\ref{#1} -- \nameref{#1}}
33 \documentclass[\myfontsize,a4paper,twoside=semi]{scrreprt}
34 %\documentclass[paper=a4,twoside,bibliography=totoc,cleardoublepage=empty,parskip=half,final]{scrbook} % Remember to comment in \backmatter!
35 \usepackage[utf8]{inputenc}
36 \usepackage[T1]{fontenc}
39 %\usepackage[hyperref,dvipsnames]{xcolor}
41 % Einstellungen bez. des 'scrreprt'-Stils
42 % Caption Schriftstil und -Groesse
43 \renewcommand{\capfont}{\footnotesize}
44 \renewcommand{\caplabelfont}{\footnotesize\bfseries}
45 \typearea{15} %Einstellung des Verh�ltnisses Gr��e des Textes zur Papiergr��e
46 %\renewcommand{\familydefault}{\sfdefault} % "moderne" Schrift
47 %\renewcommand{\headfont}{\normalfont\sf} % Kolumnentitel serifenlos
48 %\renewcommand{\pnumfont}{\normalfont\sffamily} % Seitennummern serifenlos
51 \usepackage[ngerman,english]{babel}
52 \selectlanguage{english}
53 \setlength{\parindent}{0pt}
55 \addto\extrasgerman{\renewcommand{\figurename}{Abb.}}
56 \addto\extrasgerman{\renewcommand{\tablename}{Tab.}}
62 \usepackage[rflt]{floatflt}
63 \usepackage{epsfig,wrapfig}
64 \usepackage{subcaption}
68 % Mathematische Symbole etc.
69 \usepackage{amsmath,amssymb}
70 \usepackage[binary-units=true,decimalsymbol=comma]{siunitx}
73 \usepackage{algpseudocode}
74 \usepackage{algorithm}
75 \usepackage{algorithmicx}
78 \usepackage{longtable,lscape}
84 \usepackage[automark,headsepline]{scrlayer-scrpage}
86 \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
87 \renewcommand{\sectionmark}[1]{\markboth{\thesection\ #1}{}}
88 \clearpairofpagestyles
89 \cfoot[\pagemark]{\pagemark}
92 \pagestyle{scrheadings}
93 %\usepackage[automark]{scrpage2}
94 %\renewcommand{\footnoterule}{}
95 %\addtolength{\skip\footins}{\baselineskip}
99 \setlength{\itemsep}{0ex}
100 \setlength{\parsep}{0ex}
101 \setlength{\parskip}{2mm}
104 \usepackage[style=alphabetic,maxnames=10,backref=true,block=space,backend=bibtex]{biblatex}
105 \setlength{\bibitemsep}{1em}
106 \bibliography{bibliography}
109 %\usepackage{appendix}
113 \usepackage{caption} % Always link to the top of a figure or table
114 \usepackage[]{hyperref} % Should be loaded last!
117 pdftitle={\mytitle{}},
118 pdfauthor={Logic and Intelligent Data research group, University of Oslo},
119 pdfsubject={Ontology-based data access (OBDA)},
120 pdfkeywords={Ontology, Database, Database access, Big data},
121 pdfpagelayout=TwoPageRight,
133 pdfpagemode=UseOutlines,
134 bookmarksnumbered=true,
142 % Seitennumerierung bis zum Beginn der Einleitung auf kleine roemische Zahlen setzen
143 \pagenumbering{roman}
146 \KOMAoption{fontsize}{\smallerfontsize{}}
150 Logic and Intelligent Data, \\
151 Department of Informatics, \\
152 University of Oslo \\[5ex]}
155 \KOMAoption{fontsize}{\myfontsize{}}
159 %\addcontentsline{toc}{chapter}{Abstract}
160 %\include{kurzfassung}
161 %\addcontentsline{toc}{chapter}{Kurzfassung}
165 %\addcontentsline{toc}{chapter}{Contents}
168 %\addcontentsline{toc}{chapter}{Nomenclature}
169 %\include{nomenclature}
173 %\addcontentsline{toc}{chapter}{List of figures}
177 \addcontentsline{toc}{chapter}{List of tables}
181 %\addcontentsline{toc}{chapter}{List of algorithms}
185 \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
186 \renewcommand{\sectionmark}[1]{\markboth{\thesection\ #1}{}}
188 % Seitennumerierung ab der folgenden Einleitung auf arabische Zahlen setzen
189 \pagenumbering{arabic}
192 %\include{introduction}
195 %\include{background}
197 % The OBDA Specification Language (OSL)
200 %% The db2osl software
206 %\backmatter % Only for the book document classes
210 %\addcontentsline{toc}{chapter}{Appendix}
212 % Bibliography bibtex (add pagebackref=true to hyperref options if desired)
213 %\bibliographystyle{alpha}
214 %\bibliography{bibliography}
215 %\addcontentsline{toc}{chapter}{Bibliography}
217 % Bibliography biblatex
219 \addcontentsline{toc}{chapter}{Bibliography}