mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
see #6: pdf for english version
This commit is contained in:
26
pdf/en-us/meta/cpp-listings.tex
Normal file
26
pdf/en-us/meta/cpp-listings.tex
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
\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,
|
||||
}
|
||||
Reference in New Issue
Block a user