Updated template
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
%! Author = soeichho
|
||||
%! Date = 20.11.2020
|
||||
|
||||
% PDF version
|
||||
\special{pdf:minorversion 7}
|
||||
|
||||
% Text style
|
||||
\setmainfont{\mainFont}
|
||||
\setstretch{\lineStretchValue} % Space between lines
|
||||
@@ -66,6 +69,20 @@
|
||||
morecomment=[l]{:"},
|
||||
}
|
||||
|
||||
\lstdefinelanguage{XML}
|
||||
{
|
||||
morestring=[b]",
|
||||
morecomment=[s]{<?}{?>},
|
||||
morecomment=[s]{<!--}{-->},
|
||||
commentstyle=\color{darkolivegreen},
|
||||
moredelim=[s][\color{black}]{>}{<},
|
||||
stringstyle=\color{blue},
|
||||
identifierstyle=\color{brown},
|
||||
keywordstyle=\color{red},
|
||||
rulecolor=\color{black},
|
||||
morekeywords={xmlns, version, type, Algorithm, URI, Id, Target}% list your attributes here
|
||||
}
|
||||
|
||||
\lstdefinelanguage{JavaScript}{
|
||||
keywords={const, let, typeof, instanceof, new, true, false, catch, function, return, null, undefined, catch, switch, var, if, in, while, for, do, else, case, default, break},
|
||||
ndkeywords={class, export, throw, import, this},
|
||||
@@ -77,6 +94,15 @@
|
||||
morestring=[b]"
|
||||
}
|
||||
|
||||
\lstdefinelanguage{CSS}{
|
||||
morekeywords={color,background,margin,padding,margin,padding,font,weight,display,position,top,left,right,bottom,list,style,border,size,white,space,min,width,transition},
|
||||
sensitive=false,
|
||||
morecomment=[l]{//},
|
||||
morecomment=[s]{/*}{*/},
|
||||
morestring=[b]",
|
||||
}
|
||||
|
||||
|
||||
% Float listings
|
||||
\newfloat{lstfloat}{htbp}{lop}
|
||||
\floatname{lstfloat}{Listing}
|
||||
|
@@ -7,12 +7,12 @@
|
||||
|
||||
% Style variables
|
||||
%! IMPORTANT: The font size needs to be changed after the \begin{document} block in your main.tex
|
||||
% \newcommand{\mainFont}{TeleNeo Office} % Whatever font you want to use, needs to be installed on your computer
|
||||
\newcommand{\mainFont}{Ubuntu}
|
||||
\newcommand{\mainFont}{TeleNeo Office} % Whatever font you want to use, needs to be installed on your computer
|
||||
%\newcommand{\mainFont}{Ubuntu}
|
||||
\newcommand{\lineStretchValue}{1.5}
|
||||
\newcommand{\coverSheetImages}{
|
||||
\includegraphics[width=0.4\textwidth]{images/dhbw-stuttgart}\hspace{1 cm}
|
||||
\includegraphics[width=0.4\textwidth]{images/TSY-transparent}
|
||||
\includegraphics[width=0.45\textwidth]{images/dhbw-stuttgart}\hspace{1 cm}
|
||||
\includegraphics[width=0.35\textwidth]{images/TSO_Logo}
|
||||
}
|
||||
|
||||
% Colors
|
||||
|
Reference in New Issue
Block a user