summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-28 21:11:08 +0000
committerKarl Berry <karl@freefriends.org>2020-04-28 21:11:08 +0000
commit522996c475e205d116d3820b985f5eb16d0f47fa (patch)
treea5f33da856748b1f08eb3ca5169e1aa8b12a02ec /Master/texmf-dist/doc
parent6a0ec11fba9c6bcbf65f3e02ba97eeed5d6a0f43 (diff)
abnt (28apr20)
git-svn-id: svn://tug.org/texlive/trunk@54927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/abnt/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/abnt/abnt-doc.pdfbin116620 -> 119879 bytes
-rw-r--r--Master/texmf-dist/doc/latex/abnt/abnt-doc.tex36
3 files changed, 30 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/abnt/README.md b/Master/texmf-dist/doc/latex/abnt/README.md
index 9903f258c1e..28a27ccf94b 100644
--- a/Master/texmf-dist/doc/latex/abnt/README.md
+++ b/Master/texmf-dist/doc/latex/abnt/README.md
@@ -2,7 +2,7 @@
This package implements rules to typeset Brazilian academic texts.
-Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2019
+Copyright (c) Youssef Cherem <ycherem(at)gmail.com>, 2020.
This file is part of the abnt LaTeX2e package.
This work may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf b/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf
index 4a46b94fb27..3b82b513219 100644
--- a/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf
+++ b/Master/texmf-dist/doc/latex/abnt/abnt-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex b/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex
index 4b19c0e001b..389bd6c5ea1 100644
--- a/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex
+++ b/Master/texmf-dist/doc/latex/abnt/abnt-doc.tex
@@ -28,7 +28,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{2019}
+\date{2020}
\begin{document}
\frenchspacing
@@ -107,12 +107,31 @@ within=none]{escultura}
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@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}.
+Uma alternativa simplificada para essas definições está disponível ao utilizar uma das classes \tcboxverb[blank,fuzzy halo=.5mm with red]{KOMA-Script} (\texttt{scrbook}, \texttt{scrartcl} e \texttt{scrreport}):
+
+\begin{codigo}{}
+\DeclareNewTOC[%
+type=exercicio,%
+types=exercicios,%
+float,% define a floating environment
+floattype=4,%
+name=Exercício,%
+%counterwithin=chapter,
+listname={Lista de Exercícios},
+%tocentryindent=0pt,% <- added
+tocentrydynnumwidth,% <- added
+tocentrynumsep=0pt% <- added
+]{loe}
+\setuptoc{loe}{chapteratlist}
+
+\BeforeStartingTOC[loe]{\def\autodot{\hfill~--~\hfill}}
+\end{codigo}
+
+
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.
-Se o usuário necessitar alterações, uma das formas mais simples é usar os comandos das classes
-\tcboxverb[blank,fuzzy halo=.5mm with red]{KOMA-Script}:
- \begin{codigo}{}
+ \begin{codigo}{Exemplo com a classe scrbook}
\documentclass[footsepline=true,headsepline=true]{scrbook}
\usepackage{abnt}
\usepackage{xcolor,xcolor-material}
@@ -132,17 +151,20 @@ Se o usuário necessitar alterações, uma das formas mais simples é usar os co
\setkomafont{headsepline}{\color{teal!50!yellow}}
\setkomafont{pagenumber}{\normalfont\bfseries\sffamily\color{red}}
-\renewcommand*{\chapterpagestyle}{scrheadings} %not needed
+%\renewcommand*{\chapterpagestyle}{scrheadings} %não necessário - já implementado
+%todos esses elementos iguais
\RedeclareSectionCommands
[beforeskip=\baselineskip, afterskip=\baselineskip,font=\normalsize\bfseries]
{part,chapter,
-section,subsection,paragraph,subparagraph}
+section,subsection,subsubsection}
+
\setkomafont{chapter}{\color{orange}} \setkomafont{section}{\color{teal}}
\setkomafont{subsection}{\color{green!50!black}}
- %\setkomafont{disposition}{\normalsize} %doesn't work
+ %\setkomafont{disposition}{\normalsize} % não funciona, redefinição com
+ %\RedeclareSectionCommand ou \RedeclareSectionCommands
\KOMAoptions{headsepline=2pt:\textwidth,footsepline=2pt:\textwidth}