texlive[48305] Master/texmf-dist: abnt (29jul18)

commits+karl at tug.org commits+karl at tug.org
Sun Jul 29 23:14:59 CEST 2018


Revision: 48305
          http://tug.org/svn/texlive?view=revision&revision=48305
Author:   karl
Date:     2018-07-29 23:14:59 +0200 (Sun, 29 Jul 2018)
Log Message:
-----------
abnt (29jul18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/abnt/README.md
    trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf
    trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex
    trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty

Modified: trunk/Master/texmf-dist/doc/latex/abnt/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/abnt/README.md	2018-07-29 20:56:10 UTC (rev 48304)
+++ trunk/Master/texmf-dist/doc/latex/abnt/README.md	2018-07-29 21:14:59 UTC (rev 48305)
@@ -2,7 +2,7 @@
 
 This package implements rules to typeset Brazilian academic texts. 
 
-Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2017
+Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2018
 
  This file is part of the abnt LaTeX2e package.
  This work may be distributed and/or modified under the conditions of

Modified: trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex	2018-07-29 20:56:10 UTC (rev 48304)
+++ trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex	2018-07-29 21:14:59 UTC (rev 48305)
@@ -3,7 +3,7 @@
 \usepackage{fontspec}
 \setmainfont{Warnock Pro}
 \setsansfont{Cronos Pro}
-\setmonofont[Scale=MatchLowercase]{Fira Mono}
+\usepackage[scale=.8]{FiraMono}
 \usepackage{polyglossia}
 \setmainlanguage{brazil}
 \usepackage{tcolorbox}
@@ -26,7 +26,7 @@
 
 \title{\tikz \node[inner sep=0pt,remember picture,overlay] at (0,1){\includegraphics[height=3cm,width=0.4\textwidth,keepaspectratio]{icone}};\\O pacote <<\texttt{abnt}>>}
 \author{Youssef Cherem}
-\date{2017}
+\date{2018}
 
 \begin{document}
 \frenchspacing 
@@ -33,8 +33,8 @@
 
 \begin{center}
 	\tikz\node[diamond,shape aspect=1.2,%draw=green,ultra thick,
-	overlay,remember picture,overlay,%minimum size=0.6\textwidth,
-	left color=SpringGreen,shading angle=45,align=center] at (0,0){\includegraphics[height=3cm,width=0.4\textwidth,keepaspectratio]{icone}\\{\Large O pacote <<\texttt{abnt}>>}\\[10pt]\large Youssef Cherem\\[6pt]2017};
+	remember picture,overlay,%minimum size=0.6\textwidth,
+	left color=SpringGreen,shading angle=45,align=center] at (0,0){\includegraphics[height=3cm,width=0.4\textwidth,keepaspectratio]{icone}\\{\Large O pacote <<\texttt{abnt}>>}\\[10pt]\large Youssef Cherem\\[6pt]2018};
 \end{center}
 
 \vspace{4cm}
@@ -44,15 +44,15 @@
 %\BgThispage
 
 %\tcblistof[\section*]{codigo}{Lista de Códigos}
+O pacote \tcboxverb[blank,fuzzy halo=.5mm with green]{abnt}  é uma interpretação suficiente, mas não exaustiva, das normas da ABNT. É uma implementação concisa das normas, proporcionando \textit{facilidade} e \textit{flexibilidade} ao usuário. O uso deste pacote não dispensa conhecimento básico de \LaTeX, e não há qualquer garantia de que será aceito pela sua instituição sem nenhuma modificação. Seu objetivo é reduzir ao mínimo a interferência de comandos alheios às classes comuns.
+Sugere-se seu emprego com a classe \texttt{book}, mas também pode, porventura, funcionar com outras classes.
 
-O pacote \tcboxverb[blank,fuzzy halo=.5mm with green]{abnt} é uma interpretação suficiente, mas não exaustiva, das normas da ABNT para apresentação de trabalhos acadêmicos, sendo uma implementação mais concisa que a classe \texttt{abntex2}, gerando menos erros e proporcionando mais facilidade e flexibilidade ao usuário. O uso deste pacote não dispensa conhecimento básico de \LaTeX, e não há qualquer garantia de que será aceito pela sua instituição sem nenhuma modificação (isso também se aplica à classe \texttt{abntex2}). Entretanto, ele facilita a implementação da norma NBR 14:724 pelo usuário. Seu objetivo é reduzir ao mínimo a interferência de comandos alheios às classes comuns. Sugere-se seu emprego com a classe \texttt{book}, mas também pode, porventura, funcionar com outras classes.
-
 Seus comandos são:
 
 \begin{codigo}{}
-\orientador{}   \orientadora{}   \coorientador{}   \coorientadora{}	
+\orientador{}   \orientadora{} \coorientador{}   \coorientadora{}	
 
-\tipotrabalho{}   \local{}   \instituicao{}   \capa   \folhaderosto
+\tipotrabalho{}  \local{}   \instituicao{}  \capa  \folhaderosto
 \end{codigo}
 
 Para mudar as fontes dos elementos:
@@ -95,7 +95,7 @@
 
 \end{codigo}
 
-Aqui, definimos um novo ambiente “escultura”, com um arquivo de lista de extensão \texttt{loe} e nome “Lista de Figuras”, cujo contador não recomeça em todos os capítulos \texttt{within=none}. A redefinição de \verb|\l at escultura| serve para redefinir os espaços na lista. Para alternativas de formatação, referir-se à documentação dos pacotes \texttt{newfloat} e \texttt{caption}. 
+Aqui, definimos um novo ambiente “escultura”, com um arquivo de lista de extensão \texttt{loe} e nome “Lista de Figuras”, cujo contador não recomeça em todos os capítulos (\texttt{within=none}). \verb|\l at escultura| serve para redefinir os espaços na lista. Para alternativas de formatação, referir-se à documentação dos pacotes \texttt{newfloat} e \texttt{caption}. 
 
 Todos os outros comandos são os usuais das classes padrão. Recomenda-se o uso do pacote \texttt{biblatex-abnt} para as normas de citação e referências bibliográficas segundo a ABNT. 
 

Modified: trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty	2018-07-29 20:56:10 UTC (rev 48304)
+++ trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty	2018-07-29 21:14:59 UTC (rev 48305)
@@ -1,5 +1,5 @@
 %% abnt.sty
-%% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2017
+%% Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2018
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3c
@@ -14,7 +14,7 @@
 % The Current Maintainer of this work is Youssef Cherem.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{abnt}[2017/10/31]
+\ProvidesPackage{abnt}[2018/08/02]
 \RequirePackage[left=3cm,top=3cm,right=2cm,bottom=2cm]{geometry}
 \RequirePackage{setspace}
 \RequirePackage[automark,markcase=used]{scrlayer-scrpage}
@@ -89,30 +89,17 @@
 %\renewcommand*{\p at quadro}{\quadroname~}
 
  
+\usepackage{tocbasic}
 
+\DeclareTOCStyleEntry[
+linefill=\TOCLineLeaderFill,
+%entryformat=%\large\textbf,
+%pagenumberformat=\color{red},
+%entrynumberformat=\color{red},
+%beforeskip= 0pt plus .2pt
+%pagenumberformat=%\large\textbf%\normalfont
+]{tocline}{chapter}  
 
-\renewcommand*\l at chapter[2]{%
-	\ifnum \c at tocdepth >\m at ne
-	\addpenalty{-\@highpenalty}%
-	\vskip 1.0em \@plus\p@
-	\setlength\@tempdima{1.5em}%
-	\begingroup
-	\parindent \z@ \rightskip \@pnumwidth
-	\parfillskip -\@pnumwidth
-	\leavevmode \bfseries %\LARGE % added for large font for chapters
-	\advance\leftskip\@tempdima
-	\hskip -\leftskip %\@chapapp~ \par % added \@chapapp~ \par 
-	#1\nobreak \hfil %\raggedright % originally \hfil
-	%added for leaders (dots) in chapter in toc
-	\xleaders\hbox{$\m at th
-	      \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
-	       mu$}\hfill%
-	%%%
-	\nobreak\hb at xt@\@pnumwidth{\hss #2}\par%\vspace{12pt} % ADDED VSPACE
-	\penalty\@highpenalty
-	\endgroup
-	\fi}  
-
 \newcommand{\@orientador}{}
 \newcommand{\orientador}[1]{\gdef\@orientador{#1}}
 
@@ -154,9 +141,14 @@
 \newcommand*{\@datefont}{\normalfont}
 \newcommand*{\datefont}[1]{\gdef\@datefont{#1}}
 
+\newcommand*{\@instituicaofont}{\normalfont}
+\newcommand*{\instituicaofont}[1]{\gdef\@instituicaofont{#1}}
+
+
 \newcommand{\capa}{%
 	\begin{titlepage}
 		\centering
+		{\@instituicaofont\@instituicao}\par\medskip 
 		{\@authorfont\@author}
 		\vfill
 		{\@titlefont\@title}



More information about the tex-live-commits mailing list