Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. RequirePackage[utf8]{inputenc}
  2. RequirePackage[T1]{fontenc}
  3. RequirePackage{lmodern,textcomp}
  4. RequirePackage{microtype}
  5. RequirePackage[ngerman]{babel}
  6. RequirePackage{ae,pifont}
  7. Requirepackage{courier}
  8.  
  9. % ...
  10.  
  11. usepackage{listings}
  12. lstloadlanguages{
  13. [Visual]Basic,
  14. Pascal,
  15. C,
  16. [ISO]C++,
  17. XML,
  18. HTML,
  19. Java,
  20. bash
  21. }
  22. lstset{
  23. breakatwhitespace=false,
  24. upquote=true,
  25. keepspaces=true,
  26. language=Java,
  27. numbers=none,
  28. numbersep=5pt,
  29. tabsize=2,
  30. extendedchars=true,
  31. breaklines=true,
  32. basicstyle=scriptsizettfamilycolor{basicStyleColor},
  33. identifierstyle=color{identifierStyleColor},
  34. keywordstyle=[1]color{keywordStyle1Color},
  35. keywordstyle=[2]color{keywordStyle2Color},
  36. keywordstyle=[3]color{keywordStyle3Color},
  37. stringstyle=color{stringStyleColor},
  38. commentstyle=itshapecolor{commentStyleColor},
  39. numberstyle=tinycolor{commentStyleColor},
  40. rulecolor=color{black},
  41. showspaces=false,
  42. showtabs=false,
  43. xleftmargin=17pt,
  44. frame=none,
  45. framexleftmargin=17pt,
  46. %framexrightmargin=5pt,
  47. framexbottommargin=4pt,
  48. %backgroundcolor=color{lightgray},
  49. showstringspaces=false,
  50. {á}{{'a}}1 {é}{{'e}}1 {í}{{'i}}1 {ó}{{'o}}1 {ú}{{'u}}1
  51. {Á}{{'A}}1 {É}{{'E}}1 {Í}{{'I}}1 {Ó}{{'O}}1 {Ú}{{'U}}1
  52. {à}{{`a}}1 {è}{{`e}}1 {ì}{{`i}}1 {ò}{{`o}}1 {ù}{{`u}}1
  53. {À}{{`A}}1 {È}{{'E}}1 {Ì}{{`I}}1 {Ò}{{`O}}1 {Ù}{{`U}}1
  54. {ä}{{"a}}1 {ë}{{"e}}1 {ï}{{"i}}1 {ö}{{"o}}1 {ü}{{"u}}1
  55. {Ä}{{"A}}1 {Ë}{{"E}}1 {Ï}{{"I}}1 {Ö}{{"O}}1 {Ü}{{"U}}1
  56. {â}{{^a}}1 {ê}{{^e}}1 {î}{{^i}}1 {ô}{{^o}}1 {û}{{^u}}1
  57. {Â}{{^A}}1 {Ê}{{^E}}1 {Î}{{^I}}1 {Ô}{{^O}}1 {Û}{{^U}}1
  58. {œ}{{oe}}1 {Œ}{{OE}}1 {æ}{{ae}}1 {Æ}{{AE}}1 {ß}{{ss}}1
  59. {ű}{{H{u}}}1 {Ű}{{H{U}}}1 {ő}{{H{o}}}1 {Ő}{{H{O}}}1
  60. {ç}{{c c}}1 {Ç}{{c C}}1 {ø}{{o}}1 {å}{{r a}}1 {Å}{{r A}}1
  61. {€}{{euro}}1 {£}{{pounds}}1 {«}{{guillemotleft}}1
  62. {»}{{guillemotright}}1 {ñ}{{~n}}1 {Ñ}{{~N}}1 {¿}{{?`}}1
  63. {€}{{texteuro}}1
  64. }
  65.  
  66. documentclass[12pt]{mystyle}
  67.  
  68. usepackage{ulem}
  69. usepackage{enumerate}
  70.  
  71. begin{document}
  72. sloppy
  73.  
  74. begin{lstlisting}
  75. import akka.actor.{ActorSystem, Props}
  76.  
  77. object Main extends App {
  78. }
  79. end{lstlisting}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement