mirror of
https://github.com/Relintai/elteikthesis.git
synced 2024-11-10 07:42:09 +01:00
Colorize strings in code examples.
This commit is contained in:
parent
90cbec0b1e
commit
d8acbb79cf
@ -181,6 +181,7 @@
|
||||
% Színek
|
||||
\definecolor{codebackg}{rgb}{0.95,0.95,0.95}
|
||||
\definecolor{codecomment}{rgb}{0,0.6,0}
|
||||
\definecolor{codestring}{rgb}{0.58,0,0.82}
|
||||
\colorlet{todobackg}{orange!10}
|
||||
% ------------------------------
|
||||
|
||||
@ -284,6 +285,7 @@
|
||||
backgroundcolor=\color{codebackg},
|
||||
keywordstyle=\color{blue},
|
||||
commentstyle=\color{codecomment},
|
||||
stringstyle=\color{codestring},
|
||||
stepnumber=1,
|
||||
firstnumber=1,
|
||||
numbersep=5pt,
|
||||
@ -295,8 +297,7 @@
|
||||
breakatwhitespace=false,
|
||||
float,
|
||||
frame=linesc,
|
||||
captionpos=b,
|
||||
morekeywords={var}
|
||||
captionpos=b
|
||||
}
|
||||
% Algoritmus kommentek jobb szélre igazítása
|
||||
\renewcommand{\algorithmiccomment}[1]{\hfill {\it #1}}
|
||||
|
Loading…
Reference in New Issue
Block a user