% Default code style \lstset{ frame=single, captionpos=b, lineskip=0.5em, xleftmargin=\parindent, belowskip=0em } \lstdefinestyle{customStyleBashDark}{ language=Bash, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{255,255,255},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{33,36,33},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{153,153,153},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{143,217,68},%style of keywords in source language (e.g. keywordstyle=\color{red}) identifierstyle=\color[RGB]{101,197,222}, stringstyle=\color[RGB]{236,118,0},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=single,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} } \lstdefinestyle{customStyleBashLight}{ language=Bash, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{0,0,0},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{255,255,255},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{52,121,54},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{138,18,130},%style of keywords in source language (e.g. keywordstyle=\color{red}) identifierstyle=\color[RGB]{0,0,0}, stringstyle=\color[RGB]{0,0,192},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=shadowbox,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) rulesepcolor=\color{black}, xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} } \lstdefinestyle{customStyleJavaDark}{ language=Java, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{255,255,255},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{33,36,33},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{153,153,153},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{143,217,68},%style of keywords in source language (e.g. keywordstyle=\color{red}) identifierstyle=\color[RGB]{101,197,222}, stringstyle=\color[RGB]{236,118,0},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=single,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} } \lstdefinestyle{customStyleJavaLight}{ language=Java, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{0,0,0},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{255,255,255},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{52,121,54},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{138,18,130},%style of keywords in source language (e.g. keywordstyle=\color{red}) identifierstyle=\color[RGB]{0,0,0}, stringstyle=\color[RGB]{0,0,192},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=shadowbox,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) rulesepcolor=\color{black}, xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} } \lstdefinestyle{customStyleHTMLDark}{ language=HTML, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{255,255,255},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{33,36,33},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{153,153,153},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{143,217,68},%style of keywords in source language (e.g. keywordstyle=\color{red}) identifierstyle=\color[RGB]{101,197,222}, stringstyle=\color[RGB]{236,118,0},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=single,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, usekeywordsintag=false, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} } \lstdefinestyle{customStyleHTMLLight}{ language=HTML, numbers=left,%position of line numbers (left/right/none, i.e. no line numbers) basicstyle=\footnotesize\ttfamily\color[RGB]{0,0,0},%font size/family/etc. for source (e.g. basicstyle=\ttfamily\small) numberstyle=\color[RGB]{0,0,0},%style used for line-numbers backgroundcolor=\color[RGB]{255,255,255},%colour for the background. External color or xcolor package needed. commentstyle=\itshape\color[RGB]{52,121,54},%style of comments in source language. keywordstyle=\bfseries\color[RGB]{138,18,130},%style of keywords in source language (e.g. keywordstyle=\color{red}) stringstyle=\color[RGB]{0,0,238},%style of strings in source language belowcaptionskip=1\baselineskip,%is the vertical space respectively above or below each caption breaklines=true,%automatic line-breaking frame=shadowbox,%showing frame outside code (none/leftline/topline/bottomline/lines/single/shadowbox) rulesepcolor=\color{black}, xleftmargin=\parindent, showstringspaces=false, captionpos=b,%position of caption (t/b) showspaces=false,%emphasize spaces in code (true/false) showtabs=false,%emphasize tabulators in code (true/false) tabsize=4,%default tabsize lineskip=0.5em, usekeywordsintag=false, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{VioletBlue}\hookrightarrow\space}} }