Commit 93aa1023868477ba99f39d1c34b9c190c6203cea

Authored by Francisco Coelho
1 parent 0559a14f
Exists in master

auto update Mon Sep 14 20:42:52 WEST 2015

demo-cap-1.tex
1 1 %!TEX root = main.tex
2   -\chapter{Introdução}
  2 +\chapter[\tiny{Intro}]{Introdução}
3 3  
4 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 3 \addvspace {10\p@ }
3 4 \contentsline {figure}{\numberline {1.1}{\ignorespaces Exemplo de uma figura.}}{2}
4 5 \addvspace {10\p@ }
... ...
main.lot
1   -\select@language {portuguese}
  1 +\select@language {portuges}
  2 +\select@language {english}
2 3 \addvspace {10\p@ }
3 4 \contentsline {table}{\numberline {1.1}{\ignorespaces Exemplo de uma tabela.}}{3}
4 5 \addvspace {10\p@ }
... ...
No preview for this file type
main.tex
... ... @@ -154,6 +154,7 @@
154 154 % do texto do documento.
155 155 %
156 156 \tuePREAMBULOLATEX{
  157 + \setmainlanguage{english}
157 158 }
158 159 %
159 160 % ----------------------------------------------------------------
... ...
teseue.cls
... ... @@ -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 126 %% Titulo
120 127 %
121 128 \newcommand{\@TITULO}{T\'{i}tulo da tese}
... ... @@ -291,7 +298,11 @@
291 298 %% DISSERTACAO
292 299 %
293 300 \DeclareRobustCommand{\tueDOCUMENTO}{
294   - \usepackage[portuguese]{babel}
  301 + %
  302 + %\usepackage[portuguese]{babel}
  303 + %
  304 + \usepackage{polyglossia}
  305 + \setmainlanguage{portuges}
295 306 \@PREAMBULOLATEX
296 307 \begin{document}
297 308 \frontmatter
... ... @@ -364,8 +375,16 @@
364 375 %
365 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 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 %
... ...