Skip to content

Commit

Permalink
Todos los títulos en Times New Roman 12 V2 + condicionales para las 2…
Browse files Browse the repository at this point in the history
… versiones de pdf (imprimir y digital)
  • Loading branch information
VicdeJuan committed May 26, 2017
1 parent aa86556 commit 0549e42
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
42 changes: 37 additions & 5 deletions TFM.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[a4paper, 12pt]{book}
\ifdefined\printedVersion
\documentclass[a4paper, 12pt]{book}
\else
\documentclass[a4paper, 12pt, oneside, openany]{book}
\fi
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}

Expand All @@ -31,8 +35,13 @@

\RequirePackage{MathUnicode} % Paquete para poder poner caracteres griegos y demás cosas raras.

\usepackage[a4paper, left=3.8cm, right=2.5cm, top=3.3cm, bottom=3cm,headsep=1cm,headheight=3cm]{geometry}
%\usepackage[a4paper, left=3.1cm, right=2.5cm, top=3.3cm, bottom=3cm,headsep=1cm,headheight=3cm]{geometry}

%\ifdefined\printedVersion
% \usepackage[a4paper, left=3.8cm, right=2.5cm, top=3.3cm, bottom=3cm,headsep=1cm,headheight=3cm]{geometry}
%\else
\usepackage[a4paper, left=3cm, right=3cm, top=3.3cm, bottom=3cm,headsep=1cm,headheight=3cm]{geometry}
%\fi

\usepackage{times}

%\usepackage[utf8]{inputenc}
Expand Down Expand Up @@ -116,6 +125,7 @@




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand All @@ -127,8 +137,8 @@



\pagestyle{fancy}
\fancyhf{}
%\pagestyle{fancy}
%\fancyhf{}

\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\headrule}{{
Expand All @@ -137,6 +147,8 @@
\renewcommand{\thesection}{\thechapter.\arabic{section}}




\titleformat{\chapter}
{\normalfont\fontsize{12}{15}\bfseries}{\thechapter.}{0.5em}{}
\titlespacing*{\chapter}{0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
Expand All @@ -151,6 +163,26 @@
{\normalfont\fontsize{12}{15}\bfseries}{\thesubsubsection}{1em}{}


\renewcommand{\cfttoctitlefont}{\normalfont\fontsize{12}{15}\bfseries}
\renewcommand{\cftaftertoctitle}{\hfill}
\setlength{\cftbeforetoctitleskip}{20pt}
\setlength{\cftaftertoctitleskip}{10pt}

\renewcommand\cftloftitlefont{\normalfont\fontsize{12}{15}\bfseries}
\renewcommand{\cftafterloftitle}{\hfill}
\setlength{\cftbeforeloftitleskip}{20pt}
\setlength{\cftafterloftitleskip}{10pt}

\renewcommand\cftlottitlefont{\normalfont\fontsize{12}{15}\bfseries}
\renewcommand{\cftafterlottitle}{\hfill}
\setlength{\cftbeforelottitleskip}{20pt}
\setlength{\cftafterlottitleskip}{10pt}


%\renewcommand{\cfttoftitlefont}{\normalfont\fontsize{12}{15}\bfseries}
%\renewcommand{\cfttoltitlefont}{\normalfont\fontsize{12}{15}\bfseries}




\newcommand{\righthead}{\raisebox{1.15\height}{\nombreautor\quad}}
Expand Down
4 changes: 2 additions & 2 deletions tex/portadasymas.tex
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ \chapter*{}


%%%% Índice de contenidos
\renewcommand{\contentsname}{Índice de Contenidos}
\renewcommand{\contentsname}{{\normalfont\fontsize{12}{15}\bfseries}Índice de Contenidos}
\fancypagestyle{plain}{}
\thispagestyle{fancy}
\cleardoublepage
\tableofcontents
\tableofcontents


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit 0549e42

Please sign in to comment.