summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/unbtex/unbtex.cls26
1 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/unbtex/unbtex.cls b/Master/texmf-dist/tex/latex/unbtex/unbtex.cls
index db93c8313ab..9ff76b48b09 100644
--- a/Master/texmf-dist/tex/latex/unbtex/unbtex.cls
+++ b/Master/texmf-dist/tex/latex/unbtex/unbtex.cls
@@ -1,7 +1,7 @@
%%
%% UnBTeX: A class for bachelor, master, and doctoral thesis at the
%% University of Brasilia (UnB), Brazil
-%% Version 1.1 2022/05/23
+%% Version 1.1.1 2022/05/30
%% Copyright (C) 2021-2022 by Henrique C. Ferreira <hcferreira@unb.br>
%%
%% This class file may be distributed and/or modified under the conditions
@@ -21,7 +21,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{unbtex}[2022/05/23 v1.1 Modelo da Universidade de Brasília baseado em abnTeX2]
+\ProvidesClass{unbtex}[2022/05/30 v1.1.1 Modelo da Universidade de Brasília baseado em abnTeX2]
% ---
% Repassa todos os parâmetros a classe abntex2,
@@ -300,10 +300,8 @@
\newcommand{\autorii}[3][]{\def\autoriinome{#2}\def\autoriisobrenome{#3}}
% Orientadores
-\newcommand{\orient}[4][]{\def\orientgenero{#1}\def\orienttitulo{#2}\def\orientnome{#3}\def\orientsobrenome{#4}}
-\newcommand{\coorient}[4][]{\def\coorientgenero{#1}\def\coorienttitulo{#2}\def\coorientnome{#3}\def\coorientsobrenome{#4}}
-\orientador[\orientgenero:]{\orienttitulo\\orientnome\\orientsobrenome}
-\coorientador[\coorientgenero:]{\coorienttitulo\ \coorientnome\ \coorientsobrenome}
+\renewcommand{\orientador}[3][]{\def\orienttitulo{#1}\def\orientnome{#2}\def\orientsobrenome{#3}}
+\renewcommand{\coorientador}[3][]{\def\coorienttitulo{#1}\def\coorientnome{#2}\def\coorientsobrenome{#3}}
% Tipo de trabalho
\newcommand{\tipocurso}[1]{\def\imprimircurso{#1}}
@@ -408,15 +406,20 @@
\hspace{.45\textwidth}
\begin{minipage}{.5\textwidth}
{\SingleSpacing
+ \IfStrEq*{\languagename}{english}{
+ \begin{otherlanguage*}{brazil}
+ \imprimirpreambulo
+ \end{otherlanguage*}}{
\imprimirpreambulo}
+ }
\end{minipage}%
\vfill
}%
-{\large\imprimirorientadorRotulo\ \orienttitulo\ \orientnome\ \orientsobrenome\par}
+{\large \orientadorname: \orienttitulo\ \orientnome\ \orientsobrenome\par}
\abntex@ifnotempty{\coorientnome}{%
- {\large\imprimircoorientadorRotulo\ \coorienttitulo\ \coorientnome\ \coorientsobrenome}%
+ {\large\coorientadorname: \coorienttitulo\ \coorientnome\ \coorientsobrenome}%
}%
\vfill\vfill
@@ -444,7 +447,7 @@
\begin{tabular}{p{1.25cm} p{10.25cm}}
& \autorisobrenome, \autorinome. \\
\StrChar{\autorisobrenome}{1}\imprimircutter\StrChar{\imprimirtitulo}{1}[\SUBtemp]\MakeLowercase{\SUBtemp}
-& \hspace{0.5cm} \StrDel{\imprimirtitulo}{\\} ~/ \autorinome\ \autorisobrenome; \ifthenelse{\equal{\autoriinome}{}}{}{\autoriinome\ \autoriisobrenome;} \MakeLowercase\orientgenero\ \orientnome\ \orientsobrenome \ifthenelse{\equal{\coorientnome}{}}{.}{;~\MakeLowercase\coorientgenero\ \coorientnome\ \coorientsobrenome.} \texttt{-{}-} \imprimirlocal, \imprimirano. \\
+& \hspace{0.5cm} \StrDel{\imprimirtitulo}{\\} ~/ \autorinome\ \autorisobrenome; \ifthenelse{\equal{\autoriinome}{}}{}{\autoriinome\ \autoriisobrenome;} \MakeLowercase\orientadorname\ \orientnome\ \orientsobrenome \ifthenelse{\equal{\coorientnome}{}}{.}{;~\MakeLowercase\coorientadorname\ \coorientnome\ \coorientsobrenome.} \texttt{-{}-} \imprimirlocal, \imprimirano. \\
& \hspace{0.5cm}\thelastpage~p. \\
& \\
& \hspace{0.5cm} \imprimirtipotrabalho\ (\imprimircurso)\ \texttt{-{}-} \instituicaoi, \imprimirano. \\
@@ -486,7 +489,12 @@
\hspace{.45\textwidth}
\begin{minipage}{.5\textwidth}
{\SingleSpacing
+ \IfStrEq*{\languagename}{english}{
+ \begin{otherlanguage*}{brazil}
+ \imprimirpreambulo
+ \end{otherlanguage*}}{
\imprimirpreambulo}
+ }
\end{minipage}%
\vfill
}%