|
|
- %Add here the packages, variables, definitions, environments and specific elements created only for your thesis
-
- % 1 Code listing setup
- %------------------
- \RequirePackage{listings}
- \newcaptionname{spanish}{\lstlistlistingname}{Sección de Códigos}
- \renewcommand{\lstlistingname}{Código}
- \renewcommand{\lstlistlistingname}{Códigos}
- \lstset{ frame=Ltb,
- framerule=0pt,
- aboveskip=0.2cm,
- framextopmargin=3pt,
- framexbottommargin=3pt,
- framexleftmargin=0.4cm,
- framesep=0pt,
- rulesep=.4pt,
- backgroundcolor=\color{gray97},
- rulesepcolor=\color{black},
- %
- stringstyle=\ttfamily,
- showstringspaces = false,
- %basicstyle=\small\ttfamily,
- %basicstyle=\small,
- commentstyle=\color{gray45}\ttfamily,
- keywordstyle=\bfseries,
- %
- numbers=left,
- numbersep=15pt,
- numberstyle=\tiny,
- numberfirstline = false,
- breaklines=true,
- }
-
|