# UnBTeX: A class for bachelor, master, and doctoral thesis at the
# University of Brasilia (UnB), Brazil.
# Version 1.6 2026/05/02

Copyright (C) 2021-2026 by Henrique C. Ferreira <hcferreira@unb.br>

The package provides a class based on abnTeX and compatible with
pdflatex and bibtex to prepare theses for the University of Brasilia
(UnB), Brazil. The class also comes with a template for the various
types of theses for ungraduated and graduated programs at UnB.

Please note that the documentation for the class and the comments in
the templates are all written in Portuguese, the language of the
target audience.

This package includes the class file unbtex.cls and the bibliography
style package unbtexcite.sty.
To compile the unbtex-example.tex file, you should use latexmk.

Here is a history of changes:
  1.0 (2021-12-15): Initial release
  1.1 (2022-05-23): 
    . Changed \codigocutter to \numerocutter 
    . The argument of \preambulo command now admits a more general text
  1.1.1 (2022-05-30):
    . Changed abntex2 commands \orientador and \coorientador to do the 
      same as \orient and \coorient
    . Changed hyphenation for \preambulo text in portuguese when
      english language is selected
  1.1.2 (2022-07-29):
    . Page break on the copyright page has been corrected
    . Documentation and comments improvements
  1.1.3 (2022-09-04):
    . Improved compilation time
  1.2 (2022-10-05):
    . The styles of Table of Contents (Sumário), List of Sybols (Lista
      de símbolos), and List of Acronyms (Lista de abreviaturas) have
      been modified
    . A compilation problem with Tex Live 2022 that arises when
      microtype package is used has been solved
  1.2.1 (2023-06-15):
    . Braces around equation numbering and language option for
      \autoref command has been corrected
    . The code comments have been improved
  1.3 (2023-10-17):
    . To avoid the compilation time limit in Overleaf, the biblatex 
      bibliography package has been replaced by the bibtex package, 
      and the TikZ package for drawings no more has not been used
    . The indentation of lists of figures and tables have been
      corrected
    . The cleveref package is now being used for cross-references
      instead of the autoref command
  1.3.1 (2023-10-18):
    . The abntex2eng-alf.bst file was included to format bibliographic 
      references in ABNT style for documents written in English
  1.3.2 (2023-10-20):
    . Documentation and comments improvements
  1.3.3 (2023-11-02):
    . The abntex2eng-alf.bst file has been replaced by the
      unbtexcite-en.bst and unbtexcite-pt.bst files. These style files
      generate citations and bibliographic references in accordance
      with updates to ABNT's NBR 6023:2018 and NBR 10520:2023
      standards 
    . Example and code comments improvements
  1.4 (2023-11-15):
    . Text main font based on stix2 package has been replace by
      stickstoo package to improve math subscript spacing
    . Sans serif font scale has been adjusted (helvet package)
    . Typewriter font and scale have been changed (inconsolata package)
    . Font size and line spread of verbatim environment have been
      modified
    . Cross-references names for listing, algorithm, and theorem
      environments have been corrected
    . Indentation and line spacing of references list have been
      adjusted
    . Figure and table numbering by chapter have been corrected
  1.4.1 (2023-11-27):
    . Figure captions have been moved to the top to comply with the
      ABNT standard
    . Spacing between figures/tables and captions/legends has been 
      adjusted
    . Spacing between figures/tables and text has been adjusted
    . Spacing in list environments has been adjusted
  1.4.2 (2023-12-15):
    . Cross-references to the appendix and annex using the cref command
      have been corrected
    . The lists of abbreviations and acronyms, as well as the list of 
      symbols, have been enhanced, and page numbering has been removed
    . The chapters of the example document have been reorganized
  1.4.3 (2023-12-22):
    . Keywords in English have been included on the copyright page if 
      the document is written in this language
    . Examples of long tables and rotated tables have been included
  1.4.4 (2024-01-05):
    . The pdfpages package has been used to include pages from PDF 
      documents
    . The sans-serif font Helvetica (helvet package) has been replaced 
      by the TeX Gyre Heros font (tgheros package)
  1.5 (2024-02-02):
    . ABNT style with a numeric citation scheme for bibliographic 
      references has been included
    . Added an option to the UnBTeX class for selecting the citation 
      style (author-year or numeric)
    . Added an option to the UnBTeX class for selecting the main
      language of the text (Brazilian Portuguese or English)
    . The font size of the title is automatically adjusted according
      to its length (and number of lines)
    . Reorganization of the class source code and improvements in the 
      comments
    . The template text has been revised and improved
  1.5.1 (2024-03-02):
    . The approval sheet (folha de aprovação) has been changed
    . The bottom margin size has been corrected to be consistently 
      adhered to
  1.5.2 (2024-07-04):
    . The length of the footnote separator line has been corrected 
      according to ABNT standards
    . The left margin indentation of the citacao environment has been 
      corrected according to ABNT standards
    . The left margin indentation of the references can be adjusted by 
      the user
  1.5.3 (2024-10-07):
    . A back cover has been added to the template
    . Language options for the Babel package are now declared directly 
      in the UnBTeX class file
    . Included the DOI (Digital Object Identifier) field in
      bibliography entries
    . An environment for including charts (quadros) has been created, 
      and the list of charts has been added
    . Included list of algorithms and list of codes
    . The packages algpseudocode and algorithm have been replaced by 
      the algorithm2e package for including pseudocode
    . The internal cross-referencing for tables created with the
      longtable package has been corrected
    . An option has been added to the UnBTeX class to select the
      numbering style for figures, tables, etc., either by chapter or
      for the entire document
    . The options article and twocolumn of the Memoir class have been
      configured for use
    . The example document has been updated and reorganized
  1.5.4 (2025-01-10):
    . Added an option to the UnBTeX class to enable back-referencing in
      the bibliography
  1.5.5 (2025-04-10):
    . The microtype package has been configured to reduce compilation
      time
  1.5.6 (2025-08-28):
    . The conflict between the newtxmath and mathalpha packages was
      resolved by replacing the mathalpha package with the bm package
    . In order to optimize compilation time on Overleaf, a latexmkrc
      configuration file was introduced to restrict the number of
      pdflatex runs
  1.5.7 (2025-09-05):
    . The warning triggered by the use of the \showhyphens command by
      the microtype package in TeX Live 2025 has been suppressed
  1.6 (2026-05-02):
    . The abntex class has been incorporated into the unbtex.cls file
      of the unbtex class
    . The brazilian option has replaced the obsolete brazil option in
      the babel package
    . In order to comply with the most recent updates to ABNT standards
      for bibliographic references, the unbtexcite package was developed
      to replace the abntex2cite package
    . The subcaption package has replaced the obsolete subfig package
      for creating subfigures and subtables.
    . Added the chapnamesec option to divide the document into sections
      instead of chapters, in accordance with ABNT NBR 14724:2024,
      Section 4.2.2

## Overleaf

The template is available on [Overleaf]
(https://www.overleaf.com/latex/templates/unbtex-a-class-for-bachelor-master-and-doctoral-thesis-at-university-of-brasilia-unb/rfsxjkzprztc).

## Licence

This class file may be distributed and/or modified under the conditions
of the LaTeX Project Public License, either version 1.3 of this license
or (at your option) any later version. The latest version of this
license is in:

https://www.latex-project.org/lppl.txt

and version 1.3 or later is part of all distributions of LaTeX version
2005/12/01 or later.