summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/unbtex/unbtex.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/unbtex/unbtex.cls')
-rw-r--r--macros/latex/contrib/unbtex/unbtex.cls26
1 files changed, 13 insertions, 13 deletions
diff --git a/macros/latex/contrib/unbtex/unbtex.cls b/macros/latex/contrib/unbtex/unbtex.cls
index aec90b8169..07bb157750 100644
--- a/macros/latex/contrib/unbtex/unbtex.cls
+++ b/macros/latex/contrib/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.4.2 2023/12/15
+%% Version 1.4.3 2023/12/22
%% Copyright (C) 2021-2023 by Henrique C. Ferreira <hcferreira@unb.br>
%%
%% This class file may be distributed and/or modified under the conditions
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{unbtex}[2023/12/15 v1.4.2 Modelo da Universidade de Brasília baseado em abnTeX2]
+\ProvidesClass{unbtex}[2023/12/22 v1.4.3 Modelo da Universidade de Brasília baseado em abnTeX2]
% ---
% Repassa todos os parâmetros a classe abntex2,
@@ -45,18 +45,16 @@
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{amsthm}
-\RequirePackage{mathtools} % melhorias nas equações
-% Fonte para fonte tipográfica mathscr
-% https://sites.math.washington.edu/~lee/Writing/typesetting-script.pdf
-\RequirePackage{mathrsfs}
+\RequirePackage{mathtools} % Melhorias nas equações
+\RequirePackage{mathrsfs} % Fonte tipográfica mathscr
% ---
% ---
-% Pacotes de fontes
+% Pacotes de fontes tipográficas
% ---
\RequirePackage{stickstootext} % Fonte principal (Stix2)
\RequirePackage[stickstoo,vvarbb]{newtxmath}
-\RequirePackage[scaled=0.88]{helvet} % Fonte sans serif
+\RequirePackage[scale=0.88]{tgheros} % Fonte sans serif
\RequirePackage[scaled=1.03]{inconsolata} % Fonte monoespaçada
% ---
@@ -127,7 +125,6 @@
% configuração do cabeçalho das páginas
\pagestyle{myheadings} % cabeçalho com linha e numeração da página
-%\setlength{\normalrulethickness}{0pt} % retira a linha do cabeçalho
% Modifica o tamanho da fonte e espaçamento entre linhas no ambiente verbatim
\RequirePackage{fvextra}
@@ -431,6 +428,8 @@
\newcommand{\kwordiii}[1]{\def\kwordiiinome{#1}}
\newcommand{\pchaveiv}[1]{\def\pchaveivnome{#1}}
\newcommand{\kwordiv}[1]{\def\kwordivnome{#1}}
+\newcommand{\pchavev}[1]{\def\pchavevnome{#1}}
+\newcommand{\kwordv}[1]{\def\kwordvnome{#1}}
% Código da ficha catalográfica
%\newcommand{\numerocutter}[1]{\def\imprimircutter{#1}}
@@ -532,10 +531,10 @@
% Imprime ficha catalográfica
% ---
% https://bce.unb.br/servicos/elaboracao-de-fichas-catalograficas/
-% Para imprimir o código Cutter, remova os comentários
+% Para imprimir o código Cutter, remova os comentários (%)
\renewcommand{\fichacatalografica}{
\thispagestyle{empty}{
-\setlength{\fboxsep}{18pt}
+\setlength{\fboxsep}{18pt} % Se imprimir o código Cutter, altere para 10pt
\vspace*{\fill}
{\small
{\SingleSpacing
@@ -548,9 +547,10 @@
\hspace*{2em}\noindent \StrDel{\imprimirtitulo}{\\ } ~/ \autorinome\ \autorisobrenome; \ifthenelse{\equal{\autoriinome}{}}{}{\autoriinome\ \autoriisobrenome;} \MakeLowercase\orientadorname\ \orientnome\ \orientsobrenome \ifthenelse{\equal{\coorientnome}{}}{.}{;~\MakeLowercase\coorientadorname\ \coorientnome\ \coorientsobrenome.} \texttt{-{}-} \imprimirlocal, \imprimirano. \\ % &
\hspace*{2em}\noindent \thelastpage~p. \\ % &
\\ % &
-\hspace*{2em}\noindent \imprimirtipotrabalho\ (\imprimircurso)\ \texttt{-{}-} \instituicaoi, \imprimirano. \\ % &
+\hspace*{2em}\noindent\IfStrEq*{\languagename}{english}{\begin{otherlanguage*}{brazil}\imprimirtipotrabalho\ (\imprimircurso)\ \texttt{-{}-} \instituicaoi, \imprimirano.\end{otherlanguage*}}{\imprimirtipotrabalho\ (\imprimircurso)\ \texttt{-{}-} \instituicaoi, \imprimirano.}\\ % &
\\ % &
-\hspace*{2em}\noindent 1. \pchaveinome. 2. \pchaveiinome. 3. \pchaveiiinome. \ifthenelse{\equal{\pchaveivnome}{}}{}{4. \pchaveivnome.} \ifthenelse{\equal{\autoriinome}{}}{\ifthenelse{\equal{\coorientnome}{}}{I. \orientsobrenome, \orientnome, orient. II. Título}{I. \orientsobrenome, \orientnome, orient. II. \coorientsobrenome, \coorientnome, coorient. III. Título}}{\ifthenelse{\equal{\coorientnome}{}}{I. \autoriisobrenome, \autoriinome. II. \orientsobrenome, \orientnome, orient. III. Título}{I. \autoriisobrenome, \autoriinome. II. \orientsobrenome, \orientnome, orient. III. \coorientsobrenome, \coorientnome, coorient. IV. Título}}
+\hspace*{2em}\noindent\IfStrEq*{\languagename}{english}{1. \kwordinome. 2. \kwordiinome. 3. \kwordiiinome. \ifthenelse{\equal{\kwordivnome}{}}{}{4. \kwordivnome. \ifthenelse{\equal{\kwordvnome}{}}{}{5. \kwordvnome.}}}{1. \pchaveinome. 2. \pchaveiinome. 3. \pchaveiiinome. \ifthenelse{\equal{\pchaveivnome}{}}{}{4. \pchaveivnome. \ifthenelse{\equal{\pchavevnome}{}}{}{5. \pchavevnome.}}}
+\ifthenelse{\equal{\autoriinome}{}}{\ifthenelse{\equal{\coorientnome}{}}{I. \orientsobrenome, \orientnome, orient. II. Título}{I. \orientsobrenome, \orientnome, orient. II. \coorientsobrenome, \coorientnome, coorient. III. Título}}{\ifthenelse{\equal{\coorientnome}{}}{I. \autoriisobrenome, \autoriinome. II. \orientsobrenome, \orientnome, orient. III. Título}{I. \autoriisobrenome, \autoriinome. II. \orientsobrenome, \orientnome, orient. III. \coorientsobrenome, \coorientnome, coorient. IV. Título}}
%\end{tabular}
\end{minipage}}
\end{center}