Commit 34884d2f386c352a596c15eb761b3f31354befde

Authored by Francisco Coelho
1 parent 7785532e
Exists in master

auto update Wed Sep 16 22:20:37 WEST 2015

demo-cap-1.tex
1 %!TEX root = main.tex 1 %!TEX root = main.tex
2 -\chapter[linha1 \\ linha 2]{Introdução}  
3 -\chaptermark{\protect\parbox{0.3\linewidth}{linha 11\\ linha 12}} 2 +\chapter{Introdução}
4 3
5 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae est vitae risus varius malesuada et eget velit. Morbi tincidunt venenatis tellus, in volutpat ante varius et. Fusce congue maximus velit ac dignissim. Integer hendrerit pharetra libero, at vehicula odio vestibulum eget. Etiam eget fringilla leo, sit amet posuere nisl. Aenean at tincidunt felis. Cras rhoncus mauris libero, a vestibulum risus faucibus quis. Aenean malesuada vitae nibh ut dapibus. Pellentesque vel blandit odio. 4 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae est vitae risus varius malesuada et eget velit. Morbi tincidunt venenatis tellus, in volutpat ante varius et. Fusce congue maximus velit ac dignissim. Integer hendrerit pharetra libero, at vehicula odio vestibulum eget. Etiam eget fringilla leo, sit amet posuere nisl. Aenean at tincidunt felis. Cras rhoncus mauris libero, a vestibulum risus faucibus quis. Aenean malesuada vitae nibh ut dapibus. Pellentesque vel blandit odio.
6 5
  1 +\select@language {english}
1 \select@language {portuges} 2 \select@language {portuges}
  3 +\select@language {english}
2 \select@language {portuges} 4 \select@language {portuges}
3 -\select@language {portuges}  
4 -\select@language {portuges}  
5 -\select@language {portuges} 5 +\select@language {english}
6 \addvspace {10\p@ } 6 \addvspace {10\p@ }
7 \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2} 7 \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2}
8 \addvspace {10\p@ } 8 \addvspace {10\p@ }
  1 +\select@language {english}
1 \select@language {portuges} 2 \select@language {portuges}
  3 +\select@language {english}
2 \select@language {portuges} 4 \select@language {portuges}
3 -\select@language {portuges}  
4 -\select@language {portuges}  
5 -\select@language {portuges} 5 +\select@language {english}
6 \addvspace {10\p@ } 6 \addvspace {10\p@ }
7 \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3} 7 \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3}
8 \addvspace {10\p@ } 8 \addvspace {10\p@ }
No preview for this file type
@@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
30 % - PT: Português (novo acordo ortográfico) 30 % - PT: Português (novo acordo ortográfico)
31 % - EN: Inglês 31 % - EN: Inglês
32 % 32 %
33 -\tueLINGUA{PT} 33 +\tueLINGUA{EN}
34 % 34 %
35 % ---------------------------------------------------------------- 35 % ----------------------------------------------------------------
36 % 36 %
@@ -164,6 +164,7 @@ @@ -164,6 +164,7 @@
164 % do texto do documento. 164 % do texto do documento.
165 % 165 %
166 \tuePREAMBULOLATEX{ 166 \tuePREAMBULOLATEX{
  167 + \usepackage[figureright]{rotating}
167 } 168 }
168 % 169 %
169 % ---------------------------------------------------------------- 170 % ----------------------------------------------------------------
@@ -33,21 +33,27 @@ @@ -33,21 +33,27 @@
33 \RequirePackage{acronym} 33 \RequirePackage{acronym}
34 \RequirePackage{tikz} 34 \RequirePackage{tikz}
35 \RequirePackage{makeidx} 35 \RequirePackage{makeidx}
36 -\RequirePackage{fontspec}  
37 \RequirePackage{array} % para alinhar verticalmente as linhas das tabelas (na lombada) 36 \RequirePackage{array} % para alinhar verticalmente as linhas das tabelas (na lombada)
38 \RequirePackage{polyglossia} % Língua 37 \RequirePackage{polyglossia} % Língua
39 -\setmainfont{Source Sans Pro}[  
40 - UprightFont = {* Light},  
41 - ItalicFont = {* Light Italic},  
42 - BoldFont = {*} 38 +%
  39 +% Tratamento das fontes
  40 +%
  41 +\RequirePackage{fontspec}
  42 +\setmainfont{SourceSansPro-Light.otf}[
  43 + UprightFont = SourceSansPro-Light.otf,
  44 + ItalicFont = SourceSansPro-LightIt.otf,
  45 + BoldFont = SourceSansPro-Regular.otf
43 ] 46 ]
44 % 47 %
45 -\newfontfamily\xlightfont{Source Sans Pro}[  
46 - UprightFont = {* ExtraLight},  
47 - ItalicFont = {* ExtraLight Italic},  
48 - BoldFont = {* Light} 48 +\newfontfamily\xlightfont{SourceSansPro-ExtraLight.otf}[
  49 + UprightFont = SourceSansPro-ExtraLight.otf,
  50 + ItalicFont = SourceSansPro-ExtraLightIt.otf,
  51 + BoldFont = SourceSansPro-Light.otf
49 ] 52 ]
50 %\newfontfamily\lightfont{Source Sans Pro}[UprightFont = {* Light}] 53 %\newfontfamily\lightfont{Source Sans Pro}[UprightFont = {* Light}]
  54 +%
  55 +%
  56 +%
51 %\RequirePackage[rgb]{xcolor} 57 %\RequirePackage[rgb]{xcolor}
52 \definecolor{uered}{RGB}{158 27 50} 58 \definecolor{uered}{RGB}{158 27 50}
53 \definecolor{uegray}{RGB}{88 89 91} 59 \definecolor{uegray}{RGB}{88 89 91}
@@ -133,6 +139,16 @@ @@ -133,6 +139,16 @@
133 \newcommand{\@LST@TAB@EN}{List of Tables} 139 \newcommand{\@LST@TAB@EN}{List of Tables}
134 \newcommand{\@LST@TAB@PT}{Lista de Tabelas} 140 \newcommand{\@LST@TAB@PT}{Lista de Tabelas}
135 \newcommand{\@LST@TAB}{\@LST@TAB@PT} 141 \newcommand{\@LST@TAB}{\@LST@TAB@PT}
  142 +% --- Termos intermutaveis ---
  143 +\newcommand{\@TXT@SUMARIO@PT}{Sum\'{a}rio}
  144 +\newcommand{\@TXT@SUMARIO@EN}{Abstact}
  145 +\newcommand{\@TXT@SUMARIO@A}{\@TXT@SUMARIO@PT}
  146 +\newcommand{\@TXT@SUMARIO@B}{\@TXT@SUMARIO@EN}
  147 +%
  148 +\newcommand{\@TXT@PALCHAVE@PT}{Palavras chave}
  149 +\newcommand{\@TXT@PALCHAVE@EN}{Keywords}
  150 +\newcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT}
  151 +\newcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN}
136 % 152 %
137 \DeclareRobustCommand{\tueLINGUA}[1]{% 153 \DeclareRobustCommand{\tueLINGUA}[1]{%
138 \renewcommand{\@LINGUA}{#1} 154 \renewcommand{\@LINGUA}{#1}
@@ -147,6 +163,10 @@ @@ -147,6 +163,10 @@
147 \renewcommand{\@LST@CONT}{\@LST@CONT@EN} 163 \renewcommand{\@LST@CONT}{\@LST@CONT@EN}
148 \renewcommand{\@LST@TAB}{\@LST@TAB@EN} 164 \renewcommand{\@LST@TAB}{\@LST@TAB@EN}
149 \renewcommand{\contentsname}{\@LST@CONT@EN} 165 \renewcommand{\contentsname}{\@LST@CONT@EN}
  166 + \renewcommand{\@TXT@SUMARIO@A}{\@TXT@SUMARIO@EN}
  167 + \renewcommand{\@TXT@SUMARIO@B}{\@TXT@SUMARIO@PT}
  168 + \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@EN}
  169 + \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@PT}
150 }{ 170 }{
151 % 171 %
152 % Portugues 172 % Portugues
@@ -158,6 +178,10 @@ @@ -158,6 +178,10 @@
158 \renewcommand{\@LST@CONT}{\@LST@CONT@PT} 178 \renewcommand{\@LST@CONT}{\@LST@CONT@PT}
159 \renewcommand{\@LST@TAB}{\@LST@TAB@PT} 179 \renewcommand{\@LST@TAB}{\@LST@TAB@PT}
160 \renewcommand{\contentsname}{\@LST@CONT@PT} 180 \renewcommand{\contentsname}{\@LST@CONT@PT}
  181 + \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT}
  182 + \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN}
  183 + \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT}
  184 + \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN}
161 } 185 }
162 } 186 }
163 % 187 %
@@ -381,21 +405,21 @@ @@ -381,21 +405,21 @@
381 %% Sumario/Resumo 405 %% Sumario/Resumo
382 % 406 %
383 \newenvironment{tueSUMARIO}{ 407 \newenvironment{tueSUMARIO}{
384 - \chapter*{Sum\'{a}rio}  
385 - \addcontentsline{toc}{chapter}{Sum\'{a}rio}  
386 - \markboth{\uppercase{Sum\'{a}rio}}{} 408 + \chapter*{\@TXT@SUMARIO@A}
  409 + \addcontentsline{toc}{chapter}{\@TXT@SUMARIO@A}
  410 + \markboth{\uppercase{\@TXT@SUMARIO@A}}{}
387 }{ 411 }{
388 \par 412 \par
389 \bigskip 413 \bigskip
390 - \textbf{Palavras chave:}~\@PALAVRASCHAVE 414 + \textbf{\@TXT@PALCHAVE@A:}~\@PALAVRASCHAVE
391 } 415 }
392 % 416 %
393 %% Abstract 417 %% Abstract
394 % 418 %
395 \newenvironment{tueABSTRACT}{ 419 \newenvironment{tueABSTRACT}{
396 - \chapter*{Abstract}  
397 - \addcontentsline{toc}{chapter}{Abstract}  
398 - \markboth{\uppercase{Abstract}}{} 420 + \chapter*{\@TXT@SUMARIO@B}
  421 + \addcontentsline{toc}{chapter}{\@TXT@SUMARIO@B}
  422 + \markboth{\uppercase{\@TXT@SUMARIO@B}}{}
399 \begin{center} 423 \begin{center}
400 \huge 424 \huge
401 \textbf{\@TITLE} 425 \textbf{\@TITLE}
@@ -410,7 +434,7 @@ @@ -410,7 +434,7 @@
410 }{ 434 }{
411 \par 435 \par
412 \bigskip 436 \bigskip
413 - \textbf{Keywords:}~\@KEYWORDS 437 + \textbf{\@TXT@PALCHAVE@B:}~\@KEYWORDS
414 } 438 }
415 % 439 %
416 %% Abstract 440 %% Abstract