This template is in development. It's based on Luca Vazzano's template and it's customized for use at DB Systel (it does not correspond to the DB Cooperate Design).
Please use XeLaTeX or LuaLaTex for building.
- all formal layout-properties of the document are in accordance to the requirements given by the Technical Faculty of DHBW Mannheim.
- Titlepages for Internship Reports, Study Reports and Bachelor Thesis in accordance to these requirements included
- Fully customizable coloring
- Easy switching between the (default) english and german version of the document
- inside
./setup.tex:- choose the type of your Report
- choose your prefered Theme (DB Systel or DB default)
- choose if you want to use the DB Font (have to be added by yourself - you can find instructions for that below)
- choose if you want to write your report in english or german
- fill out the fields for your informations
- places the entries for your bibliography into
./resources/references.bib - place the
.tex-files containing your content into./contentand define the structure of your content inside./content/structure.tex - fill your acronyms and custom macros as needed into
./content/acronyms.texand./content/macros.tex - save your image files into
./resources- you can then use them easily by just referencing
\includegraphics{asdf}if you saved your file at./resources/asdf.png
- you can then use them easily by just referencing
The DB Fonts aren't included in this Repository, so you have to add them by yourself.
- Create a new directory
./lib/fonts/db/ - Add the font DB Sans as Truetypefont in the Styles:
- regular:
DB_Sans.ttf - bold:
DB_Sans_Bold.tff - italic:
DB_Sans_Italic.tff - bold italic:
DB_Sans_Bold_Italic.tff
- regular:
- Add the font DB Head as Truetypefont in the Styles:
- regular:
DB_Head.ttf - black:
DB_Head_Black.tff - italic:
DB_Head_Italic.tff - black italic:
DB_Head_Black_Italic.tff
- regular:
- Activate DbFont in
./setup.texby removing the%Symbol in front ofDbFontin theusepackagesection
Note: <asdf> inside the general code denotes a placeholder
\begin{stripedacenttable}
{<caption>}
{\label{tab:<label>}}
{<formating>}
{<Headings-Content>}
<row definitions>
\end{stripedacenttable}
\begin{stripedtable}
{<caption>}
{\label{tab:<label>}}
{<coloring>}
{<formating>}
{<Headings-Content>}
<row definitions>
\end{stripedtable}- needs to be enclosed inside
\labelto keep the auto-completion functionality of your editor working correctly - formating should have the form
x^x^x^...wherexspecifies the alignment for the column- possible aligments:
l: left-aligned ,c: centered ,r: right-aligned
- possible aligments:
Example (with captions):
\begin{stripedacenttable} {A plain but nice looking table} {\label{tab:ex1}} {c^l^l} {Quarter & asdf & foobar} prev. Year & 42 & 17 \ Q1 & -3 & -7 \ Q2 & +7 & -1 \ Q3 & -4 & +12 \ Q4 & +2 & +2 \ \end{stripedacenttable}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
\begin{stripedtable} {A colorful, nice looking table} {\label{tab:ex1}} {Green} {c^l^l} {Quarter & asdf & foobar} prev. Year & 42 & 17 \ Q1 & -3 & -7 \ Q2 & +7 & -1 \ Q3 & -4 & +12 \ Q4 & +2 & +2 \ \end{stripedtable}
> <img alt="Tables" src="http://i.imgur.com/8FzhRYr.png" width="65%">
#### Code Listings
```Latex
\begin{lstlisting}[
caption={<description of your program>}
\label{lst:<label>},
captionpos=b,
language=<language-name>
]
<your code>
\end{lstlisting}
Example:
\begin{lstlisting}[ caption={The Classic, realized in Python} \label{lst:python1}, captionpos=b, language=Python ]
hi = "Hello Wolrd" print(hi) \end{lstlisting}
> <img alt="Code Lisitng" src="http://i.imgur.com/8zXqzOZ.png" width="70%">
#### Citations in the Footnotes
````Latex
\footnotecite{<source-reference>}
\incompletemarker{<note>}
```
> <img alt="Code Lisitng" src="http://i.imgur.com/eSQSoao.png" width="40%">
#### Prevent Pagebreaks absolutely, definitively
```Latex
\begin{absolutelynopagebreak}
<content>
\end{absolutelynopagebreak}
```
---
## Contributing
I'm open for all forks, feedback and Pull Requests ;)
