You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 line
4.8KB

  1. \input{wasora}
  2. \input{fino}
  3. \definecolor{was_keyword1}{rgb}{0.0,0.0,0.4}
  4. \definecolor{was_keyword2}{rgb}{0.0,0.2,0.0}
  5. \definecolor{was_variable}{rgb}{0.5,0.2,0.2}
  6. \definecolor{was_function}{rgb}{0.2,0.5,0.2}
  7. \definecolor{was_comment}{rgb}{0.5,0.5,0.5}
  8. \definecolor{bash_keyword1}{rgb}{0.2,0.2,0.2}
  9. \definecolor{bash_keyword2}{rgb}{0.7,0.7,0.7}
  10. \definecolor{bash_comment}{rgb}{0.5,0.5,0.5}
  11. \definecolor{was_fondo}{rgb}{0.95,0.95,0.90}
  12. \definecolor{fino_fondo}{rgb}{0.95,0.90,0.95}
  13. \definecolor{octave_fondo}{rgb}{0.90,0.95,0.90}
  14. \definecolor{gmsh_fondo}{rgb}{0.90,0.90,0.95}
  15. \definecolor{terminal_fondo}{rgb}{0.95,0.95,0.95}
  16. \definecolor{bash_fondo}{rgb}{0.90,0.90,0.90}
  17. % \newcommand{\MyHookSign}{\hbox{\ensuremath{\hookleftarrow}}}
  18. \lstdefinestyle{wasora}{
  19. language=wasora,
  20. basicstyle=\ttfamily\footnotesize,
  21. commentstyle={\color{was_comment}\normalfont\textit},
  22. keywordstyle=[1]{\color{was_keyword1}\ttfamily\textbf},
  23. keywordstyle=[2]{\color{was_keyword2}\ttfamily\textbf},
  24. keywordstyle=[3]{\color{was_variable}\textit},
  25. keywordstyle=[4]{\color{was_function}\textbf},
  26. backgroundcolor=\color{was_fondo},
  27. showstringspaces=true,
  28. breaklines=true,
  29. breakatwhitespace=true,
  30. % prebreak={\space\MyHookSign},
  31. lineskip=-1pt,
  32. captionpos=b,
  33. % numbers=left,
  34. % stepnumber=5,
  35. xleftmargin=0.2cm,
  36. xrightmargin=0.4cm,
  37. framesep=0.1cm,
  38. frame=single,
  39. }
  40. \lstdefinestyle{fino}{
  41. language=wasora,
  42. basicstyle=\ttfamily\footnotesize,
  43. commentstyle={\color{was_comment}\normalfont\textit},
  44. keywordstyle=[1]{\color{was_keyword1}\ttfamily\textbf},
  45. keywordstyle=[2]{\color{was_keyword2}\ttfamily\textbf},
  46. backgroundcolor=\color{fino_fondo},
  47. showstringspaces=true,
  48. breaklines=true,
  49. breakatwhitespace=true,
  50. % prebreak={\space\MyHookSign},
  51. lineskip=-1pt,
  52. captionpos=b,
  53. % numbers=left,
  54. % stepnumber=5,
  55. xleftmargin=0.2cm,
  56. xrightmargin=0.4cm,
  57. framesep=0.1cm,
  58. frame=single,
  59. }
  60. \lstdefinestyle{bash}{
  61. language=bash,
  62. basicstyle=\ttfamily\footnotesize,
  63. commentstyle={\color{bash_comment}\normalfont\textit},
  64. keywordstyle=[1]{\color{bash_keyword1}\ttfamily\textbf},
  65. keywordstyle=[2]{\color{bash_keyword2}\ttfamily\textbf},
  66. backgroundcolor=\color{bash_fondo},
  67. showstringspaces=true,
  68. breaklines=true,
  69. breakatwhitespace=true,
  70. % prebreak={\space\MyHookSign},
  71. lineskip=-1pt,
  72. captionpos=b,
  73. % numbers=left,
  74. % stepnumber=5,
  75. xleftmargin=0.2cm,
  76. xrightmargin=0.2cm,
  77. framesep=0.2cm,
  78. frame=single,
  79. }
  80. \lstdefinestyle{terminal}{
  81. language=,
  82. basicstyle=\ttfamily\footnotesize,
  83. backgroundcolor=\color{terminal_fondo},
  84. breaklines=true,
  85. % prebreak={\space\MyHookSign},
  86. xleftmargin=0.2cm,
  87. xrightmargin=0.2cm,
  88. framesep=0.2cm,
  89. frame=single,
  90. }
  91. \lstdefinestyle{gmsh}{
  92. language=C,
  93. basicstyle=\ttfamily\footnotesize,
  94. commentstyle={\color{was_comment}\normalfont\textit},
  95. keywordstyle=[1]{\color{was_keyword1}\ttfamily\textbf},
  96. keywordstyle=[2]{\color{was_keyword2}\ttfamily\textbf},
  97. keywordstyle=[3]{\color{was_variable}\textit},
  98. keywordstyle=[4]{\color{was_function}\textbf},
  99. backgroundcolor=\color{gmsh_fondo},
  100. showstringspaces=true,
  101. breaklines=true,
  102. breakatwhitespace=true,
  103. % prebreak={\space\MyHookSign},
  104. lineskip=-1pt,
  105. captionpos=b,
  106. % numbers=left,
  107. % stepnumber=5,
  108. xleftmargin=0.2cm,
  109. xrightmargin=0.4cm,
  110. framesep=0.1cm,
  111. frame=single,
  112. }
  113. \lstdefinestyle{octave}{
  114. language=octave,
  115. basicstyle=\ttfamily\footnotesize,
  116. commentstyle={\color{was_comment}\normalfont\textit},
  117. keywordstyle=[1]{\color{was_keyword1}\ttfamily\textbf},
  118. keywordstyle=[2]{\color{was_keyword2}\ttfamily\textbf},
  119. keywordstyle=[3]{\color{was_variable}\textit},
  120. keywordstyle=[4]{\color{was_function}\textbf},
  121. backgroundcolor=\color{octave_fondo},
  122. showstringspaces=true,
  123. breaklines=true,
  124. breakatwhitespace=true,
  125. % prebreak={\space\MyHookSign},
  126. lineskip=-1pt,
  127. captionpos=b,
  128. % numbers=left,
  129. % stepnumber=5,
  130. xleftmargin=0.2cm,
  131. xrightmargin=0.4cm,
  132. framesep=0.1cm,
  133. frame=single,
  134. }