Advertisement
argui

UPM_master_template_espanol

Mar 18th, 2024
1,125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 3.21 KB | None | 0 0
  1. % --------------------------
  2. % CREDITS:
  3. % This template is based and basically an adaptation of UPM_thesis_template_en template:
  4. % https://www.overleaf.com/latex/templates/upm-thesis-template-en/nzjnspqsxfmm
  5. % All credits for the template to the author: MAría Blanco (UPM)
  6. % --------------------------
  7.  
  8. % --------------------------
  9. % Document class
  10. % --------------------------
  11. \documentclass[
  12. A4paper,                % Tamaño del papel A4
  13. twoside,                % A una columna o a dos
  14. openright,              % Los capítulos y secciones empiezan siempre a la derecha
  15. chapterprefix=true,     % Añade un prefijo a los títulos
  16. 12pt,                   % Tamaño de fuente
  17. headings=normal,        % Tamaño de las cabeceras
  18. titlepage=on            % Separa las páginas con título
  19. ]{book}
  20.  
  21. % **************************************************
  22. % THESIS details
  23. % **************************************************
  24.  
  25. \newcommand{\University}{\protect{Universidad Polit\'ecnica de Madrid}}
  26. \newcommand{\UNIVERSITY}{\protect{UNIVERSIDAD POLIT\'ECNICA DE MADRID}}
  27.  
  28. \input{thesisDetails}
  29.  
  30. % **************************************************
  31. % Settings
  32. % **************************************************
  33.  
  34. \input{settings}
  35.  
  36. % **************************************************
  37. % Begin document
  38. % **************************************************
  39. \begin{document}
  40.  
  41. % --------------------------
  42. % Cover and front matter
  43. % --------------------------
  44. \frontmatter
  45. \pagestyle{empty}                   % no header nor footer
  46. \input{preliminares/1_cubierta}
  47. \newpage
  48.  
  49. \input{preliminares/2_portada}
  50. \newpage
  51.  
  52. \pagenumbering{roman}               % roman page numbering
  53. \pagestyle{plain}                   % empty header, just page number in footer
  54. \input{preliminares/3_dedicatoria}
  55. \cleardoublepage
  56.  
  57. \input{preliminares/4_agradecimientos_y_financiacion}   % dedication & cknowledgement (optional)
  58. \cleardoublepage
  59.  
  60. \input{preliminares/5_resumen}  % abstract (in English and Spanish)
  61. \newpage
  62.  
  63.  
  64.  
  65. \selectlanguage{spanish}
  66.  
  67. \setcounter{tocdepth}{3}        % define depth of toc
  68. \tableofcontents                % display table of contents
  69.  
  70.  
  71. \addcontentsline{toc}{section}{Índice de figuras}
  72. \listoffigures
  73.  
  74.  
  75. \addcontentsline{toc}{section}{Índice de tablas}
  76. \listoftables
  77. \newpage
  78.  
  79. \input{preliminares/6_acronimos}
  80. \cleardoublepage
  81.  
  82. % --------------------------
  83. % Main matter
  84. % --------------------------
  85. \mainmatter
  86. \pagenumbering{arabic}          % arabic page numbering
  87. \setcounter{page}{1}            % set page counter
  88. \pagestyle{fancy}               % fancy header and footer
  89. \parskip=7pt                    % space after each paragraph
  90. \parindent=0pt                  % suppress indentation of paragraphs
  91.  
  92.  
  93. \include{cuerpo/chapter2}
  94. \include{cuerpo/chapter3}
  95. \include{cuerpo/chapter4}
  96. \include{cuerpo/chapter5}
  97. \include{cuerpo/chapter6}
  98.  
  99. \cleardoublepage
  100.  
  101. % --------------------------
  102. % Back matter
  103. % --------------------------
  104. \backmatter
  105.  
  106. \bibliographystyle{cas-model2-names}
  107. \bibliography{references}
  108. % \printbibliography[title=Referencias, heading=bibintoc]
  109.  
  110. \appendix
  111. \include{cuerpo/x-Anexos}
  112.  
  113.  
  114. % **************************************************
  115. % End of document
  116. % **************************************************
  117. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement