% Note: Stand 21.08.2020

\lstdefinelanguage{lLatex}{
number suffixes={},
morecomment = [l]{\%},
keywordstyle = [5]\xlstGetStyle{command}, % for commands, in this case, as we dont have literals
add to literate={\\$}{{\$}}1 {\\$}{{\$}}1 {\\\%}{{\%}}1 {\\(}{{{\textcolor{xlst@colors@lst@keywordC}{\textbackslash(}}}}2 {\\)}{{{\textcolor{xlst@colors@lst@keywordC}{\textbackslash)}}}}2 {\\[}{{{\textcolor{xlst@colors@lst@keywordC}{\textbackslash[}}}}2 {\\]}{{{\textcolor{xlst@colors@lst@keywordC}{\textbackslash]}}}}2 {\\begin\{minted\}}{{{\xlstGet{command}{\textbackslash begin}\{\xlstGet{keywordC}{minted}\}}}}{14} {\\end\{minted\}}{{{\xlstGet{command}{\textbackslash end}\{\xlstGet{keywordC}{minted}\}}}}{12} {\\;}{{{\textcolor{xlst@colors@lst@keywordA}{\textbackslash;}}}}2 {scrlayer-scrpage}{{{\xlstGet{highlight}{scrlayer-scrpage}}}}{16} {sopra-base}{{{\xlstGet{highlight}{sopra-base}}}}{10} {sopra-paper}{{{\xlstGet{highlight}{sopra-paper}}}}{11} {sopra-documentation}{{{\xlstGet{highlight}{sopra-documentation}}}}{19} {sopra-models}{{{\xlstGet{highlight}{sopra-models}}}}{12} {sopra-attachments}{{{\xlstGet{highlight}{sopra-attachments}}}}{17} {sopra-requirements}{{{\xlstGet{highlight}{sopra-requirements}}}}{18} {sopra-listings}{{{\xlstGet{highlight}{sopra-listings}}}}{14} {sopra-seraphim}{{{\xlstGet{highlight}{sopra-seraphim}}}}{14} {sopra-changelog}{{{\xlstGet{highlight}{sopra-changelog}}}}{15} {sopra-tables}{{{\xlstGet{highlight}{sopra-tables}}}}{12} {sopra-standard}{{{\xlstGet{highlight}{sopra-standard}}}}{14},
alsoletter={\\\#@*},
moredelim=**[is][{\xlsthlboxd{\xlstcustom}}]{|custom|}{|custom|},
moredelim=[is][]{|plain|}{|plain|},
moredelim=[is][\xlstGetStyle{highlight}]{|ihl|}{|ihl|},
% moredelim=**[s][{\color{bondiBlue}}]{$$}{$$},
% moredelim=**[s][{\color{bondiBlue}}]{$}{$},
% moredelim=**[s][{\color{bondiBlue}}]{\\(}{\\)},
% moredelim=**[s][{\color{bondiBlue}}]{\\[}{\\]},
%deletekeywords=[5]{\\},
escapeinside={!*}{*!},
morekeywords = [5]{\\\\,\\documentclass,documentclass,\\usepackage,\\setLinkColor,\\lpage,\\If,\\thepage,\\Switch,\\Case,\\begin,\\ifthenelse,\\silentHmark,\\end,\\input,\\NewTimeTable,\\tcc,\\tcp,\\PresentTimeTable,\\caption,\\true,\\FALSE,\\elable,\\pageref,\\nameref,\\rotateRPY,\\node,\\RenewTColorBox,\\STATE,\\state,\\duck,\\pgfmathsetmacro,\\\\dodraw,\\xoff,\\dopacity,\\layer,\\scalefactor,\\hypersetup,\\url,\\setpfirst,\\ifirst,\\linegrad,\\doydraw,\\shading,\\rndsymb,\\scalebox,\\RndChinese,\\xoff,\\dodraw,\\col,\\breakforeach,\\sffamily,\\jmark,\\hmark,\\yoff,\\listoffigures,\\stepfirst,\\nodetarcol,\\listofDEFS,\\clearpage,\\codierscheibe,\\Psi,\\Chi,\\KwOut,\\Omega,\\psi,\\omega,\\Pi,\\Rho,\\rho,\\lambda,\\Lambda,\\cA,\\cAname,\\cAadj,\\Else,\\ihead,\\chead,\\ohead,\\ifoot,\\cfoot,\\ofoot,\\clearscrheadfoot,\\clearpairofpagestyles,\\pagemark,\\leftmark,\\rightmark,\\pagestyle,\\fancyhead,\\fancyfoot,\\fancyhf,\\newgeometry,\\marginpar,\\blindtext,\\newcommand*,\\renewcommand*,\\DeclareFloatingEnvironment,\\newlength,\\newdimen,\\pgfmathparse,\\listoftables,%
\\newpage,\\linput,\\include,\\linclude,\\inputUB,\\draw,\\vfill,\\plotline,\\plotseq,\\graphPOI,\\renewenvironment,\\loopTop,\\loopRight,\\loopBot,\\loopLeft,\\tcbset,\\DeclareTColorBox,\\label,\\autoref,\\textbf,\\textsc,\\specialrule,\\hfill,\\textwidth,\\VRule,\\value,\\hyperref,\\tcboxedtitleheight,\\ifthenelse,\\equal,\\bfseries,\\path,\\definecolor,\\toprule,\\hspace,\\midrule,\\bottomrule,\\linewidth,\\arraybackslash,\\centering,\\foreach,\\renewcommand,\\getGraphics,getGraphics,\\framebox,\\vSplitter,\\item,\\xmark,\\ymark,\\ldots,\\psi,\\xi,\\chi,\\ProgressBar,%
\\constructList,\\pushList,\\popList,\\clatex,\\igepard,\\newline,\\containsList,\\left,\\right,\\middle,\\addplot3,\\PgetXY,\\PgetY,\\PgetX,\\neuronSquare,\\registerColors,\\Acronym,\\@Acronym,\\lstdefinelanguage,\\lstset,\\lstnewenvironment,\\thetcbcounter,\\fontsize,\\abstractMarginBox,\\sum,\\infty,\\pm,\\prod,\\sqrt,\\frac,\\lim,\\to,\\StartCode,\\KwData,\\KwResult,\\subset,\\StartCode,\\;,\\While,\\If,\\Comment,\\For,\\eIf,\\dist,\\hline,\\newcolumntype,\\raggedleft,\\subseteq,\\min,\\cdots,%
\\TextBfFormat,\\newcommand,\\blankcmd,\\textcolor,\\textbackslash,\\baselineskip,\\binom,\\paragraph,\\ilatex,\\ignorespaces,\\NoFormatChar,\\@Alph,\\typesetList,\\exp,\\lim,\\expandafter,\\enquote,\\isLanguageLoaded,\\cpython,\\bpython,\\ccpp,\\bcpp,\\verb,\\section,\\section*,\\subsection*,\\chapter*,\\chapter,\\subsection,\\subsubsection,\\smallskip,\\medskip,\\bigskip,\\smallskip\\newline,\\medskip\\newline,\\bigskip\\newline,\\cjava,\\bjava,\\pjava,\\getGraphics,\\lstkwone,\\xlstGet,\\lstkwthree,\\lstkwfour,\\lstkwfive,\\lstkwsix,\\lststring,\\lstcomment,\\lstnumber,\\clearrow,\\headerrow,\\headerrow*,\\forall,\\in,\\exists,\\gets,%
\\arabic,\\isLanguageNameLoaded,\\lstshowcmd,\\getPrerendered,\\pcpp,\\NewEmblem,\\infoEmblem,\\NewInfoBox,\\dateBox,\\pi,\\userput,\\newcounter,\\setcounter,\\doublealph,\\mathbb,\\mathcal,\\TypesetList,\\BinaryArray,%
\\warningEmblem,\\errorEmblem,\\mathEmblem,\\codeEmblem,\\textEmblem,\\btextEmblem,\\DefaultBaseEmblem,\\mathbf,\\lipsum,\\RegisterLanguage,\\hypertarget,\\T,\\pgfkeysvalueof,\\noexpand,\\leavevmode,\\csname,\\endcsname,\\textit,\\PickRandom,\\colvec,\\minicolvec,\\say,\\let,\\firstcircle,\\secondcircle,\\thirdcircle,\\bigcircle,\\setrow,\\itshape,\\makeatletter,\\makeatother,\\usetheme,\\narrowitems,\\setname,\\colorprofile,\\setemail,\\setwebsite,\\setimage,\\setphone,\\setlocation,\\addskill,\\addskilltext,\\StartApplication,\\href,\\ref,\\displaystyle,\\addbibresource,\\printbibliography,\\cite,%
\\makerenewglobal,\\lreqn,\\makerenewlocal,\\newenvironment,\\tiny,\\makeenvglobal,\\RandomInt,\\engl,\\rom,\\dispnote,\\note,\\colorlet,\\snote,\\case,\\default,\\OrnamentsBoxTitle,\\OrnamentsUpper,\\OrnamentsLower,\\cheaderrow,\\normalrow,\\smallrow,\\footnotesizerow,\\scriptsizerow,\\tinyrow,\\tabreset,\\tabprint,\\etabadd,\\tabadd,\\tabforeach,\\obeylines,\\subduelines,\\singlequote,\\smallNumber,\\PersonAlias,\\PersonName,\\PersonFullName,\\CreateNewPerson,\\ShowPerson,\\ShowPersonTag,\\attachfile,%
\\imp,\\<,\\>,\\mto,\\reg,\\customex,\\kw,\\sw,\\sr,\\startAppendix,\\showcase,\\emph,\\blinddocument,\\TableOfContents,\\SetPartFlavour,\\printMiniToc,\\Hcolor,\\part,\\textsl,\\resizebox,\\rectat,\\crectat,\\paperwidth,\\tikz,\\MonthToName,\\@Session,\\@Session@End,\\CreateNewFileType,\\CreateNewFolderType,\\setprice,\\setquote,\\seteffects,\\closeritems,\\scriptsize,\\tableofcontents,\\includegraphics,\\alpha,\\beta,\\gamma,\\Alpha,\\Beta,\\Gamma,\\today,\\xlstGetStyle,\\setTargetVersion,\\mathcolor,%
\\leq,\\geq,\\land,\\neq,\\lor,\\cap,\\cup,\\emptyset,\\theta,\\allowdisplaybreaks,\\UEBUNGSHEADER,\\applicationset,\\lceil,\\tau,\\rceil,\\KwIn,\\DeclareRobustCommand,\\providedef,\\KwTo,\\setlength,\\itemsep,\\selectfont,\\entity,\\relation,\\attribute,\\kattribute,\\filldraw,\\par,\\parindent,\\bmod,\\sign,\\progressbar,\\CreateCardGame,\\CardFan,\\CardBoard,\\text,\\cdot,\\title,\\author,\\texttt,\\and,\\sin,%
\\settitle,\\setheading,\\setsubheading,\\setauthor,\\setsubtitle,\\setdate,\\setresourcepath,\\setbrief,\\settitleimage,\\lstinputlisting,\\setTitle,\\setDescription,\\setJustification,\\setDependencies,\\setPriority,\\xlstLoadLanguage,\\preqref,\\pref,\\lstinline,\\settitlewidth,\\setlogoimage,\\setsignature,\\setsignatureDarker,\\date,\\maketitle,\\alph*,\\Roman*,\\color,\\ttfamily,\\lstdefinestyle,\\oe,\\OE,\\ae,\\AE,\\ss,\\H,\\euro,\\pounds,\\guillemotleft,\\guillemotright,\\newlist,\\setlist},
morekeywords = [3]{pmatrix,tabular,tabular*,session,requirement,requirements,telegram,tikzpicture,graph,mtable,mltable,cases,matrix,itemize,enumerate,mtabular,mltabular,wgraph,plot,frame,aufgaben,algorithm,slatex,grid,scope,minipage,enumeratea,document,latex,axis,version,equation,equation*,align*,align,alignat,alignat*,lstlisting,quote,figure,table,quotes,quotes*,plainjava,plainlatex,sjava,tikzternal,center,application,block,timeline,event,bulletpoints,lstplain,cpp,java,lstnonum,multicols,ditemize,presentlst,switch,description},
morekeywords = [4]{},
morekeywords = [7]{\#1,\#2,\#3,\#4,\#5,\#6,\#7,\#8,\#9},
alsoother={!,"_^},
}

\RegisterLanguage{latex}{lLatex}