ITM-Thesis Class Repository
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

92 lines
2.8 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. %Add here the packages, variables, definitions, environments and specific elements created only for your thesis
  2. % 1 Code listing setup
  3. %------------------
  4. \RequirePackage{listings}
  5. \newcaptionname{spanish}{\lstlistlistingname}{Sección de Códigos}
  6. \renewcommand{\lstlistingname}{Código}
  7. \renewcommand{\lstlistlistingname}{Códigos}
  8. \lstset{ frame=Ltb,
  9. framerule=0pt,
  10. aboveskip=0.2cm,
  11. framextopmargin=3pt,
  12. framexbottommargin=3pt,
  13. framexleftmargin=0.4cm,
  14. framesep=0pt,
  15. rulesep=.4pt,
  16. backgroundcolor=\color{gray97},
  17. rulesepcolor=\color{black},
  18. %
  19. stringstyle=\ttfamily,
  20. showstringspaces = false,
  21. %basicstyle=\small\ttfamily,
  22. %basicstyle=\small,
  23. commentstyle=\color{gray45}\ttfamily,
  24. keywordstyle=\bfseries,
  25. %
  26. numbers=left,
  27. numbersep=15pt,
  28. numberstyle=\tiny,
  29. numberfirstline = false,
  30. breaklines=true,
  31. }
  32. % 2 Commands and variables
  33. % 2.1 Thesis's title page config
  34. %------------------
  35. \newcommand{\myTitle}{Un Título de la Tesis no Muy Complicado y Largo Pero Capaz de Definir Concretamente}
  36. \newcommand{\mySubtitle}{Caso de Estudio a Nivel Maestría}
  37. \newcommand{\myDegree}{Maestría en Ciencias en Ingeniería Electrónica}
  38. % 2.2 Autores:
  39. \newcommand{\myName}{Gerardo Marx Chávez-Campos}
  40. \newcommand{\myNumber}{D01120294}
  41. %\newcommand{\myPartner}{Otro autor}
  42. %----------------
  43. % 2.3 Mesa de revisión
  44. %Director:
  45. \newcommand{\myProf}{Homer Simpson}
  46. %Codirector:
  47. \newcommand{\myOtherProf}{James Clerk Maxwell \xspace}
  48. %Revisor 1:
  49. \newcommand{\mySupervisor}{Piere Simon Laplace\xspace}
  50. %Revisor 2:
  51. \newcommand{\myOtherSupervisor}{Jean-Baptiste Joseph Fourier\xspace}
  52. %--------------
  53. % 2.4 Datos del instituto:
  54. \newcommand{\myFaculty}{Maestría en Ingeniería Electrónica}
  55. \newcommand{\myDepartment}{División de Estudios de Posgrado e Investigación}
  56. \newcommand{\myUni}{Instituto Tecnológico de Morelia}
  57. \newcommand{\myLocation}{Morelia, Michoacán, México}
  58. \newcommand{\myTime}{Septiembre 2018}
  59. \newcommand{\myThesisVersion}{Rev 1.0}
  60. %---------------------
  61. % 3 USEFUL COMMANDS
  62. %---------------------
  63. \newcommand{\ie}{i.\,e.}
  64. \newcommand{\Ie}{I.\,e.}
  65. \newcommand{\eg}{e.\,g.}
  66. \newcommand{\Eg}{E.\,g.}
  67. %-------------------------
  68. % 4. Required packages for
  69. % figures, plots, subfigures
  70. %-------------------------
  71. \usepackage{float}
  72. \usepackage{subfigure}
  73. \usepackage{tikz}
  74. \usepackage{booktabs} %Beautiful tables
  75. \usepackage{todonotes} %Todo list for comments
  76. \usepackage[version-1-compatibility]{siunitx} %easy writting of SI units
  77. \usepackage{pgfplots}
  78. \pgfplotsset{compat=1.10}
  79. %-------------------------
  80. % 5. setting space for indentation
  81. % space between paragraphs and
  82. % baseline.
  83. % Uncomment to set parameters
  84. %-------------------------
  85. % \setlength{\parindent}{4em}
  86. \setlength{\parskip}{1em}
  87. %\renewcommand{\baselinestretch}{2.0} % Interlineado