code source avec couleur, copiable
This commit is contained in:
parent
ee6c998099
commit
e32eca2ca0
|
@ -51,6 +51,19 @@
|
|||
|
||||
% listings : \begin,end : lstlisting in 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
|
||||
\makesavenoteenv{tabular}
|
||||
|
|
Loading…
Reference in New Issue