Commit 34884d2f386c352a596c15eb761b3f31354befde
1 parent
7785532e
Exists in
master
auto update Wed Sep 16 22:20:37 WEST 2015
Showing
6 changed files
with
50 additions
and
26 deletions
Show diff stats
demo-cap-1.tex
1 | 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 | 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 | ... | ... |
main.lof
1 | +\select@language {english} | |
1 | 2 | \select@language {portuges} |
3 | +\select@language {english} | |
2 | 4 | \select@language {portuges} |
3 | -\select@language {portuges} | |
4 | -\select@language {portuges} | |
5 | -\select@language {portuges} | |
5 | +\select@language {english} | |
6 | 6 | \addvspace {10\p@ } |
7 | 7 | \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2} |
8 | 8 | \addvspace {10\p@ } | ... | ... |
main.lot
1 | +\select@language {english} | |
1 | 2 | \select@language {portuges} |
3 | +\select@language {english} | |
2 | 4 | \select@language {portuges} |
3 | -\select@language {portuges} | |
4 | -\select@language {portuges} | |
5 | -\select@language {portuges} | |
5 | +\select@language {english} | |
6 | 6 | \addvspace {10\p@ } |
7 | 7 | \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3} |
8 | 8 | \addvspace {10\p@ } | ... | ... |
main.pdf
No preview for this file type
main.tex
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | % - PT: Português (novo acordo ortográfico) |
31 | 31 | % - EN: Inglês |
32 | 32 | % |
33 | -\tueLINGUA{PT} | |
33 | +\tueLINGUA{EN} | |
34 | 34 | % |
35 | 35 | % ---------------------------------------------------------------- |
36 | 36 | % |
... | ... | @@ -164,6 +164,7 @@ |
164 | 164 | % do texto do documento. |
165 | 165 | % |
166 | 166 | \tuePREAMBULOLATEX{ |
167 | + \usepackage[figureright]{rotating} | |
167 | 168 | } |
168 | 169 | % |
169 | 170 | % ---------------------------------------------------------------- | ... | ... |
teseue.cls
... | ... | @@ -33,21 +33,27 @@ |
33 | 33 | \RequirePackage{acronym} |
34 | 34 | \RequirePackage{tikz} |
35 | 35 | \RequirePackage{makeidx} |
36 | -\RequirePackage{fontspec} | |
37 | 36 | \RequirePackage{array} % para alinhar verticalmente as linhas das tabelas (na lombada) |
38 | 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 | 53 | %\newfontfamily\lightfont{Source Sans Pro}[UprightFont = {* Light}] |
54 | +% | |
55 | +% | |
56 | +% | |
51 | 57 | %\RequirePackage[rgb]{xcolor} |
52 | 58 | \definecolor{uered}{RGB}{158 27 50} |
53 | 59 | \definecolor{uegray}{RGB}{88 89 91} |
... | ... | @@ -133,6 +139,16 @@ |
133 | 139 | \newcommand{\@LST@TAB@EN}{List of Tables} |
134 | 140 | \newcommand{\@LST@TAB@PT}{Lista de Tabelas} |
135 | 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 | 153 | \DeclareRobustCommand{\tueLINGUA}[1]{% |
138 | 154 | \renewcommand{\@LINGUA}{#1} |
... | ... | @@ -147,6 +163,10 @@ |
147 | 163 | \renewcommand{\@LST@CONT}{\@LST@CONT@EN} |
148 | 164 | \renewcommand{\@LST@TAB}{\@LST@TAB@EN} |
149 | 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 | 172 | % Portugues |
... | ... | @@ -158,6 +178,10 @@ |
158 | 178 | \renewcommand{\@LST@CONT}{\@LST@CONT@PT} |
159 | 179 | \renewcommand{\@LST@TAB}{\@LST@TAB@PT} |
160 | 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 | 405 | %% Sumario/Resumo |
382 | 406 | % |
383 | 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 | 412 | \par |
389 | 413 | \bigskip |
390 | - \textbf{Palavras chave:}~\@PALAVRASCHAVE | |
414 | + \textbf{\@TXT@PALCHAVE@A:}~\@PALAVRASCHAVE | |
391 | 415 | } |
392 | 416 | % |
393 | 417 | %% Abstract |
394 | 418 | % |
395 | 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 | 423 | \begin{center} |
400 | 424 | \huge |
401 | 425 | \textbf{\@TITLE} |
... | ... | @@ -410,7 +434,7 @@ |
410 | 434 | }{ |
411 | 435 | \par |
412 | 436 | \bigskip |
413 | - \textbf{Keywords:}~\@KEYWORDS | |
437 | + \textbf{\@TXT@PALCHAVE@B:}~\@KEYWORDS | |
414 | 438 | } |
415 | 439 | % |
416 | 440 | %% Abstract | ... | ... |