ajout exemple coloration code C avec lstlistings.

This commit is contained in:
random-toto@localhost 2016-06-14 14:33:36 +02:00
parent e32eca2ca0
commit 9dc7bc0eb1
1 changed files with 22 additions and 0 deletions

View File

@ -65,6 +65,28 @@
% columns=fullflexible
%}
%\lstset{language=C,
% columns=fullflexible,
% basicstyle=\ttfamily\small,
% basicstyle=\ttfamily\footnotesize,
% keywordstyle=\color{blue}\ttfamily,
% emph=[1]{ssize_t,for,uint_8,uint_16,wchar_t},
% emphstyle=[1]{\color{blue}\bfseries},
% emph=[2]{true,false,bool},
% emphstyle=[2]{\color{purple}\bfseries},
% emph=[3]{strcpy,sprintf,gets,strcat,lstrcat,scanf,strlen,atoi,atof,atol,getwd,realpath},
% emphstyle=[3]{\color{YellowOrange}\bfseries},
% stringstyle=\color{red}\ttfamily,
% commentstyle=\color{Green}\ttfamily,
% showstringspaces=false
% extendedchars=true,
% literate={á}{{\'a}}1 {ã}{{\~a}}1 {é}{{\'e}}1 {è}{{\`e}}1 {à}{{\`a}}1 {î}{{\^i}}1,
% keepspaces=true,
% captionpos=b,
% frame=single,
%}
% save footnotes
\makesavenoteenv{tabular}