Commit 93aa1023868477ba99f39d1c34b9c190c6203cea
1 parent
0559a14f
Exists in
master
auto update Mon Sep 14 20:42:52 WEST 2015
Showing
6 changed files
with
27 additions
and
5 deletions
Show diff stats
demo-cap-1.tex
1 | %!TEX root = main.tex | 1 | %!TEX root = main.tex |
2 | -\chapter{Introdução} | 2 | +\chapter[\tiny{Intro}]{Introdução} |
3 | 3 | ||
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. | 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. |
5 | 5 |
main.lof
1 | -\select@language {portuguese} | 1 | +\select@language {portuges} |
2 | +\select@language {english} | ||
2 | \addvspace {10\p@ } | 3 | \addvspace {10\p@ } |
3 | \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2} | 4 | \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2} |
4 | \addvspace {10\p@ } | 5 | \addvspace {10\p@ } |
main.lot
1 | -\select@language {portuguese} | 1 | +\select@language {portuges} |
2 | +\select@language {english} | ||
2 | \addvspace {10\p@ } | 3 | \addvspace {10\p@ } |
3 | \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3} | 4 | \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3} |
4 | \addvspace {10\p@ } | 5 | \addvspace {10\p@ } |
main.pdf
No preview for this file type
main.tex
@@ -154,6 +154,7 @@ | @@ -154,6 +154,7 @@ | ||
154 | % do texto do documento. | 154 | % do texto do documento. |
155 | % | 155 | % |
156 | \tuePREAMBULOLATEX{ | 156 | \tuePREAMBULOLATEX{ |
157 | + \setmainlanguage{english} | ||
157 | } | 158 | } |
158 | % | 159 | % |
159 | % ---------------------------------------------------------------- | 160 | % ---------------------------------------------------------------- |
teseue.cls
@@ -116,6 +116,13 @@ | @@ -116,6 +116,13 @@ | ||
116 | % | 116 | % |
117 | % ================================================================ | 117 | % ================================================================ |
118 | % | 118 | % |
119 | +%% Linguagem | ||
120 | +%} | ||
121 | +\newcommand{\@LINGUAGEM}{PT} | ||
122 | +\DeclareRobustCommand{\tueLINGUAGEM}[1]{% | ||
123 | + \renewcommand{\@LINGUAGEM}{#1} | ||
124 | +} | ||
125 | +% | ||
119 | %% Titulo | 126 | %% Titulo |
120 | % | 127 | % |
121 | \newcommand{\@TITULO}{T\'{i}tulo da tese} | 128 | \newcommand{\@TITULO}{T\'{i}tulo da tese} |
@@ -291,7 +298,11 @@ | @@ -291,7 +298,11 @@ | ||
291 | %% DISSERTACAO | 298 | %% DISSERTACAO |
292 | % | 299 | % |
293 | \DeclareRobustCommand{\tueDOCUMENTO}{ | 300 | \DeclareRobustCommand{\tueDOCUMENTO}{ |
294 | - \usepackage[portuguese]{babel} | 301 | + % |
302 | + %\usepackage[portuguese]{babel} | ||
303 | + % | ||
304 | + \usepackage{polyglossia} | ||
305 | + \setmainlanguage{portuges} | ||
295 | \@PREAMBULOLATEX | 306 | \@PREAMBULOLATEX |
296 | \begin{document} | 307 | \begin{document} |
297 | \frontmatter | 308 | \frontmatter |
@@ -364,8 +375,16 @@ | @@ -364,8 +375,16 @@ | ||
364 | % | 375 | % |
365 | %% Abstract | 376 | %% Abstract |
366 | % | 377 | % |
378 | +\newcommand{\@LSTACRONEN}{Acronyms} | ||
379 | +\newcommand{\@LSTACRONPT}{Lista de Acr\'{o}nimos} | ||
380 | +\newcommand{\@LSTACRON}{\@LSTACRONPT} | ||
381 | +\ifdefstring{\@LINGUAGEM}{PT}{ | ||
382 | + \renewcommand{\@LSTACRON}{\@LSTACRONPT} | ||
383 | +}{ % EN | ||
384 | + \renewcommand{\@LSTACRON}{\@LSTACRONEN} | ||
385 | +} | ||
367 | \newenvironment{tueACRONIMOS}{ | 386 | \newenvironment{tueACRONIMOS}{ |
368 | - \chapter*{Lista de Acr\'{o}nimos}\addcontentsline{toc}{chapter}{Lista de Acr\'{o}nimos} | 387 | + \chapter*{\@LSTACRON}\addcontentsline{toc}{chapter}{\@LSTACRON} |
369 | }{ | 388 | }{ |
370 | } | 389 | } |
371 | % | 390 | % |