Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[12pt,a4paper,oneside,openright]{book}
- % Margins
- % Defined margins by EPN: top=3.5cm, bottom=4.5cm,left=3.5cm and right=2.5cm
- \usepackage[top=2.7cm, bottom=2cm, left=2.3cm, right=1.7cm]{geometry}
- % Indentation
- \setlength{\parindent}{0cm} %It is possible to eliminate indentation.
- % Appendix
- \usepackage[titletoc,toc,page]{appendix}
- % Other required packages
- \usepackage{latexsym,amsmath,amssymb,amsfonts,cancel}
- % Language packages
- \usepackage[latin1]{inputenc}
- \usepackage{lmodern}
- \usepackage[T1]{fontenc}
- % Defined commands for tables
- \usepackage{booktabs} % http://ctan.org/pkg/booktabs, needed to define M column type
- \usepackage{array} % http://ctan.org/pkg/array, needed to define M column type
- \newcolumntype{M}{>{\centering\arraybackslash}m{\dimexpr.156\linewidth-2\tabcolsep}}
- \newcolumntype{L}{>{\arraybackslash}m{\dimexpr.22\linewidth-2\tabcolsep}}
- % Graphic Packages
- \usepackage{graphicx}
- \usepackage{caption}
- \usepackage{subcaption}
- \graphicspath{{images/}}
- \usepackage{gensymb}
- % Font Packages
- \usepackage{anyfontsize}
- \usepackage[usenames,dvipsnames]{xcolor}
- % Table packages
- \usepackage{tabularx}
- \usepackage{lipsum}
- % Enumeration packages
- \usepackage{enumitem}
- \setcounter{tocdepth}{3}
- \setcounter{secnumdepth}{3}
- % Space definition
- % "Space between lines 1.5"
- \renewcommand{\baselinestretch}{1.5}
- % Code packages
- \usepackage[]{mcode}
- % Page numbering
- \pagenumbering{gobble}
- \usepackage{emptypage}
- % Centering Chapter and its title
- \usepackage{titlesec}
- \titleformat{\chapter}[display]
- {\fontfamily{ptm}\fontseries{b}\fontsize{16}{10}\selectfont\centering}{\chaptertitlename\ \thechapter}{-15pt}{\Huge}
- % Spacing between title and margins
- \titlespacing{\chapter}{0pt}{0pt}{20pt}
- % Number Font for section, subsection and subsubsection
- \titleformat{\section}
- {\fontfamily{ptm}\fontseries{b}\fontsize{14}{10}\selectfont}{\thesection}{1em}{}
- \titleformat{\subsection}
- {\fontfamily{ptm}\fontseries{b}\fontsize{12}{10}\selectfont}{\thesubsection}{1em}{}
- \titleformat{\subsubsection}
- {\fontfamily{ptm}\fontseries{b}\fontsize{12}{10}\selectfont}{\thesubsubsection}{1em}{}
- % General font definition
- % "Text font and size"
- \usepackage{helvet}
- \renewcommand{\familydefault}{\sfdefault}
- % Names redefined according to EPN styles
- \renewcommand{\contentsname}{Contenido}
- \renewcommand{\listfigurename}{Lista de Figuras}
- \renewcommand{\listtablename}{Lista de Tablas}
- \renewcommand{\chaptername}{\fontfamily{ptm}\fontseries{b}\fontsize{16}{1}\selectfont{CAPÍTULO}}
- \renewcommand{\bibname}{\fontfamily{ptm}\fontseries{b}\fontsize{16}{1}\selectfont{REFERENCIAS BIBLIOGRÁFICAS}}
- \renewcommand{\figurename}{\bf Figura}
- \renewcommand{\tablename}{\bf Tabla}
- \renewcommand\appendixname{Anexo}
- \renewcommand{\appendixpagename}{Anexos}
- % Required fonts by EPN style
- % "Titles format"
- % ESCUELA POLITÉCNICA NACIONAL - Arial negrilla, 24
- \newcommand{\epnTitle}{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{24}{10}\selectfont}
- % FACULTAD ... - Arial negrilla 16
- \newcommand{\facultyTitle}{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{16}{1}\selectfont}
- % TÍTULO - Arial negrilla 14
- \newcommand{\thesisTitle}{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{14}{15}\selectfont}
- % NOMBRE, DIRECTOR - Arial negrilla 12
- \newcommand{\nameTitle}{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{12}{10}\selectfont}
- % "Titles Format" -- Arial Mayúscula negrilla, tamaño 14
- \newcommand{\nonNumberedPageTitle}{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{14}{1}\selectfont}
- % Chapter: Mayúsculas, Times New Roman negrilla, tamaño 16 (Estilo Esquema Numerado Titulo 1), as the given format.
- \newcommand{\capi}{\fontfamily{ptm}\fontseries{b}\fontsize{16}{10}\selectfont}
- % Section: Mayúsculas, Times New Roman negrilla, tamaño 14 (Estilo Esquema Numerado Titulo 2), as the given format.
- \newcommand{\subc}{\fontfamily{ptm}\fontseries{b}\fontsize{14}{10}\selectfont}
- % Subsection: Mayúsculas, Times New Roman negrilla, tamaño 12 (Estilo Esquema Numerado Titulo 3), as the given format.
- \newcommand{\ssubc}{\fontfamily{ptm}\fontseries{b}\fontsize{12}{10}\selectfont}
- % Subsubsection: Minúsculas, Times New Roman negrilla, tamaño 12 (Estilo Esquema Numerado Titulo 4), as given.
- \newcommand{\sssubc}{\fontfamily{ptm}\fontseries{b}\fontsize{12}{10}\selectfont}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement