Guest User

Untitled

a guest
Oct 22nd, 2019
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \usepackage{color}
  2. \usepackage[table]{xcolor}
  3. \usepackage{listings}
  4. \definecolor{darkWhite}{rgb}{0.94,0.94,0.94}
  5.  
  6. \lstset{
  7. backgroundcolor=\color{darkWhite},
  8. basicstyle=\normalsize\ttfamily,
  9. breakatwhitespace=false,
  10. breaklines=true,
  11. captionpos=b,
  12. commentstyle=\color{red},
  13. deletekeywords={...},
  14. escapeinside={\%*}{*)},
  15. extendedchars=true,
  16. framexleftmargin=5pt,
  17. framextopmargin=5pt,
  18. framexbottommargin=-5pt,
  19. frame=lines,
  20. keepspaces=true,
  21. keywordstyle=\color{blue},
  22. language=C,
  23. literate=
  24. {²}{{\textsuperscript{2}}}1
  25. {⁴}{{\textsuperscript{4}}}1
  26. {⁶}{{\textsuperscript{6}}}1
  27. {⁸}{{\textsuperscript{8}}}1
  28. {€}{{\euro{}}}1
  29. {é}{{\'e}}1
  30. {è}{{\`{e}}}1
  31. {ê}{{\^{e}}}1
  32. {ë}{{\¨{e}}}1
  33. {É}{{\'{E}}}1
  34. {Ê}{{\^{E}}}1
  35. {û}{{\^{u}}}1
  36. {ù}{{\`{u}}}1
  37. {â}{{\^{a}}}1
  38. {à}{{\`{a}}}1
  39. {á}{{\'{a}}}1
  40. {ã}{{\~{a}}}1
  41. {Á}{{\'{A}}}1
  42. {Â}{{\^{A}}}1
  43. {Ã}{{\~{A}}}1
  44. {ç}{{\c{c}}}1
  45. {Ç}{{\c{C}}}1
  46. {õ}{{\~{o}}}1
  47. {ó}{{\'{o}}}1
  48. {ô}{{\^{o}}}1
  49. {Õ}{{\~{O}}}1
  50. {Ó}{{\'{O}}}1
  51. {Ô}{{\^{O}}}1
  52. {î}{{\^{i}}}1
  53. {Î}{{\^{I}}}1
  54. {í}{{\'{i}}}1
  55. {Í}{{\~{Í}}}1,
  56. morekeywords={*,...},
  57. rulecolor=\color{black},
  58. showspaces=false,
  59. showstringspaces=false,
  60. showtabs=false,
  61. stepnumber=1,
  62. stringstyle=\color{gray},
  63. tabsize=4,
  64. title=\lstname,
  65. }
RAW Paste Data