OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [phd-thesis-template-master/] [Preamble/] [preamble.tex] - Rev 302

Go to most recent revision | Compare with Previous | Blame | View Log

% ******************************************************************************
% ****************************** Custom Margin *********************************
 
% Add `custommargin' in the document class options to use this section
% Set {innerside margin / outerside margin / topmargin / bottom margin}  and
% other page dimensions
\ifsetMargin
\else
    \RequirePackage[left=37mm,right=30mm,top=35mm,bottom=30mm]{geometry}
    \setFancyHdr % To apply fancy header after geometry package is loaded
\fi
 
% *****************************************************************************
% ******************* Fonts (like different typewriter fonts etc.)*************
 
% Add `customfont' in the document class option to use this section
\ifsetFont
\else
    % Set your custom font here and use `customfont' in options. Leave empty to
    % load computer modern font (default LaTeX font).  
    \RequirePackage{libertine} 
\fi
 
% *****************************************************************************
% *************************** Bibliography  and References ********************
 
%\usepackage{cleveref} %Referencing without need to explicitly state fig /table
 
% Add `custombib' in the document class option to use this section
\ifsetBib % True, Bibliography option is chosen in class options
\else % If custom bibliography style chosen then load bibstyle here
    \RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
\fi
 
% changes the default name `Bibliography` -> `References'
\renewcommand{\bibname}{Referencias}
 
% *****************************************************************************
% *************** Changing the Visual Style of Chapter Headings ***************
% Uncomment the section below. Requires titlesec package.
 
%\RequirePackage{titlesec}
%\newcommand{\PreContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\Large}
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}
%{1ex}{}
%[\vspace{1ex}\titlerule]}
%\newcommand{\ContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\huge}
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}{1ex}
%{\titlerule\vspace{1ex}\filright}
%[\vspace{1ex}\titlerule]}
%\newcommand{\PostContentTitleFormat}{\PreContentTitleFormat}
%\PreContentTitleFormat
 
 
% *****************************************************************************
% **************************** Custom Packages ********************************
% *****************************************************************************
 
 
% ************************* Algorithms and Pseudocode **************************
 
%\usepackage{algpseudocode} 
 
 
% ********************Captions and Hyperreferencing / URL **********************
 
% Captions: This makes captions of figures use a boldfaced small font. 
%\RequirePackage[small,bf]{caption}
 
\RequirePackage[labelsep=space,tableposition=top]{caption} 
\renewcommand{\figurename}{Fig.} %to support older versions of captions.sty
%\renewcommand{\captionfont}{\tiny}
 
% ************************ Formatting / Footnote *******************************
 
%\usepackage[perpage]{footmisc} %Range of footnote options 
 
 
% ****************************** Line Numbers **********************************
 
%\RequirePackage{lineno}
%\linenumbers
 
% ************************** Graphics and figures *****************************
 
%\usepackage{rotating}
%\usepackage{wrapfig}
%\usepackage{float}
\usepackage{subfig} %note: subfig must be included after the `caption` package. 
 
 
% ********************************* Table **************************************
 
%\usepackage{longtable}
%\usepackage{multicol}
%\usepackage{multirow}
%\usepackage{tabularx}
 
 
% ***************************** Math and SI Units ******************************
 
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
%\usepackage{siunitx} % use this package module for SI units
 
 
% ******************************************************************************
% ************************* User Defined Commands ******************************
% ******************************************************************************
 
 
% ********************** TOC depth and numbering depth *************************
 
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
 
% ******************************* Nomenclature *********************************
 
% To change the name of the Nomenclature section, uncomment the following line
 
\renewcommand\nomname{Nomenclatura}
 
 
% ********************************* Appendix ***********************************
 
% The default value of both \appendixtocname and \appendixpagename is `Appendices'. These names can all be changed via: 
 
\renewcommand{\appendixtocname}{Lista de Anexos}
\renewcommand{\appendixname}{Anexo}
 
% ********************************* Agregados por lguanuco ***********************************
 
%\usepackage[utf8]{inputenc}
%\usepackage[spanish]{babel}
\usepackage{acronym}
\usepackage{multirow}
\usepackage{array}
\usepackage{multicol}
\usepackage[table]{xcolor}
\usepackage{pdfpages}
%\usepackage[sorting=none]{biblatex}
 
\usepackage{listings}
\definecolor{light-gray}{gray}{0.9}
\lstset{
  basicstyle=\ttfamily\footnotesize,%\scriptsize,
  backgroundcolor=\color{light-gray},
  language=bash,
  keywordstyle=\bfseries,
  breaklines=true,
  keywords=[2]{INT8U,INT16U,DIO\_DI,DIO\_DO,CPU\_INT16S,CPU\_INT08U}
}
\lstset{literate=
  {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
  {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
  {à}{{\`a}}1 {è}{{\'e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
  {À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
  {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
  {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
  {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
  {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
  {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
  {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
  {€}{{\EUR}}1 {£}{{\pounds}}1 {"}{{``}}1 {~}{{$\sim$}}1
}
\newcommand{\problema}[1]{\vspace{1.5ex}\textbf{Problema: #1}}
\newcommand{\solucion}[1]{\vspace{1.5ex}\textbf{Solución:} #1 \vspace{1.5ex}}
 
 
\DeclareUnicodeCharacter{00A0}{}
 
\renewcommand{\chaptername}{Capítulo}
\renewcommand{\contentsname}{Contenidos}   %Contents
\renewcommand{\figurename}{Figura}   %Figure (for captions)
\renewcommand{\indexname}{Índice}   %Index
\renewcommand{\listfigurename}{Lista de Figuras}   %List of Figures
\renewcommand{\listtablename}{Lista de Tablas}   %List of Tables
\renewcommand{\partname}{Parte}   %Part
\renewcommand{\seename}{ver}   %see (makeidx package)
\renewcommand{\tablename}{Tabla}   %Table (for caption)
 
\renewcommand{\arraystretch}{1.3}
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.