ABNT-compliant academic templates for articles, theses, and slides — LuaLaTeX + Pandoc + Nix.
devenv shell
devenv tasks run tmpl:article # build article
devenv tasks run tmpl:thesis # build thesis
devenv tasks run tmpl:slides # build slides
devenv tasks run tmpl:all # build all three
devenv tasks run tmpl:test # run busted tests| Template | Output | Package |
|---|---|---|
| Article | templates/article/article.pdf |
\usepackage{academic-templates} |
| Thesis | templates/thesis/thesis.pdf |
\usepackage[thesis]{academic-templates} |
| Slides | templates/slides/slides.pdf |
\usepackage{academic-templates} |
package/
├── main.sty ← entry point
├── src/
│ ├── packages.sty ← shared \usepackage declarations
│ ├── commands.sty ← \insertFigure, \insertTable
│ ├── fmt.sty ← ABNT formatting, fonts, captions
│ ├── thesis.sty ← thesis TeX macros
│ └── thesis.lua ← thesis Lua logic
└── package.nix ← nixpkgs texlive derivation
# flake.nix
inputs.academic-templates.url = "github:phrmendes/academic-templates";
# In your derivation
texliveSmall.withPackages (ps: [ academic-templates ]);devenv tasks run tmpl:test # 11 busted testsApache-2.0 — Copyright © 2024 Pedro Mendes