|
%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,
|
|
}
|
|
|
|
% 2 Commands and variables
|
|
% 2.1 Thesis's title page config
|
|
%------------------
|
|
\newcommand{\myTitle}{El Título de la Tesis no Muy Complicado y Largo Pero Capaz de Definir Concretamente}
|
|
\newcommand{\mySubtitle}{Caso de Estudio a Nivel Ingeniería}
|
|
\newcommand{\myDegree}{Ingeniera en electrónica}
|
|
% 2.2 Autores:
|
|
\newcommand{\myName}{Gerardo Marx Chávez-Campos}
|
|
\newcommand{\myNumber}{D01120294}
|
|
%\newcommand{\myPartner}{Otro autor}
|
|
%----------------
|
|
% 2.3 Mesa de revisión
|
|
%Director:
|
|
\newcommand{\myProf}{Homer Simpson}
|
|
%Codirector:
|
|
\newcommand{\myOtherProf}{James Clerk Maxwell \xspace}
|
|
%Revisor 1:
|
|
\newcommand{\mySupervisor}{Piere Simon Laplace\xspace}
|
|
%Revisor 2:
|
|
\newcommand{\myOtherSupervisor}{Jean-Baptiste Joseph Fourier\xspace}
|
|
%--------------
|
|
% 2.4 Datos del instituto:
|
|
\newcommand{\myFaculty}{Departamento de Ingeniería Electrónica}
|
|
\newcommand{\myDepartment}{División de Estudios Profesionales}
|
|
\newcommand{\myUni}{Instituto Tecnológico de Morelia}
|
|
\newcommand{\myLocation}{Morelia, Michoacán, México}
|
|
\newcommand{\myTime}{Julio 2018}
|
|
\newcommand{\myThesisVersion}{Rev 1.0}
|
|
|
|
%---------------------
|
|
% 3 USEFUL COMMANDS
|
|
%---------------------
|
|
\newcommand{\ie}{i.\,e.}
|
|
\newcommand{\Ie}{I.\,e.}
|
|
\newcommand{\eg}{e.\,g.}
|
|
\newcommand{\Eg}{E.\,g.}
|
|
|
|
|
|
%-------------------------
|
|
% 4 Packages that I need
|
|
%-------------------------
|
|
\usepackage{float}
|
|
\usepackage{tikz}
|
|
\usepackage{pgfplots}
|
|
\pgfplotsset{compat=1.10}
|