-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlstset.tex
52 lines (48 loc) · 1.02 KB
/
lstset.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
\renewcommand*{\ttdefault}{lmtt}
\definecolor{darkgreen}{rgb}{0,.5,0}
\lstset{
inputencoding=utf8,
basicstyle=\ttfamily,
breakatwhitespace=false,
breaklines=true,
commentstyle=\color{gray},
escapeinside={\%*}{*)},
extendedchars=true,
keywordstyle=\color{blue},
language=c,
columns=flexible,
showspaces=false,
showstringspaces=false,
showtabs=false,
stringstyle=\color{darkgreen},
numberstyle=\color{gray}
tabsize=2,
morekeywords={printf,bash,chmod,expr,cp},
literate=%
{é}{{\'{e}}}1
{è}{{\`{e}}}1
{ê}{{\^{e}}}1
{ë}{{\¨{e}}}1
{É}{{\'{E}}}1
{Ê}{{\^{E}}}1
{û}{{\^{u}}}1
{ù}{{\`{u}}}1
{â}{{\^{a}}}1
{à}{{\`{a}}}1
{á}{{\'{a}}}1
{ã}{{\~{a}}}1
{Á}{{\'{A}}}1
{Â}{{\^{A}}}1
{Ã}{{\~{A}}}1
{ç}{{\c{c}}}1
{Ç}{{\c{C}}}1
{õ}{{\~{o}}}1
{ó}{{\'{o}}}1
{ô}{{\^{o}}}1
{Õ}{{\~{O}}}1
{Ó}{{\'{O}}}1
{Ô}{{\^{O}}}1
{î}{{\^{i}}}1
{Î}{{\^{I}}}1
{í}{{\'{i}}}1
}