diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-09 22:25:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-09 22:25:54 +0000 |
commit | 437f101f25e01e8576e942e54da1444f5a94952b (patch) | |
tree | e21d6b76c49b4e9e60698c59c2a7d5b508834299 /Master/texmf-dist/tex | |
parent | aa43c542d837b6af95431d14e2a85cee8059fae5 (diff) |
unbtex (3nov23)
git-svn-id: svn://tug.org/texlive/trunk@68793 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/unbtex/unbtex.cls | 179 |
1 files changed, 89 insertions, 90 deletions
diff --git a/Master/texmf-dist/tex/latex/unbtex/unbtex.cls b/Master/texmf-dist/tex/latex/unbtex/unbtex.cls index 0e737d324fd..57444f3ed9f 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.3.2 2023/10/20 +%% Version 1.3.3 2023/11/02 %% Copyright (C) 2021-2023 by Henrique C. Ferreira <hcferreira@unb.br> %% %% This class file may be distributed and/or modified under the conditions @@ -17,12 +17,12 @@ %% This package consists of the following source file: %% unbtex.cls %% Template files: -%% unbtex-example.pdf, unbtex-example.tex and files within unbtex-example -%% directory +%% unbtex-example.pdf, unbtex-example.tex, unbtextcite-pt, unbtexcite-en, +%% and files within unbtex-example directory %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{unbtex}[2023/10/20 v1.3.2 Modelo da Universidade de Brasília baseado em abnTeX2] +\ProvidesClass{unbtex}[2023/11/02 v1.3.3 Modelo da Universidade de Brasília baseado em abnTeX2] % --- % Repassa todos os parâmetros a classe abntex2, @@ -49,7 +49,8 @@ \RequirePackage{helvet} % Fonte utilizada para os títulos do trabalho % Próxima do padrão da UnB http://www.marca.unb.br/introducao.php \RequirePackage{graphicx} % Inclusão de gráficos -\RequirePackage{subcaption} % Permite fazer subfiguras +%\RequirePackage{subcaption} % Permite fazer subfiguras +\RequirePackage{subfig} % Permite fazer subfiguras \RequirePackage{icomma} % Configura casas decimais separadas por vírgula \RequirePackage{indentfirst} % Indenta o primeiro parágrafo de cada seção. \RequirePackage[nopatch=item]{microtype} % Para melhorias de justificação @@ -146,16 +147,16 @@ % --- % https://ctan.org/pkg/hyperref \hypersetup{ - %pagebackref=true, - %pdftitle={\@title}, - %pdfauthor={\@author}, - %pdfpagemode=None, - pdfstartview=FitH, - breaklinks=true, - colorlinks=true, - allcolors=azulunb, - linktocpage, - bookmarksdepth=4 + %pagebackref=true, + %pdftitle={\@title}, + %pdfauthor={\@author}, + %pdfpagemode=None, + pdfstartview=FitH, + breaklinks=true, + colorlinks=true, + allcolors=azulunb, + linktocpage, + bookmarksdepth=4 } % --- @@ -167,16 +168,16 @@ % Julia (Linguagem não reconhecida automaticamente pelo pacote listings) \lstdefinelanguage{Julia}% - {morekeywords={abstract,break,case,catch,const,continue,do,else,elseif,% - end,export,false,for,function,immutable,import,importall,if,in,% - macro,module,otherwise,quote,return,switch,true,try,type,typealias,% - using,while},% - sensitive=true,% - alsoother={\$},% - morecomment=[l]\#,% - morecomment=[n]{\#=}{=\#},% - morestring=[s]{"}{"},% - morestring=[m]{'}{'},% + {morekeywords={abstract,break,case,catch,const,continue,do,else,elseif,% + end,export,false,for,function,immutable,import,importall,if,in,% + macro,module,otherwise,quote,return,switch,true,try,type,typealias,% + using,while},% + sensitive=true,% + alsoother={\$},% + morecomment=[l]\#,% + morecomment=[n]{\#=}{=\#},% + morestring=[s]{"}{"},% + morestring=[m]{'}{'},% }[keywords,comments,strings]% \lstset{% @@ -190,8 +191,8 @@ % Python \lstset{ - language = Python, - basicstyle=\linespread{1}\ttfamily\small, + language = Python, + basicstyle=\linespread{1}\ttfamily\small, numberstyle=\footnotesize, numbers=left, backgroundcolor=\color{gray!10}, @@ -366,15 +367,15 @@ % Figura de fundo da capa \RequirePackage{eso-pic} \newcommand\BackgroundPic{% - \put(0,0){% - \parbox[b][\paperheight]{\paperwidth}{% - \vfill - \centering - \includegraphics[width=\paperwidth,height=\paperheight,% - keepaspectratio]{capa_fundo.pdf}% - \vfill - } + \put(0,0){% + \parbox[b][\paperheight]{\paperwidth}{% + \vfill + \centering + \includegraphics[width=\paperwidth,height=\paperheight,% + keepaspectratio]{capa_fundo.pdf}% + \vfill } + } } % --- @@ -402,23 +403,23 @@ \vfill\vfill \abntex@ifnotempty{\imprimirpreambulo}{% - \hspace{.45\textwidth} - \begin{minipage}{.5\textwidth} - {\SingleSpacing - \IfStrEq*{\languagename}{english}{ - \begin{otherlanguage*}{brazil} - \imprimirpreambulo - \end{otherlanguage*}}{ - \imprimirpreambulo} - } - \end{minipage}% - \vfill + \hspace{.45\textwidth} + \begin{minipage}{.5\textwidth} + {\SingleSpacing + \IfStrEq*{\languagename}{english}{ + \begin{otherlanguage*}{brazil} + \imprimirpreambulo + \end{otherlanguage*}}{ + \imprimirpreambulo} + } + \end{minipage}% + \vfill }% {\large \orientadorname: \orienttitulo\ \orientnome\ \orientsobrenome\par} \abntex@ifnotempty{\coorientnome}{% - {\large\coorientadorname: \coorienttitulo\ \coorientnome\ \coorientsobrenome}% +{\large\coorientadorname: \coorienttitulo\ \coorientnome\ \coorientsobrenome}% }% \vfill\vfill @@ -436,7 +437,7 @@ \RequirePackage{xstring} \renewcommand{\fichacatalografica}{ - \thispagestyle{empty}{ +\thispagestyle{empty}{ \setlength{\fboxsep}{10pt} \vspace*{\fill} {\small @@ -457,8 +458,7 @@ \end{center} }} \newpage - } -} +}} % --- % --- @@ -472,10 +472,9 @@ {\bfseries\sffamily\Large \instituicaoi \par\vspace{4pt} \instituicaoii} \par \abntex@ifnotempty{\instituicaoiii}{{\bfseries\sffamily\Large\instituicaoiii}} \vfill\vfill - -\begin{center} -\color{verdeunb}\bfseries\sffamily\Large\imprimirtitulo -\end{center} + \begin{center} + \color{verdeunb}\bfseries\sffamily\Large\imprimirtitulo + \end{center} \vfill @@ -486,31 +485,31 @@ \vfill \abntex@ifnotempty{\imprimirpreambulo}{% - \hspace{.45\textwidth} - \begin{minipage}{.5\textwidth} - {\SingleSpacing - \IfStrEq*{\languagename}{english}{ - \begin{otherlanguage*}{brazil} - \imprimirpreambulo - \end{otherlanguage*}}{ - \imprimirpreambulo} - } - \end{minipage}% - \vfill + \hspace{.45\textwidth} + \begin{minipage}{.5\textwidth} + {\SingleSpacing + \IfStrEq*{\languagename}{english}{ + \begin{otherlanguage*}{brazil} + \imprimirpreambulo + \end{otherlanguage*}}{ + \imprimirpreambulo} + } + \end{minipage}% + \vfill }% \raggedright { Trabalho aprovado. \imprimirlocal, \imprimirdia\ de \imprimirmes\ de \imprimirano:} { - \assinatura{\textbf{\membrodabancainome} \\ \membrodabancaifuncaonome} - \assinatura{\textbf{\membrodabancaiinome} \\ \membrodabancaiifuncaonome} - \assinatura{\textbf{\membrodabancaiiinome} \\ \membrodabancaiiifuncaonome} - \abntex@ifnotempty{\membrodabancaivnome}{\assinatura{\textbf{\membrodabancaivnome} \\ \membrodabancaivfuncaonome}} - \abntex@ifnotempty{\membrodabancavnome}{\assinatura{\textbf{\membrodabancavnome} \\ \membrodabancavfuncaonome}}} + \assinatura{\textbf{\membrodabancainome} \\ \membrodabancaifuncaonome} + \assinatura{\textbf{\membrodabancaiinome} \\ \membrodabancaiifuncaonome} + \assinatura{\textbf{\membrodabancaiiinome} \\ \membrodabancaiiifuncaonome} + \abntex@ifnotempty{\membrodabancaivnome}{\assinatura{\textbf{\membrodabancaivnome} \\ \membrodabancaivfuncaonome}} + \abntex@ifnotempty{\membrodabancavnome}{\assinatura{\textbf{\membrodabancavnome} \\ \membrodabancavfuncaonome}}} \vfill - \begin{center} + \begin{center} {\sffamily\large\imprimirlocal \par \imprimirano} - \end{center} + \end{center} \end{center} \end{folhadeaprovacao} } @@ -521,31 +520,31 @@ % Correção para o pacote microtype \makeatletter \long\def\MT@prot@l#1{% - \MT@get@prot{#1}{left}% - \leavevmode - #1} + \MT@get@prot{#1}{left}% + \leavevmode + #1} \def\MT@prot@group@@{% - \catcode`\\=0 - \catcode`\^^M=10 - \makeatletter - {\expandafter\MT@prot@l\expandafter - {\expandafter\scantokens\expandafter{\the\MT@toks\noexpand}}}% - \endgroup} + \catcode`\\=0 + \catcode`\^^M=10 + \makeatletter + {\expandafter\MT@prot@l\expandafter + {\expandafter\scantokens\expandafter{\the\MT@toks\noexpand}}}% + \endgroup} \makeatother % Ajusta a indentação das listas de figuras e de tabelas \DeclareTOCStyleEntry[ - indent=0pt, - entrynumberformat=\entrynumberwithprefix{\figurename}, - dynnumwidth, - %numsep=0em + indent=0pt, + entrynumberformat=\entrynumberwithprefix{\figurename}, + dynnumwidth, + %numsep=0em ]{tocline}{figure} %\newcommand\entrynumberwithprefix[2]{#1\enspace#2:\hfill} \DeclareTOCStyleEntry[ - indent=0pt, - entrynumberformat=\entrynumberwithprefix{\tablename}, - dynnumwidth, - %numsep=0em + indent=0pt, + entrynumberformat=\entrynumberwithprefix{\tablename}, + dynnumwidth, + %numsep=0em ]{tocline}{table} -\newcommand\entrynumberwithprefix[2]{#1\enspace#2~--\hfill}
\ No newline at end of file +\newcommand\entrynumberwithprefix[2]{#1~#2~\hfill}
\ No newline at end of file |