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

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [phd-thesis-template-master/] [Preamble/] [preamble.tex] - Diff between revs 299 and 302

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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