Files
modern-cpp-tutorial/pdf/meta/cpp-listings.tex
2018-04-10 12:18:05 +02:00

27 lines
641 B
TeX

\usepackage{xcolor}
\definecolor{keyword}{HTML}{BA2CA3}
\definecolor{string}{HTML}{D12F1B}
\definecolor{comment}{HTML}{008400}
\lstset{
basicstyle={\small\ttfamily},
keywordstyle={\color[rgb]{0.13,0.29,0.53}\bfseries},
breaklines=true,
emphstyle={\bfseries\color{Rhodamine}},
commentstyle={\color[rgb]{0.56,0.35,0.01}\itshape},
stringstyle={\color[rgb]{0.31,0.60,0.02}},
showstringspaces=false,
frame=shadowbox,
breakatwhitespace=false,
captionpos=b,
extendedchars=true,
keepspaces=true,
numbers=left,
numberstyle=\tiny,
rulecolor=\color{black},
rulesepcolor={\color{blue!20!white}},
showspaces=false,
}