Minimal working project with this.

This commit is contained in:
Segcolt 2025-11-22 21:51:13 -03:00
commit a564d92ef1
4 changed files with 1305 additions and 0 deletions

561
ABNT-FA.csl Normal file
View File

@ -0,0 +1,561 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" demote-non-dropping-particle="never" default-locale="pt-BR">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>ABNT - Filosofia Antiga (Portuguese - Brazil)</title>
<title-short>ABNT - Filosofia Antiga</title-short>
<id>https://github.com/bcdavasconcelos/CSL-ABNT-para-Autores-Antigos</id>
<author>
<name>Juliana Geyna Régis</name>
<email>juliana.regis@ipea.gov.br</email>
</author>
<contributor>
<name>Lucas Mation</name>
<email>lucas.mation@ipea.gov.br</email>
</contributor>
<contributor>
<name>Eduardo Michelotti Bettoni</name>
<email>webtur@ufpr.br</email>
</contributor>
<contributor>
<name>Paulo Augusto Nascimento</name>
<email>paulo.nascimento@ipea.gov.br</email>
</contributor>
<contributor>
<name>Iuri Gavronski</name>
<email>iuri at ufrgs dot br</email>
</contributor>
<contributor>
<name>José Antonio Meira da Rocha</name>
<email>joseantoniorocha@gmail.com</email>
<uri>http://meiradarocha.jor.br</uri>
</contributor>
<contributor>
<name>Mario José</name>
<email>gnumario [at-mark] gmail [dot-mark] com</email>
</contributor>
<contributor>
<name>Bernardo Vasconcelos</name>
<email>bernardovasconcelos@gmail.com</email>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The Brazilian Standard Style in accordance with ABNT-NBR 10520.2002 and ABNT-NBR 6023.2002</summary>
<updated>2021-02-13T20:03:36+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="pt-BR">
<terms>
<term name="month-01" form="short">jan.</term>
<term name="month-02" form="short">fev.</term>
<term name="month-03" form="short">mar.</term>
<term name="month-04" form="short">abr.</term>
<term name="month-05" form="short">maio</term>
<term name="month-06" form="short">jun.</term>
<term name="month-07" form="short">jul.</term>
<term name="month-08" form="short">ago.</term>
<term name="month-09" form="short">set.</term>
<term name="month-10" form="short">out.</term>
<term name="month-11" form="short">nov.</term>
<term name="month-12" form="short">dez.</term>
<term name="editor" form="short">
<single>ed</single>
<multiple>eds</multiple>
</term>
<term name="container-author" form="short">
<single>ed</single>
<multiple>eds</multiple>
</term>
<term name="collection-editor" form="short">
<single>ed</single>
<multiple>eds</multiple>
</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter">
<names variable="container-author" delimiter=", ">
<name delimiter="; " and="symbol" initialize-with=". " name-as-sort-order="all">
<name-part name="family" text-case="uppercase"/>
<name-part name="given" text-case="uppercase"/>
</name>
<label form="short" text-case="capitalize-first" prefix=" (" suffix=".)"/>
<substitute>
<names variable="editor"/>
<names variable="collection-editor"/>
</substitute>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter" match="none">
<names variable="editor" delimiter="; " suffix=".">
<label form="short" text-case="capitalize-first" prefix=". " suffix=".: "/>
<name initialize-with=". " delimiter=", "/>
</names>
</if>
</choose>
</macro>
<macro name="translator">
<names variable="translator" delimiter="; " prefix="Trad.: ">
<name and="symbol" delimiter-precedes-last="after-inverted-name" sort-separator=" ">
<name-part name="given" text-case="capitalize-first"/>
<name-part name="family" text-case="capitalize-first"/>
</name>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="always">
<name-part name="family" text-case="uppercase"/>
<name-part name="given" text-case="uppercase"/>
</name>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<choose>
<if match="any" variable="annote">
<text variable="annote" font-style="italic"/>
</if>
<else-if type="legislation" match="any">
<names variable="editor" suffix=" ">
<name form="short" and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all">
<name-part name="family" text-case="uppercase"/>
</name>
<substitute>
<names variable="author">
<name and="symbol">
<name-part name="family" text-case="uppercase"/>
</name>
</names>
</substitute>
</names>
</else-if>
<else-if type="report" match="any">
<names variable="translator" suffix=" ">
<name form="short" and="symbol" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all">
<name-part name="family" text-case="uppercase"/>
</name>
<substitute>
<names variable="author">
<name>
<name-part name="family" text-case="uppercase"/>
</name>
</names>
</substitute>
</names>
</else-if>
<else>
<names variable="author" suffix=" ">
<name form="short" name-as-sort-order="all" sort-separator=", " initialize-with=". " delimiter="; " delimiter-precedes-last="never">
<name-part name="family" text-case="uppercase"/>
<name-part name="given" text-case="uppercase"/>
</name>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="book">
<text variable="title" form="short"/>
</if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="access">
<text variable="URL" prefix="Disponível em: &lt;" suffix="&gt;"/>
<date variable="accessed" prefix=". Acesso em: ">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" suffix=". " text-case="lowercase"/>
<date-part name="year"/>
</date>
</macro>
<macro name="title">
<choose>
<if type="chapter bill" match="any">
<text variable="title" quotes="true"/>
</if>
<else-if type="book thesis legislation" match="any">
<text variable="title" font-weight="bold"/>
</else-if>
<else-if type="article-newspaper article-magazine article-journal" match="any">
<text variable="title" quotes="true"/>
</else-if>
<else>
<choose>
<if match="all" variable="volume">
<choose>
<if match="none" is-numeric="volume">
<text variable="title" quotes="true"/>
</if>
</choose>
</if>
<else>
<text variable="title" font-weight="bold"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="paper-conference" match="any">
<text variable="container-title" suffix=". "/>
<text value="Anais" font-weight="bold"/>
<text value="..."/>
</if>
<else>
<text variable="container-title" font-weight="bold"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if match="any" variable="publisher-place publisher">
<choose>
<if variable="publisher-place">
<text variable="publisher-place" suffix=": "/>
</if>
<else-if type="entry-encyclopedia"/>
<else>
<text value="[s.l.] "/>
</else>
</choose>
<choose>
<if variable="publisher">
<text variable="publisher" suffix=", "/>
<text macro="issued"/>
</if>
<else>
<text value="[s.n.]"/>
</else>
</choose>
</if>
<else>
<text value="[s.l: s.n.]"/>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<choose>
<if variable="genre" match="none">
<text term="in" text-case="capitalize-first" suffix=": "/>
<text variable="event" text-case="uppercase"/>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
<text variable="event"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued" match="any">
<group>
<choose>
<if type="book chapter" match="none">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" suffix=" "/>
</date>
</if>
</choose>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text value="[s.d.]"/>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if match="any" variable="annote"/>
<else>
<choose>
<if variable="issued" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text value="[s.d.]"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="book chapter" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="numeric" suffix="."/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix=" ed."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="bill">
<group prefix=". " delimiter=", ">
<date variable="issued">
<date-part name="day"/>
<date-part prefix=" " name="month" form="short"/>
<date-part prefix=" " name="year"/>
</date>
<text variable="section" prefix="Sec. "/>
<text variable="page" prefix="p. " suffix="."/>
</group>
</if>
<else-if match="any" type="article-journal article-magazine article-newspaper">
<group delimiter=", ">
<group delimiter=", ">
<text variable="volume" prefix="v. "/>
<text variable="issue" prefix="n. "/>
</group>
<text variable="page" prefix="p. "/>
</group>
</else-if>
<else-if match="any" type="chapter">
<group>
<text variable="volume" prefix="v. "/>
<text variable="page" prefix="p. "/>
</group>
</else-if>
</choose>
</macro>
<macro name="collection-title">
<text variable="collection-title"/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="genre">
<text variable="genre"/>
</macro>
<macro name="place">
<choose>
<if match="any" variable="publisher-place">
<text variable="publisher-place"/>
</if>
</choose>
</macro>
<macro name="archive">
<group>
<text variable="archive" prefix=" "/>
</group>
</macro>
<citation et-al-min="4" et-al-use-first="1" collapse="year" disambiguate-add-year-suffix="true">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout delimiter="; ">
<group>
<text macro="author-short"/>
<text macro="issued-year"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1" entry-spacing="1">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<choose>
<if type="bill">
<group>
<text macro="author" suffix=". "/>
<text variable="number" suffix=". "/>
<text macro="title" suffix=". "/>
<text variable="references" font-weight="bold"/>
<text variable="note"/>
<text macro="locators" suffix=". "/>
</group>
</if>
<else-if type="map">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=", "/>
<text macro="issued" suffix=". "/>
<text variable="note" suffix=". "/>
</group>
</else-if>
<else-if type="book report" match="any">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="translator" suffix=". "/>
<text macro="edition" suffix=". "/>
<text macro="publisher" suffix=". "/>
<text macro="locators"/>
</group>
</else-if>
<else-if type="chapter">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="secondary-contributors" suffix=". "/>
<text term="in" text-case="capitalize-first" suffix=": "/>
<text macro="container-contributors" suffix=". "/>
<text macro="container-title" suffix=". "/>
<text variable="collection-title" suffix=". "/>
<text macro="translator" suffix=". "/>
<text macro="edition" suffix=". "/>
<text macro="publisher" suffix=". "/>
<text macro="locators" suffix=". "/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine article-journal" match="any">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="container-title" suffix=", "/>
<text variable="collection-title" suffix=". "/>
<text macro="edition" suffix=", "/>
<text macro="locators" suffix=", "/>
<text macro="issued" suffix=". "/>
</group>
</else-if>
<else-if type="thesis">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="genre" suffix="—"/>
<text macro="publisher" suffix="."/>
</group>
</else-if>
<else-if type="manuscript">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="edition" suffix=". "/>
<text macro="place" suffix=", "/>
<text macro="issued" suffix=". "/>
<text macro="access" suffix=". "/>
<text macro="archive" suffix=". "/>
</group>
</else-if>
<else-if type="webpage">
<group>
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="genre" suffix=". "/>
<text macro="access" suffix=". "/>
</group>
</else-if>
<else-if type="report">
<group>
<text macro="author" suffix=". "/>
<text macro="title"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title"/>
<text variable="collection-title" prefix=": "/>
<text macro="locators"/>
<text macro="event"/>
<text macro="publisher" prefix=". " suffix=". "/>
<text macro="access" suffix="."/>
</group>
</else-if>
<else-if type="entry-dictionary">
<group>
<text macro="author" suffix=". "/>
<text macro="title"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title"/>
<text variable="collection-title" prefix=": " suffix=". "/>
<text macro="locators"/>
<text macro="event"/>
<text macro="publisher" prefix=". " suffix=". "/>
<text macro="collection-title" prefix="(Texto para discussao, n. " suffix=")."/>
<text macro="access"/>
</group>
</else-if>
<else-if type="entry-encyclopedia">
<group>
<text macro="author" suffix=". "/>
<text macro="title"/>
<text variable="publisher-place" prefix=". " suffix=": "/>
<text variable="publisher" suffix=", "/>
<text macro="issued" prefix=", " suffix=". (Nota técnica)."/>
</group>
</else-if>
<else-if type="paper-conference">
<text macro="author" suffix=". "/>
<text macro="title" suffix=". "/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title"/>
<text variable="collection-title" prefix=": " suffix="."/>
<text macro="locators"/>
<group delimiter=". " prefix=". " suffix=". ">
<text macro="event"/>
</group>
<text variable="publisher-place" suffix=": "/>
<text variable="publisher" suffix=", "/>
<text macro="issued"/>
<text macro="access"/>
</else-if>
<else>
<text macro="author" suffix=". "/>
<text macro="title"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="container-title"/>
<text variable="collection-title" prefix=": " suffix="."/>
<choose>
<if match="any" variable="volume">
<choose>
<if match="any" is-numeric="volume">
<text variable="volume" prefix=" v. "/>
</if>
<else>
<text variable="volume" font-weight="bold" prefix=" " suffix="."/>
</else>
</choose>
</if>
</choose>
<text macro="locators"/>
<group delimiter=". " prefix=". " suffix=". ">
<text macro="event"/>
</group>
<text variable="publisher-place" prefix=" " suffix=":"/>
<text variable="publisher" prefix=" "/>
<text macro="issued" prefix=", " suffix=". "/>
</else>
</choose>
</layout>
</bibliography>
</style>

557
abntex-o-matic.latex Normal file
View File

@ -0,0 +1,557 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABNTeX-o-matic %
% B.C.D.A. VASCONCELOS 2021
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abreviacoes, abstract, advertencia, agradecimentos, ano, autor, autora, biblatex, biblatex-phi, biblatexoptions, biblio-style, biblio-title, bibliography, citecolor, citeproc, compilado, contracapa, creditos, curso, dedicatoria, epigrafe, fontfamily, fontfamilyoptions, glossary, glossaryfile, greekfont, greekfontoptions, include-after, indentarprimeiralinha, indentarprimeiralinhaem, index, instituicao, linhadepesquisa, linkcolor, lugar, mainfont, mainfontoptions, matematica, monofont, monofontoptions, natbib, natbiboptions, orientador, orientadora, printshorthands, resumo, sansfont, sansfontoptions, subtitulo, sumario, titulacao, titulo, trabalho, urlcolor
\NeedsTeXFormat{LaTeX2e}
\documentclass[paper=a4,
oneside,
pagesize,
fontsize=12pt,
DIV=10, % TODO: Make configurable
BCOR=10mm, % TODO: Make configurable
cleardoublepage=empty,
numbers=noenddot,
titlepage,
toc=bibliography,
toc=index,]{scrbook}
\RequirePackage{ifpdf}
\RequirePackage{ifxetex}
\RequirePackage{ifluatex}
\newif\ifxetexorluatex
\ifxetex
\usepackage[protrusion=true]{microtype}
\usepackage[ngerman,french,english,brazil]{babel}
\xetexorluatextrue
\else
\ifluatex
\usepackage[expansion, protrusion=true]{microtype}
\usepackage[ngerman,french,greek,english,brazil]{babel}
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\ifxetexorluatex
% \RequirePackage{fontspec}
\else
\RequirePackage[utf8]{inputenc}
\fi
% Makes it possible to switch between different languages in the text
% while keeping hyphenation rules correct. Should you add another one
% in the list, please ensure that `english` is the last one. The last
% language is used to control standard hyphenation.
\RequirePackage{csquotes} % Context-sensitive quotation marks
\RequirePackage{xspace} % For automatically "eating" spaces
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Multi-line comments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\comment}[1]{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Tight-list
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts & colours
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[usenames,dvipsnames]{xcolor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Graphics
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{graphicx}
\graphicspath{%
{Figures/}
{./}
}
% Suppress warnings about page groups in PDFs. This is not justified
% in most of the cases. I am pretty sure I am including my images in
% the right manner.
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdfsuppresswarningpagegroup\endcsname\relax
\else
\pdfsuppresswarningpagegroup=1\relax
\fi
\RequirePackage{subcaption}
% Make sub-references using \subref being typeset with parentheses.
% Otherwise, only the counter will be printed.
\captionsetup{subrefformat=parens}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Paragraph lists & compact enumerations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[%
olditem, % Do not modify itemize environments by default
oldenum % Do not modify enumerate environments by default
]{paralist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Tables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{booktabs}
\RequirePackage{multirow}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Proper typesetting of units
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[binary-units=true]{siunitx}
\sisetup{%
detect-all = true,
detect-family = true,
detect-mode = true,
detect-shape = true,
detect-weight = true,
detect-inline-weight = math,
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Penalties
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Headers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[singlespacing=true]{scrlayer-scrpage}
\pagestyle{scrheadings}
\renewcommand*{\chaptermarkformat}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Typefaces for parts, chapters, and sections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\partformat}{\huge\partname~\thepart\autodot}
\renewcommand{\raggedpart}{\flushleft}
\setkomafont{part}{\normalfont\huge\scshape}
\setkomafont{sectioning}{\normalfont\scshape}
\setkomafont{descriptionlabel}{\normalfont\bfseries}
\setkomafont{caption}{\small}
\setkomafont{captionlabel}{\usekomafont{caption}}
% Redefine citeproc
\NewDocumentCommand\citeproctext{}{}
\NewDocumentCommand\citeproc{mm}{%
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
% avoid brackets around text for \cite:
\makeatletter
\def\@biblabel#1{}
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
\makeatother
% Large number for chapter
\renewcommand*{\chapterformat}{%
\fontsize{30}{35}\selectfont\thechapter\autodot\enskip
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Paracol e multicol
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{multicol} %\begin{multicols}{2}
\usepackage{paracol}
\footnotelayout{m}
%\begin{paracol}{2} \switchcolumn \end{paracol}
\usepackage{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonte pequenas e espaçamento simples nas citações
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{etoolbox}
\AtBeginEnvironment{quote}{\singlespacing\small}
\renewenvironment{quote}{%
\list{}{%
\leftmargin4cm % this is the adjusting screw
\rightmargin0cm
}
\item\relax
}
{\endlist}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Espaçamento simples no ambiente paracol
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\AtBeginEnvironment{paracol}{\singlespacing\small}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parte do original. Função?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[binary-units=true]{siunitx}
\DeclareSIUnit\px{px}
\sisetup{%
detect-all = true,
detect-family = true,
detect-mode = true,
detect-shape = true,
detect-weight = true,
detect-inline-weight = math,
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Pacote para epígrafes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{epigraph}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ajustes para o logo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{metalogo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Espaçamento
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[doublespacing]{setspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Schemata
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{schemata}
%%%---Set up clickable section headers----------
% make headings back-links to TOC
% See https://tex.stackexchange.com/a/251964/73149,
% and https://tex.stackexchange.com/questions/412773/
\makeatletter
% configure chapter back-links
\let\hyperchapter\chapter
\def\chapter{\@ifstar\starchapter\mychapter}
\def\starchapter{\hyperchapter*}
\newcommand{\mychapter}[2][\@empty]% #1=optional (toc and top of page), #2=title
{\ifx#1\@empty \hyperchapter[#2]{\hyperlink{toc.chapter.\thechapter}{#2}}
\else \hyperchapter[#1]{\hyperlink{toc.chapter.\thechapter}{#2}}
\fi}
% configure section back-links
\let\hypersection\section
\def\section{\@ifstar\starsection\mysection}
\def\starsection{\hypersection*}
\newcommand{\mysection}[2][\@empty]% #1=optional (toc), #2=title
{\ifx#1\@empty \hypersection[#2]{\hyperlink{toc.section.\thesection}{#2}}
\else \hypersection[#1]{\hyperlink{toc.section.\thesection}{#2}}
\fi}
% configure subsection back-links
\let\hypersubsection\subsection
\def\subsection{\@ifstar\starsubsection\mysubsection}
\def\starsubsection{\hypersubsection*}
\newcommand{\mysubsection}[2][\@empty]% #1=optional (toc), #2=title
{\ifx#1\@empty \hypersubsection[#2]{\hyperlink{toc.subsection.\thesubsection}{#2}}
\else \hypersubsection[#1]{\hyperlink{toc.subsection.\thesubsection}{#2}}
\fi}
% configure subsubsection back-links
\let\hypersubsubsection\subsubsection
\def\subsubsection{\@ifstar\starsubsubsection\mysubsubsection}
\def\starsubsubsection{\hypersubsubsection*}
\newcommand{\mysubsubsection}[2][\@empty]% #1=optional (toc), #2=title
{\ifx#1\@empty \hypersubsubsection[#2]{\hyperlink{toc.subsubsection.\thesubsubsection}{#2}}
\else \hypersubsubsection[#1]{\hyperlink{toc.subsubsection.\thesubsubsection}{#2}}
\fi}
% close out
\makeatother
%%%---End set up clickable section headers----------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Opções e ajustes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(matematica)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Matemática
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage{dsfont}
% Fix the spacing of \left and \right. Use these with the proper bracket
% in order to ensure that they scale automatically.
\let\originalleft\left
\let\originalright\right
\renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft}
\renewcommand{\right}{\aftergroup\egroup\originalright}
\DeclareMathOperator*{\argmin} {arg\,min}
\DeclareMathOperator {\dist} {dist}
\DeclareMathOperator {\im} {im}
\newcommand{\domain}{\ensuremath{\mathds{D}}}
\newcommand{\real} {\ensuremath{\mathds{R}}}
% Proper differential operators
\newcommand{\diff}[1]{\ensuremath{\operatorname{d}\!{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ordinals
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand {\st}{\textsuperscript{\textup{st}}\xspace}
\newcommand {\rd}{\textsuperscript{\textup{rd}}\xspace}
\newcommand {\nd}{\textsuperscript{\textup{nd}}\xspace}
\renewcommand{\th}{\textsuperscript{\textup{th}}\xspace}
$endif$
$if(indentarprimeiralinha)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Indentação de parágrafo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{indentfirst}
$if(indentarprimeiralinhaem)$
\setlength{\parindent}{$indentarprimeiralinhaem$}
$endif$$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Hyperlinks & bookmarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[%
colorlinks = true,
citecolor = $if(citecolor)$ $citecolor$ $else$ RoyalBlue $endif$,
linkcolor = $if(linkcolor)$ $linkcolor$ $else$ RoyalBlue $endif$,
urlcolor = $if(urlcolor)$ $urlcolor$ $else$ RoyalBlue $endif$,
]{hyperref}
\usepackage{bookmark}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Polyglossia
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{polyglossia}
\newcommand{\familytype}{\l_xpg_familytype_tl}
\setdefaultlanguage[variant=brazilian]{portuguese}
\setotherlanguage[variant=ancient]{greek}
\newcommand{\pt}[1]{\textportuges{#1}}
\newcommand{\grc}[1]{\textgreek{#1}}
%\newcommand{\grc}[1]{\selectlanguage{greek}\hyphenrules{polygreek}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliografia
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(natbib)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Natbib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[$natbiboptions$]{natbib}
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
$endif$
$if(biblatex)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BibLaTeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[$if(biblio-style)$style=$it$,$endif$$for(biblatexoptions)$$it$$sep$,$endfor$]{biblatex}
$endif$
$if(biblatex-phi)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BibLaTeX-Phi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[backend=biber, style=philosophy-modern, backref, url=false, publocformat=loccolonpub, volumeformat = romansc, scauthors = all, inbeforejournal=true, shorthandintro = false, latinemph=true]{biblatex} % configuração mais próxima possível da ABNT utilizando o pacote
\defbibheading{FP}{\chapter*{Referências}\label{referencias}\addcontentsline{toc}{chapter}{Referências}
% Separação entre fontes primárias e secundárias
\section*{Fontes Primárias\label{fontesprimarias}\addcontentsline{toc}{section}{Fontes Primárias}}}
\defbibheading{FS}{\section*{Fontes Secundárias\label{fontessecundarias}\addcontentsline{toc}{section}{Fontes Secundárias}}}
\addbibresource{/Users/bcdav/Dropbox/Application Support/BBEdit/Pandoc/refs/Content.bib}
$endif$
$for(bibliography)$
% Arquivo de bibliografia
\addbibresource{$bibliography$}
$endfor$
$if(csl-refs)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Pandoc Citeproc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newlength{\csllabelwidth}
\setlength{\csllabelwidth}{1em}
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
{% don't indent paragraphs
\setlength{\parindent}{0pt}
% turn on hanging indent if param 1 is 1
\ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi
% set entry spacing
\ifnum #2 > 0
\setlength{\parskip}{#2\baselineskip}
\fi
}%
{}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{#1\hfill\break}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fontes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(fontfamily)$
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
$else$
\usepackage{lmodern}
$endif$
$if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$endif$
$if(sansfont)$
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
$endif$
$if(monofont)$
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
$endif$
$if(greekfont)$
\newfontfamily\greekfont[$for(greekfontoptions)$$greekfontoptions$$sep$,$endfor$]{$greekfont$}
$endif$
$for(fontfamilies)$
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
$endfor$
$if(glossary)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Glossário
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[toc, style=altlisthypergroup]{glossaries} %todo: glossaries: get sorting right
\makeglossaries
%\glslink{<label>}{<alternate text>}
$if(glossaryfile)$\input{"$glossaryfile$"}$endif$
$endif$
$if(index)$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Índice
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{makeidx}
\makeindex
$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Correção para tornar capítulos o nível mais alto
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let\subsubsection\subsection
\let\subsection\section
\let\section\chapter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ---------------------------------%
% Incipit %
% ---------------------------------%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\let\hypercontentsline=\contentsline
\renewcommand{\contentsline}[4]{\hypertarget{toc.#4}{}\hypercontentsline{#1}{#2}{#3}{#4}}
\frontmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Elementos pré-textuais
% (a.k.a. frontmatter)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Capa
$if(titulo)$ $if(instituicao)$ $if(ano)$ $if(lugar)$
\begin{titlepage}
\makeatletter \begin{center} \textsc{$instituicao$}\\ \vspace*{2cm}
$if(autor)$$autor$$endif$$if(autora)$$autora$$endif$ \\ \vspace*{2cm}
\begin{Huge} $titulo$ \\ \end{Huge} \vspace*{1cm}
\begin{Large} $if(subtitulo)$$subtitulo$$endif$ \end{Large} \vfill
$lugar$ \\ $ano$ \end{center}
% Contracapa
$if(contracapa)$
\newpage \thispagestyle{empty}
\begin{center} $if(autor)$$autor$$endif$$if(autora)$$autora$$endif$ \\ \vfill
\begin{Huge} $titulo$ \end{Huge} \vspace*{1,5cm}
\begin{flushright} $contracapa$ \end{flushright} \vfill
$lugar$ \\ $ano$ \end{center}
\makeatother \end{titlepage}
$else$ $if(trabalho)$ $if(linhadepesquisa)$ $if(curso)$ $if(titulacao)$
\newpage \thispagestyle{empty}
\begin{center} $if(autor)$$autor$$endif$$if(autora)$$autora$$endif$ \\ \vfill
\begin{Huge} $titulo$ \end{Huge} \vspace*{1,5cm}
\begin{quote} $trabalho$ apresentada ao programa de Pós-Graduação em $curso$ da $instituicao$, como requisito parcial para a obtenção do título de \emph{$titulacao$} em $curso$. \end{quote} \vspace*{2cm}
\begin{flushright} $if(orientador)$ Orientador: $orientador$ \\ $endif$ $if(orientadora)$ Orientadora: $orientadora$ \\$endif$
Linha de Pesquisa: $linhadepesquisa$ \\ \end{flushright} \vfill
$lugar$ \\ $ano$ \end{center}
\makeatother \end{titlepage}
$else$
\end{titlepage}
$endif$ $endif$ $endif$ $endif$ $endif$ $endif$ $endif$ $endif$ $endif$
$if(dedicatoria)$
% Dedicatoria
\clearpage \thispagestyle{empty}
\mbox{} \vfill
\begin{flushright} \emph{$dedicatoria$} \end{flushright}
$endif$ $if(agradecimentos)$
% Agradecimentos
\clearpage \thispagestyle{empty}
\begin{center}\textsc{\textbf{Agradecimentos}}\end{center}
$agradecimentos$
{\vfil}{}{}{}
$endif$ $if(epigrafe)$
% Epígrafe
\clearpage \thispagestyle{empty}
\begin{quote}\begin{flushright}
$epigrafe$
\end{flushright}\end{quote}
{\vfil}{}{}{}
$endif$ $if(advertencia)$
% Advertência
\clearpage \thispagestyle{empty}
\begin{center}\textsc{\textbf{Advertência}}\end{center}
$advertencia$
$endif$ $if(resumo)$
% Resumo
\clearpage \thispagestyle{empty}
$else$ $if(abstract)$
\clearpage \thispagestyle{empty}
$endif$ $endif$
$if(resumo)$
\begin{center}\textsc{\textbf{Resumo}}\end{center}
$resumo$ \\ $endif$ $if(abstract)$
\begin{center}\textsc{\textbf{Abstract}}\end{center}
$abstract$ \\
{\vfil}{}{}{}
$endif$ $if(abreviacoes)$
% Abreviações
\clearpage \thispagestyle{empty}
\begin{center}\textsc{\textbf{Lista de Abreviações}}\end{center}
\begin{multicols}{2}\begin{onehalfspace}\begin{flushleft}
$abreviacoes$ \end{flushleft}\end{onehalfspace}\end{multicols}
$endif$ $if(printshorthands)$
\clearpage \thispagestyle{empty}
\begin{onehalfspace} \printshorthands \end{onehalfspace}
$endif$
% Sumário
$if(sumario)$
\clearpage \begin{onehalfspace}
\tableofcontents \end{onehalfspace}
$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parte principal
% a.k.a. mainmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter
\clearpage
$body$
\bookmarksetup{startatroot}
\backmatter
\begingroup
\let\clearpage\relax
\endgroup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Elementos pós-textuais
% a.k.a. backmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliografia
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(natbib)$ $if(bibliography)$
\small \singlespacing
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$endif$ $endif$
$if(biblatex)$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$ $if(biblatex-phi)$
\printbibliography[keyword=FontePrimária, heading=FP]
\printbibliography[keyword=FonteSecundária, heading=FS]
$endif$
$for(include-after)$
$include-after$
$endfor$ $if(glossary)$
\printglossary
$endif$$if(index)$
\printindex
$endif$
\endsinglespace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABNTeX-o-matic
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(creditos)$
\newpage
\thispagestyle{empty}
\begin{center} \begin{onehalfspace}
\mbox{}
\vfill
Compilado usando \emph{ABNTex-o-matic} para\\
\vspace*{0cm}
\begin{Huge}
\XeLaTeX \\
\end{Huge}
\vspace*{0,5cm}
https://github.com/bcdavasconcelos/ABNTeX-o-matic
$if(compilado)$ Em $compilado$ $endif$
\end{onehalfspace} \end{center}
$endif$
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Everything comes to an end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

9
build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
./pandoc -s -f markdown "trabalho.md" \
--metadata link-citations=true \
--pdf-engine=xelatex \
-C "--csl=ABNT-FA.csl" \
"--bibliography=All.bib" \
"--template=./abntex-o-matic.latex" \
-o trabalho.pdf

178
trabalho.md Normal file
View File

@ -0,0 +1,178 @@
---
# Informações necessárias para gerar os elementos pré-textuais, como a capa.
titulo: 'A insustentável leveza do ser(tão)'
subtitulo:
autor: 'João Sebastião Ribeiro'
orientador: 'Prof. Dr. Antonio Salieri'
faculdade: 'Faculdade de Filosofia e Ciências Humanas da Universidade Federal de Minas Gerais'
lugar: 'Belo Horizonte - MG'
ano: '2021'
titulacao: 'Doutor'
curso: 'Filosofia'
trabalho: 'Tese'
linhadepesquisa: 'Filosofia Antiga e Medieval'
biblatex-phi: 'yes'
# Configurações da aparência do documento final
# Para usar a fonte alegreya, basta remover o "#" da opção abaixo.
#mainfontalegreya: true
mainfont: 'Minion Pro'
citecolor: 'RoyalBlue'
linkcolor: 'RoyalBlue'
sansfont: 'Alegreya Sans'
monofont: 'Menlo'
urlcolor: 'RoyalBlue'
compiled: 09/03/2021
# Não alterar sob o risco de comprometer a correta leitura da hierarquia das seções
book: true
top-level-division: chapter
---
<!-- Geralmente deixamos o cabeçalho YAML no topo do texto, mas não há nenhum problema em localiza-lo no final ou em qualquer outra parte do texto. É importante apenas ter certeza de que todos os dados estão preenchidos e entre ASPAS RETAS simples (aspas curvas causam erro). Se você tiver algum problema durante a conversão, confira se as aspas são retas. -->
<!--- Para facilitar a vida do usuário, vamos desenvolver as páginas iniciais usando seções do texto. Dizendo de outro modo, estes elementos como resumo, agradecimentos, etc... deveriam fazer parte do cabeçalho acima, mas vamos usar um filtro na conversão que o colocará no lugar correto para nós. É importante apenas não mudar o nome das seções. -->
# Dedicatoria
Dedico a tese ao verme que primeiro roer a fria carne de meu cadáver.
# Agradecimentos
Ao Brasil, por eleger Bolsonaro e mostrar que o ruim sempre pode ficar pior.
# Epigrafe
And all our yesterdays have lighted fools
The way to dusty death.
Macbeth (Act 5, Scene 5, lines 1728)
# Advertencia
Este trabalho foi realizado com atenção às diretrizes da *Associação Brasileira de Normas Técnicas* (ABNT). No entanto, no que toca à citação e referência de autores antigos, seguimos as normas consagradas no meio dos Estudos Clássicos; isto é, citar os autores a partir da numeração presente na edição de referência do texto grego, e não a partir das traduções e edições recentes.
# Resumo
Texto do resumo
# Abstract
The content of the abstract
# Abreviacoes
**Aristóteles**
APo - *Analytica Posteriora*
APr - *Analytica Priora*
Aud - *de Audibilibus*
Cael - *de Caelo*
Cat - *Categoriae*
Col - *de Coloribus*
DA - *de Anima*
DivSomn - *de Divinatione per Somnia*
EE - *Ethica Eudemia*
EN - *Ethica Nicomachea*
GA - *de Generatione Animalium*
GC - *de Generatione et Corruptione*
HA - *Historia Animalium*
IA - *de Incessu Animalium*
Insomn - *de Insomniis*
Int - *de Interpretatone*
Juv - *de Juventute*
LI - *de Lineis Insecabilibus*
Long - *De Longitudine et Brevitate Vitae*
MA - *de Motu Animalium*
MM - *Magna Moralia*
Mech - *Mechanica*
Mem - *de Memoria*
Metaph - *Metaphysica*
Mete - *Meteorologica*
Mir - *Mirabilia*
Mu - *de Mundo*
Oec - *Oeconomica*
PA - *de Partibus Animalium*
Phys - *Physica*
Phgn - *Physiognomonica*
Poet - *Poetica*
Pol - *Politica*
Pr - *Problemata*
Resp - *de Respiratione*
Rhet - *Rhetorica*
RhAl - *Rhetorica ad Alexandrum*
SE - *De Sophisticis Elenchis*
Sensu - *de Sensu et Sensibilibus*
SomnVig - *de Somno et Vigilia*
Spir - *de Spiritu*
Top - *Topica*
VV - *de Virtutibus et Vitiis*
Vent - *de Ventis*
Xen - *de Xenophane*
**Platão **
Apol - *Apologia*
Charm - *Cármides*
Crat - *Crátilo*
Crit - *Críton*
Euth - *Eutidemo*
Euth - *Eutífron*
Gorg - *Górgias*
Lach - *Laques*
Lg - *Leis*
Lys - *Lísis*
Men - *Mênon*
Parm - *Parmênides*
Phae - *Fedro*
Phae - *Fédon*
Philb - *Filebo*
Prot - *Protágoras*
Rep - *República*
Soph - *Sofista*
State - *Político*
Symp - *Simpósio*
Thea - *Teeteto*
Tim - *Timeu*
<!-- Agora começa propriamente o corpo do texto. -->
# Capítulo 1
Introdução ao capítulo 1
## Seção 1
Texto formatado em *itálico* ou **negrito** com uso de referências (@Metaph_Ross_a, p. 134) e notas de rodapé[^1].
[^1]: Eu sou uma nota de rodapé e posso ficar em qualquer lugar do texto.
## Seção 2
E com uso de citações em bloco:
> Citação em bloco de mais de 3 linhas ilustrada com o glorioso lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
# Capítulo 2
A hierarquia é definida pelo nível dos cabeçalhos. "# " indica um capítulo, enquanto "## " indica uma seção. Os níveis vão de h1-h4 (capítulo, seção, subseção, parágrafo).
## Seção 1
Seção com uso de referências (@Carr2005, p. 90) e mais notas de rodapé[^2].
[^2]: Essa nota pode ficar logo abaixo do parágrafo de onde ela provém ou mesmo no fim do documento.
## Seção 2
É rápido, prático e fácil. Sem qualquer necessidade de gastar horas formatando um documento do Word (@deHaas2004, p. 4). Para que as referências bibliográficas funcionem, pode ser interessante ativar uma função do Zotero que mantém a biblioteca sincronizada com um arquivo BibTeX externo. Com isso, basta incluir o arquivo da bibliografia usando o cabeçalho ou o comando de conversão.
# Bibliografia {-}
<!-- Não há necessidade de alterar essa seção se você estiver usando o CITEPROC para gerar a bibliografia. Caso contrário, você pode apagar e inserir manualmente as suas referências -->
::: {#refs}
:::