diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-15 20:41:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-15 20:41:48 +0000 |
commit | 9c3b1679b733cf44e5637de947a19498aa03e616 (patch) | |
tree | 67b92498177de70fa9a5a58a5fec2d1714f30975 | |
parent | f488081a70d5bff7a9b642e0ef178d15abd9453d (diff) |
abntexto (14oct23)
git-svn-id: svn://tug.org/texlive/trunk@68554 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/README | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/abntexto.pdf | bin | 121825 -> 219363 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/abntexto.tex | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/exemplo.pdf | bin | 0 -> 72206 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/exemplo.tex | 320 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/abntexto/abntexto.cls | 11 |
6 files changed, 347 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/abntexto/README b/Master/texmf-dist/doc/latex/abntexto/README index 36856312702..9392f77fc87 100644 --- a/Master/texmf-dist/doc/latex/abntexto/README +++ b/Master/texmf-dist/doc/latex/abntexto/README @@ -1,8 +1,8 @@ Public Domain Software -2023-10-12 -3.0.1-alpha -Elayson Abreu Barros -abntexto.classe at gmail.com +2023-10-13 +3.0.2-beta +Elayson Abreu +abntexto.classe@gmail.com The abntexto is a LaTeX class for the elaboration of academic works according -to the guidelines of the Associação Brasileira de Normas Técnicas (ABNT). +to the guidelines of the Associação Brasileira de Normas Técnicas (ABNT).
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf b/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf Binary files differindex 7fb7d1fe2b4..feb6a20420f 100644 --- a/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf +++ b/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf diff --git a/Master/texmf-dist/doc/latex/abntexto/abntexto.tex b/Master/texmf-dist/doc/latex/abntexto/abntexto.tex index e92a7ca36f9..b9210f5b0e6 100644 --- a/Master/texmf-dist/doc/latex/abntexto/abntexto.tex +++ b/Master/texmf-dist/doc/latex/abntexto/abntexto.tex @@ -114,13 +114,13 @@ {\centering \LARGE\sffamily\bfseries abntexto\\[0.4em] \Large\itshape\mdseries Classe para {\upshape\LaTeX}\\[2em] \normalfont\large - Elayson\\[1ex] - \href{mailto:abntexto.classe@gmail.com}{abntexto.classe at gmail.com}\\[2.5ex] + Elayson Abreu\\[1ex] + \href{mailto:abntexto.classe@gmail.com}{abntexto.classe@gmail.com}\\[2.5ex] \today \par} \vskip3in -{\centering\large\ttfamily 3.0.1-alpha\par} +{\centering\large\ttfamily 3.0.2-beta\par} \newpage \heading{Sumário} @@ -135,9 +135,19 @@ Este \emph{não} é um manual sobre LaTeX (ou TeX, a ferramenta que o constitui) Já existe uma classe para aplicação das normas ABNT cujo nome é |abntex2|. Mas, diferente desta, o |abntexto| não depende do |memoir|, uma classe de código-fonte e manual extensos e que implementa funções as quais, em sua maioria, não são pertinentes a um documento que use as diretrizes da ABNT. -As normas ABNT as quais o |abntexto| se propõe a seguir são aquelas em vigor até o momento da criação deste manual. +As normas ABNT as quais o |abntexto| se propõe a seguir são aquelas em vigor até o momento da criação deste manual. São elas: -O |abntexto| ainda está em estágio \emph{alpha} e seu uso em documentos sérios não é recomendado, uma vez que \emph{bugs} são esperados. +\begin{topics} + \item NBR 14724-2011 + \item NBR 12225-2004 + \item NBR 6028-2003 + \item NBR 6027-2012 + \item NBR 10520-2002 + \item NBR 6023-2018 + \item NBR 10522-1988 + \item NBR 5892-2019 + \item NBR 6024-2012 +\end{topics} \section{Chamando a classe} @@ -165,6 +175,8 @@ Digite as linhas em \ref{cd:início} e use |abntexto|. \end{document} \endverb +O arquivo exemplo.tex, disponível no CTAN, mostra como elaborar os elementos pré-textuais. + \section{Fonte tipográfica} O tamanho da fonte é 12\,pt de imediato e pode ser configurado com o comando |\setfontsize{<id>}| sendo que 12\,pt é a única opção disponível. Além disso, com os seletores de tamanho |\normalsize| e |\small| que configuram 12\,pt e 10\,pt, nessa ordem, é possível mudar o tamanho da fonte no corpo do documento. diff --git a/Master/texmf-dist/doc/latex/abntexto/exemplo.pdf b/Master/texmf-dist/doc/latex/abntexto/exemplo.pdf Binary files differnew file mode 100644 index 00000000000..b2728cc9c7b --- /dev/null +++ b/Master/texmf-dist/doc/latex/abntexto/exemplo.pdf diff --git a/Master/texmf-dist/doc/latex/abntexto/exemplo.tex b/Master/texmf-dist/doc/latex/abntexto/exemplo.tex new file mode 100644 index 00000000000..22bd4643fe4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/abntexto/exemplo.tex @@ -0,0 +1,320 @@ +% !TeX TS-program = lualatex + +\documentclass{abntexto} + +\usepackage{lipsum} \def\lip{\lipsum[1][1-2]}\def\lipp{\lipsum[1][-6]} +\usepackage{fontspec} +\usepackage[style=abnt]{biblatex} \addbibresource{mybib.bib} +\usepackage[colorlinks]{hyperref} + +\setmainfont{TeX Gyre Termes} +\setmonofont{Inconsolatazi4-Regular} + +% CONSELHO ------------ +% Você só precisa guardar em macros informações que +% vai utilizar repetidas vezes como o seu nome ou o +% o título do trabalho, por exemplo. + +\def \Author{John Doe} +\def \University{Universidade} +\def \Initials{SIGLA} +\def \City{Cidade} +\def \Date{Ano} +\def \Title{Título do trabalho} +\def \WorkType{Dissertação} +\def \WorkDesc{\WorkType\ apresentada a \University\ como cumprimento às exigências legais para obtenção do título de Mestre.} +\def \Class{Matemática} +\def \Advisor{Nome} +\def \Coadvisor{Nome} + + + +\begin{document} + +\def\Center{\noindent\hfil} +\def\Right{\noindent\hfill} +\def\twonewpage{\newpage\leavevmode\newpage} + +% CONSELHO ------------ +% Você pode preferir usar +% \Center \begin{minipage}{.7\linewidth} +% Lorem ipsum +% \end{minipage} +% Ao invés de +% \Center \vbox{\hsize=.7\hsize +% Lorem ipsum +% } +% É essencialmente a mesma coisa. A diferença é +% que a 1ª forma é uma sintaxe mais familiar ao +% LaTeX. Mas eu prefiro a simples sintaxe TeX. +% É questão de gosto pessoal. + +% CAPA +% ================================================ + +\leavevmode\Enter[2] + +\Center\vbox{\hsize=.7\hsize \centering + \includegraphics[height=4\baselineskip]{example-image}\\ + \University +} +\Enter[9] + +\Center\Author +\Enter[3] + +\Center\vbox{\hsize=.7\hsize \centering + \Title +} +\vfill + +\Center\City % A próxima linha em branco é necessária. + +\Center\Date + +\twonewpage + +% FOLHA DE ROSTO +% ================================================ + +\leavevmode\Enter[2] + +\Center\Author +\Enter[5] + +\Center\vbox{\hsize=.7\hsize \centering + \Title +} +\Enter[2] + +\Right\vbox{\hsize=.5\hsize + \WorkDesc\Enter + Área de concentração: \Class.\\ + Orientador: \Advisor.\\ + Coorientador: \Coadvisor. +} +\vfill + +\Center\City + +\Center\Date + +\newpage + +% FICHA CATALOGRÁFICA +% ================================================ + +\leavevmode\vfill + +\Center Dados Internacionais de Catalogação na Publicação (CIP) \Enter[.5] + +\Center \indexcard{\parindent=1em \sloppy + A000\qquad \Author + + \setbox0=\hbox{A000\qquad}\leftskip=\wd0 % Os espaços em branco antes e depois desta + % intrução são necessários. + + \Title/\Author\ --- \City: \University, UFC, \Date. + + 105\,f. + + \WorkType\ (\MakeUppercase{\Class}) --- \University, UFC: \City, \Date. + + Orientador(a): \Advisor. + + Coorientador(a): \Coadvisor. + + 1. K1. + 2. K2. + 3. K3. + I. Título. + + \Right CDD 000 + + \Right CDU 000 +} + +\newpage + +% ERRATA (OPCIONAL) +% ================================================ + +\heading{Errata} + +\singlesp +FERRIGNO, C. R. A. \textbf{Tratamento de neoplasias ósseas apendiculares com reimplantação de enxerto ósseo autólogo autoclavado associado ao plasma rico em plaquetas}: estudo crítico na cirurgia de preservação de membro em cães. 2011. 128 f. Tese (Livre-Docência) --- Faculdade de Medicina Veterinária e Zootecnia, Universidade de São Paulo, São Paulo, 2011. +\onehalfsp +\Enter + +\Center +\begin{table}{cccc} + \hline + \bfseries Folha & \bfseries Linha & \bfseries Onde se lê & \bfseries Leia-se \\ \hline + 16 & 10 & auto-clavado & autoclavado \\ \hline +\end{table} + +\twonewpage + +% FOLHA DE APROVAÇÃO +% ================================================ + +\leavevmode\Enter[2] + +\Center\Author +\Enter[5] + +\Center\vbox{\hsize=.7\hsize \centering + \Title +} +\Enter[2] + +\Right\vbox{\hsize=.5\hsize + \WorkDesc\Enter + Área de concentração: \Class. +} +\Enter + +{\raggedright \parindent=1.5cm + Aprovado em 00/00/0000. +\par} +\Enter[3] + +\begingroup \centering + \rule{.7\textwidth}{.4pt}\\ + Nome\\ + Universidade\Enter + + \rule{.7\textwidth}{.4pt}\\ + Nome\\ + Universidade\Enter + + \rule{.7\textwidth}{.4pt}\\ + Nome\\ + Universidade +\par\endgroup % Esse \par é necessário para que \centering tenha efeito. + +\twonewpage + +% DEDICATÓRIA (OPCIONAL) +% ================================================ + +\leavevmode\vfil +\Center \vbox{\hsize=5cm \itshape Dedico este trabalho a\dots} +\twonewpage + +% AGRADECIMENTOS (OPCIONAL) +% ================================================ + +\parindent=1.5cm +\heading{Agradecimentos} +\lipp +\twonewpage + +% EPÍGRAFE (OPCIONAL) +% ================================================ + +\leavevmode\vfil +\Right\vbox{\hsize=3cm + \noindent {\itshape Epígrafe}\break + Autor (ano) +} +\twonewpage + +% RESUMO +% ================================================ + +\heading{Resumo} +\lipp\ \lipp + +Palavras-chave: Palavra-chave A. Palavra-chave B. Palavra-chave C. +\twonewpage + +% RESUMO EM LÍNGUA ESTRANGEIRA +% ================================================ + +\heading{Abstract} +\lipp\ \lipp + +Keywords: Keyword A. Keyword B. Keyword C. +\twonewpage + +% LISTA DE FIGURAS (OPCIONAL), TABELAS (OPCIONAL), SUMÁRIO +% ================================================ + +\heading{Lista de figuras} +\makelof +\twonewpage + +\heading{Lista de tabelas} +\makelot +\twonewpage + +\heading{Sumário} +\maketoc + + +\section{Tabelas e figuras} + +\lipp + +\legend{table}{\lip} +\src{o autor.} +\label{tab} +\place{ + \begin{table}{*3{c@{\quad}} c} \hline + Situação do domicílio & Total & Mulheres & Homens \\ \hline + Total & 117\,960\,301 & 59\,595\,332 & 58\,364\,969 \\ + Urbana & 79\,972\,931 & 41\,115\,439 & 38\,857\,492 \\ + Rural & 37\,987\,370 & 18\,479\,893 & 19\,507\,477 \\ \hline + \end{table} +} + +\legend{figure}{\lip} +\src{o autor.} +\label{fig} +\place{\includegraphics[width=.4\linewidth]{example-image}} + +\legend{figure}{\lip} +\src{\lip} +\label{fig2} +\place{\includegraphics[width=.4\linewidth]{example-image}} + +Ver \ref{tab}, \ref{fig}, \ref{fig2}. + +\section{Citações} + +\enquote{\lip} \cite{bibkey}. +\Enquote{\lipp\ \cite{bibkey}} + +\section{Alíneas} + +\lip + +\begin{topics} + \item \lip + \begin{topics} + \item \lip + \item \lip + \end{topics} + \item \lip + \item \lip +\end{topics} + +%\newpage +% +%\begin{corrprint}{Referências} +% \printbibliography +%\end{corrprint} + +\end{document} + + + + + + + + + + +% Concebido em 07 de julho de 2022 diff --git a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls index cfeb322f0b2..4cb87e638b7 100644 --- a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls +++ b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls @@ -1,8 +1,8 @@ %! Public Domain Software -%! 2023-10-12 -%! 3.0.1-alpha -%! Elayson Abreu Barros -%! abntexto.classe at gmail.com +%! 2023-10-13 +%! 3.0.2-beta +%! Elayson Abreu +%! abntexto.classe@gmail.com %! RECOMENDAÇÕES %! PRÉ-CONFIGURAÇÕES @@ -30,7 +30,7 @@ % \begin{code} !------------------------------------------------ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{abntexto}[2023-10-12 3.0.1-alpha Preparation of works in ABNT standards] +\ProvidesClass{abntexto}[2023-10-13 3.0.2-beta Preparation of works in ABNT standards] \LoadClass{article} \RequirePackage{geometry} @@ -679,7 +679,6 @@ % \begin{code} !------------------------------------------------ \def\Enter{\@ifnextchar[\tnba@Enter{\tnba@Enter[]}} \def\tnba@Enter[#1]{\vskip#1\baselineskip} -\def\twonewpage{\newpage\leavevmode\newpage} \long\def\indexcard#1{\hbox{\vrule\vbox to7.5cm{\hsize=12.5cm \advance\hsize by-2cm |