From e9c2f931e311099fe9117e25734114dae89a66ef Mon Sep 17 00:00:00 2001 From: Miguel Amador Date: Fri, 11 Mar 2016 03:27:41 +0000 Subject: [PATCH] FIX PT Headers Include option to personalize title of chapter subtable of contents. --- 00.Definitions/packages.tex | 3 ++- tese.tex | 21 ++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) mode change 100644 => 100755 00.Definitions/packages.tex mode change 100644 => 100755 tese.tex diff --git a/00.Definitions/packages.tex b/00.Definitions/packages.tex old mode 100644 new mode 100755 index 67d65ec..b89bc9d --- a/00.Definitions/packages.tex +++ b/00.Definitions/packages.tex @@ -23,7 +23,8 @@ % --------------- % The 'babel' package may correct some hyphenisation issues of latex. % However in most situations it is not required. -\usepackage[english]{babel} +\usepackage[english,portuguese]{babel} + % PACKAGE fontenc: % ----------------- diff --git a/tese.tex b/tese.tex old mode 100644 new mode 100755 index 9d25be4..a2582a5 --- a/tese.tex +++ b/tese.tex @@ -1,12 +1,8 @@ \documentclass[defaultstyle,10pt,master,Helvetica]{01.thesis} %Use 01.thesis_pt instead for PT version -%Babel Package language needs to be changed to completly change titles to Portuguese in 00.Definitions/packages.tex) %Dummy text if written by default in English. Just changed to whatever you need. % Helvetica is a similar font to Arial, with small differences. -%\renewcommand*\familydefault{\sfdefault} %To obtain the default sans serif font with pdflatex - - %% Packages \input{00.Definitions/packages.tex} %% Page formatting @@ -16,24 +12,35 @@ %----------------------------------------------------------- %----------------------------------------------------------- \begin{document} +%% Use Main document Language +\selectlanguage{english} +%% ------ \pagestyle{begin} \input{0.Inicio/1.cover.tex} \input{0.Inicio/2.citation.tex} \input{0.Inicio/3.Acknowledgments.tex} +\selectlanguage{english} \input{0.Inicio/4.Abstract.tex} \input{0.Inicio/5.Keywords.tex} +\selectlanguage{portuguese} \input{0.Inicio/4.Resumo.tex} \input{0.Inicio/5.PalavrasChave.tex} +%% Use Main document Language +\selectlanguage{english} +%% ------ \input{0.Inicio/6.Tables.tex} \acresetall +%% Remain list of table titles are set manualy \input{0.Inicio/7.Acronim.tex} \input{0.Inicio/8.symbols.tex} -%\pagestyle{document}%Fancy head and foot with lines +%% Use Main document Language +\selectlanguage{english} +%% Define the title of Chapter Table of Contents +\mtcsettitle{minitoc}{Contents} +%% ------ \pagestyle{documentsimple}%Simple head \input{1.Introduction/main.tex} \input{2.Chapter/main.tex} - - \input{99.Conclusions/conclusions.tex} \cleardoublepage \phantomsection