summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-30 20:06:19 +0000
committerKarl Berry <karl@freefriends.org>2022-05-30 20:06:19 +0000
commit5aca495564c2fa70381412599e45bd974378ae2c (patch)
treef5a8472f29047ceec495d349336074aa04e7ce45 /Master/texmf-dist/tex/latex
parenta0b955d935638ebed507b10a532ca355b685e2d7 (diff)
unbtex (30may22)
git-svn-id: svn://tug.org/texlive/trunk@63446 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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
}%