diff --git a/misc/custom_preamble.tex b/misc/custom_preamble.tex index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..884b6716b0e299bf94f4967a0ade8b394d85dc9c 100644 --- a/misc/custom_preamble.tex +++ b/misc/custom_preamble.tex @@ -0,0 +1,21 @@ +% example of a custom listing language definition +\lstdefinelanguage{XML}{ + morestring=[b]", + moredelim=[s][\bfseries\color{upbblue}]{<}{\ }, + moredelim=[s][\bfseries\color{upbblue}]{</}{>}, + moredelim=[l][\bfseries\color{upbblue}]{/>}, + moredelim=[l][\bfseries\color{upbblue}]{>}, + morecomment=[s]{<?}{?>}, + morecomment=[s]{<!--}{-->}, + alsoletter={-:}, + identifierstyle=\color{upbdarkgreen}, + keywordstyle=\color{upbblue}, + stringstyle=\color{upborange}, + commentstyle=\color{upbgray}, +} + +\usepackage{todonotes} % provides the \todo command + +\usepackage{pifont} % defines some symbols http://ctan.org/pkg/pifont +\newcommand*{\cmark}{\ding{51}}% checkmark +\newcommand*{\xmark}{\ding{53}}% crossmark