Skip to content

Instantly share code, notes, and snippets.

@cereda
Created November 25, 2019 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cereda/2d7ef3ee4f6abf51fe27a21b37f5f097 to your computer and use it in GitHub Desktop.
Save cereda/2d7ef3ee4f6abf51fe27a21b37f5f097 to your computer and use it in GitHub Desktop.
A simple ABNT-compliant document structure.
\documentclass[12pt, oneside, a4paper]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\setulmarginsandblock{3cm}{2cm}{*}
\setlrmarginsandblock{3cm}{2cm}{*}
\checkandfixthelayout
\usepackage[alf]{abntex2cite}
\nouppercaseheads
\aliaspagestyle{chapter}{simple}
\begin{document}
\begin{titlingpage}
Cover
\end{titlingpage}
\mainmatter
\chapter{Foo}
Bar
\bibliographystyle{abntex2-alf}
\bibliography{bibfilehere}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment