| 1 |
# UnBTeX: A class for bachelor, master, and doctoral thesis at the |
| 2 |
# University of Brasilia (UnB), Brazil. |
| 3 |
# Version 1.6.4 2026/05/25 |
| 4 |
|
| 5 |
Copyright (C) 2021-2026 by Henrique C. Ferreira <[email protected]> |
| 6 |
|
| 7 |
The package provides a class based on abnTeX and compatible with |
| 8 |
pdflatex and bibtex to prepare theses for the University of Brasilia |
| 9 |
(UnB), Brazil. The class also comes with a template for the various |
| 10 |
types of theses for ungraduated and graduated programs at UnB. |
| 11 |
|
| 12 |
Please note that the documentation for the class and the comments in |
| 13 |
the templates are all written in Portuguese, the language of the |
| 14 |
target audience. |
| 15 |
|
| 16 |
This package includes the class file unbtex.cls and the bibliography |
| 17 |
style package unbtexcite.sty. |
| 18 |
Run pdflatex on the main .tex file (with bibtex/makeindex if needed) |
| 19 |
and rerun as necessary (or use latexmk with the provided latexmkrc file) |
| 20 |
|
| 21 |
Here is a history of changes: |
| 22 |
1.0 (2021-12-15): Initial release |
| 23 |
1.1 (2022-05-23): |
| 24 |
. The \codigocutter command has been replaced by the \numerocutter |
| 25 |
command. |
| 26 |
. The \preambulo command has been modified to accept more general |
| 27 |
text |
| 28 |
1.1.1 (2022-05-30): |
| 29 |
. Changed abntex2 commands \orientador and \coorientador to do the |
| 30 |
same as \orient and \coorient |
| 31 |
. Changed hyphenation for \preambulo text in portuguese when |
| 32 |
english language is selected |
| 33 |
1.1.2 (2022-07-29): |
| 34 |
. Page break on the copyright page has been corrected |
| 35 |
. Documentation and comments improvements |
| 36 |
1.1.3 (2022-09-04): |
| 37 |
. Improved compilation time |
| 38 |
1.2 (2022-10-05): |
| 39 |
. The styles of Table of Contents, List of Symbols, and List of |
| 40 |
Acronyms have been modified |
| 41 |
. A compilation problem with Tex Live 2022 that arises when |
| 42 |
microtype package is used has been solved |
| 43 |
1.2.1 (2023-06-15): |
| 44 |
. Braces around equation numbering and language option for |
| 45 |
\autoref command has been corrected |
| 46 |
. The code comments have been improved |
| 47 |
1.3 (2023-10-17): |
| 48 |
. To avoid the compilation time limit in Overleaf, the biblatex |
| 49 |
bibliography package has been replaced by the bibtex package, |
| 50 |
and the TikZ package for drawings no more has not been used |
| 51 |
. The indentation of lists of figures and tables have been |
| 52 |
corrected |
| 53 |
. The cleveref package is now being used for cross-references |
| 54 |
instead of the autoref command |
| 55 |
1.3.1 (2023-10-18): |
| 56 |
. The abntex2eng-alf.bst file was included to format bibliographic |
| 57 |
references in ABNT style for documents written in English |
| 58 |
1.3.2 (2023-10-20): |
| 59 |
. Documentation and comments improvements |
| 60 |
1.3.3 (2023-11-02): |
| 61 |
. The abntex2eng-alf.bst file has been replaced by the |
| 62 |
unbtexcite-en.bst and unbtexcite-pt.bst files. These style files |
| 63 |
generate citations and bibliographic references in accordance |
| 64 |
with updates to ABNT's NBR 6023:2018 and NBR 10520:2023 |
| 65 |
standards |
| 66 |
. Example and code comments improvements |
| 67 |
1.4 (2023-11-15): |
| 68 |
. Text main font based on stix2 package has been replace by |
| 69 |
stickstoo package to improve math subscript spacing |
| 70 |
. Sans serif font scale has been adjusted (helvet package) |
| 71 |
. Typewriter font and scale have been changed (inconsolata package) |
| 72 |
. Font size and line spread of verbatim environment have been |
| 73 |
modified |
| 74 |
. Cross-references names for listing, algorithm, and theorem |
| 75 |
environments have been corrected |
| 76 |
. Indentation and line spacing of references list have been |
| 77 |
adjusted |
| 78 |
. Figure and table numbering by chapter have been corrected |
| 79 |
1.4.1 (2023-11-27): |
| 80 |
. Figure captions have been moved to the top to comply with the |
| 81 |
ABNT standard |
| 82 |
. Spacing between figures/tables and captions/legends has been |
| 83 |
adjusted |
| 84 |
. Spacing between figures/tables and text has been adjusted |
| 85 |
. Spacing in list environments has been adjusted |
| 86 |
1.4.2 (2023-12-15): |
| 87 |
. Cross-references to the appendix and annex using the cref command |
| 88 |
have been corrected |
| 89 |
. The lists of abbreviations and acronyms, as well as the list of |
| 90 |
symbols, have been enhanced, and page numbering has been removed |
| 91 |
. The chapters of the example document have been reorganized |
| 92 |
1.4.3 (2023-12-22): |
| 93 |
. Keywords in English have been included on the copyright page if |
| 94 |
the document is written in this language |
| 95 |
. Examples of long tables and rotated tables have been included |
| 96 |
1.4.4 (2024-01-05): |
| 97 |
. The pdfpages package has been used to include pages from PDF |
| 98 |
documents |
| 99 |
. The sans-serif font Helvetica (helvet package) has been replaced |
| 100 |
by the TeX Gyre Heros font (tgheros package) |
| 101 |
1.5 (2024-02-02): |
| 102 |
. ABNT style with a numeric citation scheme for bibliographic |
| 103 |
references has been included |
| 104 |
. Added an option to the UnBTeX class for selecting the citation |
| 105 |
style (author-year or numeric) |
| 106 |
. Added an option to the UnBTeX class for selecting the main |
| 107 |
language of the text (Brazilian Portuguese or English) |
| 108 |
. The font size of the title is automatically adjusted according |
| 109 |
to its length (and number of lines) |
| 110 |
. Reorganization of the class source code and improvements in the |
| 111 |
comments |
| 112 |
. The template text has been revised and improved |
| 113 |
1.5.1 (2024-03-02): |
| 114 |
. The approval sheet (folha de aprovação) has been changed |
| 115 |
. The bottom margin size has been corrected to be consistently |
| 116 |
adhered to |
| 117 |
1.5.2 (2024-07-04): |
| 118 |
. The length of the footnote separator line has been corrected |
| 119 |
according to ABNT standards |
| 120 |
. The left margin indentation of the citacao environment has been |
| 121 |
corrected according to ABNT standards |
| 122 |
. The left margin indentation of the references can be adjusted by |
| 123 |
the user |
| 124 |
1.5.3 (2024-10-07): |
| 125 |
. A back cover has been added to the template |
| 126 |
. Language options for the Babel package are now declared directly |
| 127 |
in the UnBTeX class file |
| 128 |
. Included the DOI (Digital Object Identifier) field in |
| 129 |
bibliography entries |
| 130 |
. An environment for including charts (quadros) has been created, |
| 131 |
and the list of charts has been added |
| 132 |
. Included list of algorithms and list of codes |
| 133 |
. The packages algpseudocode and algorithm have been replaced by |
| 134 |
the algorithm2e package for including pseudocode |
| 135 |
. The internal cross-referencing for tables created with the |
| 136 |
longtable package has been corrected |
| 137 |
. An option has been added to the UnBTeX class to select the |
| 138 |
numbering style for figures, tables, etc., either by chapter or |
| 139 |
for the entire document |
| 140 |
. The options article and twocolumn of the Memoir class have been |
| 141 |
configured for use |
| 142 |
. The example document has been updated and reorganized |
| 143 |
1.5.4 (2025-01-10): |
| 144 |
. Added an option to the UnBTeX class to enable back-referencing in |
| 145 |
the bibliography |
| 146 |
1.5.5 (2025-04-10): |
| 147 |
. The microtype package has been configured to reduce compilation |
| 148 |
time |
| 149 |
1.5.6 (2025-08-28): |
| 150 |
. The conflict between the newtxmath and mathalpha packages was |
| 151 |
resolved by replacing the mathalpha package with the bm package |
| 152 |
. In order to optimize compilation time on Overleaf, a latexmkrc |
| 153 |
configuration file was introduced to restrict the number of |
| 154 |
pdflatex runs |
| 155 |
1.5.7 (2025-09-05): |
| 156 |
. The warning triggered by the use of the \showhyphens command by |
| 157 |
the microtype package in TeX Live 2025 has been suppressed |
| 158 |
1.6 (2026-05-02): |
| 159 |
. The abntex class has been incorporated into the unbtex.cls file |
| 160 |
of the unbtex class |
| 161 |
. The brazilian option has replaced the obsolete brazil option in |
| 162 |
the babel package |
| 163 |
. In order to comply with the most recent updates to ABNT standards |
| 164 |
for bibliographic references, the unbtexcite package was developed |
| 165 |
to replace the abntex2cite package |
| 166 |
. The subcaption package has replaced the obsolete subfig package |
| 167 |
for creating subfigures and subtables. |
| 168 |
. Added the chapnamesec option to divide the document into sections |
| 169 |
instead of chapters, in accordance with ABNT NBR 14724:2024, |
| 170 |
Section 4.2.2 |
| 171 |
1.6.1 (2026-05-05): |
| 172 |
. The files cover.pdf and backcover.pdf have been renamed to |
| 173 |
unbtexcover-front.pdf and unbtexcover-back.pdf to comply with |
| 174 |
CTAN requirements |
| 175 |
1.6.2 (2026-05-15): |
| 176 |
. The class code has been reorganized, and commands from the ifthen |
| 177 |
package have been replaced by commands from other packages already |
| 178 |
in use |
| 179 |
. The spacing between the text and the en dash in appendix and annex |
| 180 |
titles has been corrected both in the document and in the table of |
| 181 |
contents |
| 182 |
. The use of uppercase letters in chapter titles has been |
| 183 |
synchronized between the document and the table of contents through |
| 184 |
the chapter=TITLE option inherited from the abntex2 class |
| 185 |
1.6.3 (2026-05-20): |
| 186 |
. The numbering of floating objects when the article option is |
| 187 |
enabled has been corrected |
| 188 |
. The use of uppercase letters in appendix and annex titles when the |
| 189 |
article option is enabled has been corrected |
| 190 |
. The vertical spacing between figures and tables and their captions |
| 191 |
and notes has been improved |
| 192 |
. The line spacing of the bibliography has been changed to |
| 193 |
automatically follow the spacing used in the rest of the document |
| 194 |
1.6.4 (2026-05-25): |
| 195 |
. Added the refbib=abnt option for formatting the reference list |
| 196 |
according to ABNT standards |
| 197 |
. Revised definitions of the \legend, \fonte, and \nota commands |
| 198 |
. The code generating the abbreviation/acronym and symbol lists was |
| 199 |
updated to handle empty lists/groups, and a minimum width was |
| 200 |
defined for the auto-adjusted column |
| 201 |
|
| 202 |
## Overleaf |
| 203 |
|
| 204 |
The template is available on [Overleaf] |
| 205 |
(https://www.overleaf.com/latex/templates/unbtex-a-class-for-bachelor-master-and-doctoral-thesis-at-university-of-brasilia-unb/rfsxjkzprztc). |
| 206 |
|
| 207 |
## Licence |
| 208 |
|
| 209 |
This class file may be distributed and/or modified under the conditions |
| 210 |
of the LaTeX Project Public License, either version 1.3 of this license |
| 211 |
or (at your option) any later version. The latest version of this |
| 212 |
license is in: |
| 213 |
|
| 214 |
https://www.latex-project.org/lppl.txt |
| 215 |
|
| 216 |
and version 1.3 or later is part of all distributions of LaTeX version |
| 217 |
2005/12/01 or later. |