code source avec couleur, copiable
This commit is contained in:
@@ -51,6 +51,19 @@
|
|||||||
|
|
||||||
% listings : \begin,end : lstlisting in blue
|
% listings : \begin,end : lstlisting in blue
|
||||||
\lstset{basicstyle=\ttfamily\color{blue}}
|
\lstset{basicstyle=\ttfamily\color{blue}}
|
||||||
|
% lstlistings pour du code :
|
||||||
|
%\lstset{language=C++,
|
||||||
|
% basicstyle=\ttfamily\small,
|
||||||
|
% keywordstyle=\color{blue}\ttfamily,
|
||||||
|
% stringstyle=\color{red}\ttfamily,
|
||||||
|
% commentstyle=\color{green}\ttfamily,
|
||||||
|
% morecomment=[l][\color{magenta}]{\#},
|
||||||
|
% showstringspaces=false
|
||||||
|
% inputencoding=utf8,
|
||||||
|
% extendedchars=true,
|
||||||
|
% literate={á}{{\'a}}1 {ã}{{\~a}}1 {é}{{\'e}}1 {è}{{\`e}}1,
|
||||||
|
% columns=fullflexible
|
||||||
|
%}
|
||||||
|
|
||||||
% save footnotes
|
% save footnotes
|
||||||
\makesavenoteenv{tabular}
|
\makesavenoteenv{tabular}
|
||||||
|
|||||||
Reference in New Issue
Block a user