texlive[45655] Master: abnt (31oct17)
commits+karl at tug.org
commits+karl at tug.org
Tue Oct 31 22:23:16 CET 2017
Revision: 45655
http://tug.org/svn/texlive?view=revision&revision=45655
Author: karl
Date: 2017-10-31 22:23:16 +0100 (Tue, 31 Oct 2017)
Log Message:
-----------
abnt (31oct17)
Modified Paths:
--------------
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
trunk/Master/tlpkg/libexec/ctan2tds
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 2017-10-31 11:50:59 UTC (rev 45654)
+++ trunk/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex 2017-10-31 21:23:16 UTC (rev 45655)
@@ -8,6 +8,8 @@
\setmainlanguage{brazil}
\usepackage{tcolorbox}
\tcbuselibrary{listings,skins,xparse}
+\usepackage{tikz}
+\usetikzlibrary{positioning,shapes,snakes}
\newtcblisting[auto counter,list inside=codigo]{codigo}[2][]{%
%title={Código~\thetcbcounter:~#2},
@@ -22,16 +24,25 @@
-\title{O pacote <<\texttt{abnt}>>}
+\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}
-
\begin{document}
\frenchspacing
-\maketitle
+\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};
+\end{center}
+\vspace{4cm}
+
+%\maketitle
+
+%\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 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.
@@ -39,9 +50,9 @@
Seus comandos são:
\begin{codigo}{}
-\orientador{} \coorientador{} \orientadora{} \coorientadora{}
+\orientador{} \orientadora{} \coorientador{} \coorientadora{}
-\tipotrabalho{} \local{} \instituicao{} \capa \folhaderosto
+\tipotrabalho{} \local{} \instituicao{} \capa \folhaderosto
\end{codigo}
Para mudar as fontes dos elementos:
Modified: trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty 2017-10-31 11:50:59 UTC (rev 45654)
+++ trunk/Master/texmf-dist/tex/latex/abnt/abnt.sty 2017-10-31 21:23:16 UTC (rev 45655)
@@ -14,7 +14,7 @@
% The Current Maintainer of this work is Youssef Cherem.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{abnt}[2017/08/28]
+\ProvidesPackage{abnt}[2017/10/31]
\RequirePackage[left=3cm,top=3cm,right=2cm,bottom=2cm]{geometry}
\RequirePackage{setspace}
\RequirePackage[automark,markcase=used]{scrlayer-scrpage}
@@ -29,7 +29,9 @@
\RequirePackage{emptypage}
+\RequirePackage{etoolbox}%\ifdefempty{def}{true}{false}
+
\def\@makechapterhead#1{%
%\vspace*{50\p@}% <----------------- Space from top of page to Chapter #
{\parindent \z@ \raggedright \normalfont
@@ -114,14 +116,23 @@
\newcommand{\@orientador}{}
\newcommand{\orientador}[1]{\gdef\@orientador{#1}}
-\newcommand{\oorientador}{Orientador: \@orientador}
-\newcommand{\aorientadora}{Orientador: \@orientador}
-\newcommand{\ocoorientador}{Coorientador: \@orientador}
-\newcommand{\acoorientadora}{Coorientadora: \@orientador}
+\newcommand{\@orientadora}{}
+\newcommand{\orientadora}[1]{\gdef\@orientadora{#1}}
+
\newcommand{\@coorientador}{}
\newcommand{\coorientador}[1]{\gdef\@coorientador{#1}}
+\newcommand{\@coorientadora}{}
+\newcommand{\coorientadora}[1]{\gdef\@coorientadora{#1}}
+
+
+\newcommand{\oorientador}{\if\@orientador\empty\relax \else Orientador: \@orientador\fi}
+\newcommand{\aorientadora}{\if\@orientadora\empty\relax \else Orientadora: \@orientadora\fi}
+\newcommand{\ocoorientador}{\if\@coorientador\empty\relax \else Coorientador: \@coorientador\fi}
+\newcommand{\acoorientadora}{\if\@coorientadora\empty\relax \else Coorientadora: \@coorientadora\fi}
+
+
\newcommand{\@instituicao}{}
\newcommand{\instituicao}[1]{\gdef\@instituicao{#1}}
@@ -171,8 +182,10 @@
\leftskip=6cm
\singlespacing%
\noindent\@tipotrabalho\par\medskip
-\noindent \oorientador\par
-\noindent \ocoorientador\par
+\noindent \ifdefempty{\@orientador}{\aorientadora}{\oorientador}\par
+\noindent \ifdefempty{\@coorientador}{\acoorientadora}{\ocoorientador}
+
+\par
\egroup
\vfill
\vfill
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2017-10-31 11:50:59 UTC (rev 45654)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2017-10-31 21:23:16 UTC (rev 45655)
@@ -1101,7 +1101,7 @@
'thaifonts-arundina', "die 'skipping, fontforge format only'",
'thaifonts-scalable', "die 'skipping, fontforge format only'",
'thailatex', "die 'skipping, use babel-thai'",
- 'thesis', "die 'skipping, await request, 1996'",
+ 'thesis', "die 'skipping, contradictory licenses'", # texdev.net/2016/12/18/tex-on-windows-tex-live-versus-miktex-revisited/
'thesis-titlepage-fhAC',"die 'skipping, use ...fhac'",
'thsmc', "die 'skipping, requires nonfree font'",
'ticket', "&MAKEflatten",
More information about the tex-live-commits
mailing list