Commit b8217ed2 by Mihdí Caballero

Se arregla numeración de anexos.

parent f5ec4cc5
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
\RequirePackage{ulem} % Para configurar simple control de cambios \RequirePackage{ulem} % Para configurar simple control de cambios
\RequirePackage{color} \RequirePackage{color}
\RequirePackage[perpage]{footmisc}
\RequirePackage{hyphenat} \RequirePackage{hyphenat}
\RequirePackage[toc]{appendix} \RequirePackage[toc]{appendix}
...@@ -825,9 +825,11 @@ Keyword:\\ ...@@ -825,9 +825,11 @@ Keyword:\\
%=================================================== %===================================================
%==== Lista de símbolos, Página XII, puede ir o no ==== %==== Lista de símbolos, Página XII, puede ir o no ====
\newcommand\listadesimbolos{% \newcommand\listadesimbolos{%
\printnoidxglossary[sort=case,type=simbolos]\addcontentsline{toc}{chapter}{Lista de símbolos} \printnoidxglossary[sort=case,type=simbolos,style=symbolstyle]\addcontentsline{toc}{chapter}{Lista de símbolos}
} }
%====================================================== %======================================================
%==== Lista de acrónimos, Página XIII, puede ir o no ==== %==== Lista de acrónimos, Página XIII, puede ir o no ====
...@@ -964,10 +966,11 @@ Keyword:\\ ...@@ -964,10 +966,11 @@ Keyword:\\
%=================== %===================
%==== Anexos ==== %==== Anexos ==== % Editado 21/09/2016 Pablo Castrillo
\newcommand\anexmatter{% \newcommand{\annexname}{Anexo}
\newcounter{myc} \newcommand\anexmatter{\par
\setcounter{myc}{1} \setcounter{chapter}{0}
\setcounter{section}{0}
\appendix \appendix
\renewcommand\appendixpagename{ANEXOS} \renewcommand\appendixpagename{ANEXOS}
\renewcommand\appendixtocname{\textbf{Anexos}} \renewcommand\appendixtocname{\textbf{Anexos}}
...@@ -980,9 +983,9 @@ Keyword:\\ ...@@ -980,9 +983,9 @@ Keyword:\\
{\bfseries\hfill\contentspage}% <filler-page-format> {\bfseries\hfill\contentspage}% <filler-page-format>
\appendixpage \appendixpage
\ifnum\@anexarabicnumbering>0 \ifnum\@anexarabicnumbering>0
\renewcommand{\thechapter}{\arabic{myc}} \renewcommand{\thechapter}{\arabic{chapter}}
\else \else
\renewcommand{\thechapter}{\Alph{myc}} \renewcommand{\thechapter}{\Alph{chapter}}
\fi \fi
\titlecontents{chapter}% <section-type> \titlecontents{chapter}% <section-type>
[13pt]% <left> [13pt]% <left>
...@@ -990,10 +993,9 @@ Keyword:\\ ...@@ -990,10 +993,9 @@ Keyword:\\
{ Anexo\ \thecontentslabel\quad}% <numbered-entry-format> { Anexo\ \thecontentslabel\quad}% <numbered-entry-format>
{}% <numberless-entry-format> {}% <numberless-entry-format>
{\titlerule*[1pc]{.}\contentspage}% <filler-page-format> {\titlerule*[1pc]{.}\contentspage}% <filler-page-format>
\setcounter{chapter}{-1} \renewcommand{\theHchapter}{\annexname.\thechapter}
} }
%================ %===================
%% %%
%% %%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment