Directory macros/latex/contrib/instituto-federal-logomaker
instituto-federal-logomaker
Author: Robert de Amorim Pontes (@geosmina) — robert.pontes@ifmt.edu.br — ORCID 0009-0005-6606-7755
TikZ package for the official Instituto Federal brand mark, following the Manual de Aplicação da Marca Instituto Federal, 3rd ed. (2015). The package name refers to the Brazilian Institutos Federais; the LaTeX command is the short iflogomaker.
- Version: 1.0.0
- Licence: LPPL 1.3c (see LICENSE)
- Requires: LaTeX2ε, TikZ, iftex and Open Sans — via opensans (pdfLaTeX) or fontspec (XeLaTeX/LuaLaTeX). The font is mandatory.
- Engines: pdfLaTeX, XeLaTeX, LuaLaTeX
- Documentation: doc/instituto-federal-logomaker-doc.pdf
Installation
For a per-user TeX Live installation:
mkdir -p ~/texmf/tex/latex/instituto-federal-logomaker cp instituto-federal-logomaker.sty ~/texmf/tex/latex/instituto-federal-logomaker/ mktexlsr ~/texmf
Or use the project directory directly:
TEXINPUTS=./iflogomaker-latex: pdflatex article.tex
For a system-wide installation, copy the file to TEXMFDIST/tex/latex/instituto-federal-logomaker and run mktexlsr (requires administrator rights).
Usage
\documentclass{article}
\usepackage{instituto-federal-logomaker}
\begin{document}
\iflogomaker[layout=horizontal, variacao=nome, instituto={Mato Grosso}]{25mm}
\end{document}
The mandatory argument is the total height of the symbol. The package draws everything with TikZ and needs no external image.
Options
| Key | Values |
|---|---|
| layout | horizontal (default), vertical |
| variacao | institucional, nome (default), nome-estrutura, completa, completa-nome |
| instituto | name shown on the second line (e.g. Mato Grosso) |
| campus | structure name; accepts \ to break the line |
| tipo-estrutura | Campus (default), Campus Avançado, Polo de Inovação, Reitoria, ... |
| esquema | colorida, colorida-escura, mono-positiva, mono-negativa, cinza |
| fundo | transparente (default), branco, escuro |
| reserva | true/false — 1x integrity reserve |
| cooperada | true/false — 3x co-branding clearance |
| lado-cooperada | direita (default), esquerda, cima, baixo |
| separador | true (default) — rule before the structure block (vertical) |
| estrito | true — turns the minimum-size warning into an error |
Examples
% Mark + name + campus (horizontal)
\iflogomaker[layout=horizontal, variacao=nome-estrutura,
instituto={Mato Grosso},
campus={Cuiabá - Cel. Octayde Jorge da Silva}]{18mm}
% Vertical: the type stays on the first line; \\ controls the breaks
\iflogomaker[layout=vertical, variacao=nome-estrutura,
instituto={Mato Grosso},
campus={Cuiabá \\ Cel. Octayde \\ Jorge da Silva}]{20mm}
% Negative monochrome on a dark background
\iflogomaker[esquema=mono-negativa, fundo=escuro, variacao=nome,
instituto={Mato Grosso}]{15mm}
% Co-branding (3x) inside the white protection box
\iflogomaker[variacao=nome, instituto={Mato Grosso},
fundo=branco, cooperada=true]{20mm}
Fonts
Open Sans is mandatory (manual, p. 16). The package never falls back to another font:
- pdfLaTeX: loads the opensans package; if it is missing, compilation stops with an explicit error.
- XeLaTeX/LuaLaTeX: loads fontspec, looks for the "Open Sans" family on the system and, if needed, for the OpenSans-Regular.ttf / OpenSans-Bold.ttf files of the TeX distribution; if none is found, it also raises an error.
- The cap height is measured in the loaded font, guaranteeing 0.75x in every engine.
Development
The package uses l3build:
l3build doc # typesets doc/instituto-federal-logomaker-doc.tex l3build check # typesets testfiles/test-basico.lvt l3build install # installs into TEXMFHOME l3build ctan # builds the archive for CTAN
The sibling project iflogomaker generates the same signatures in SVG, PNG and PDF from the same geometric core.
Citation
@software{instituto_federal_logomaker,
author = {Pontes, Robert de Amorim},
title = {instituto-federal-logomaker: a marca Instituto Federal em LaTeX},
year = {2026},
version = {1.0.0},
url = {https://github.com/CTI-IFMT-CBA/iflogomaker-latex},
doi = {10.5281/zenodo.24867270}
}
DOI: 10.5281/zenodo.24867270 (concept DOI, always resolves to the latest version). Metadata is also in CITATION.cff.
AI-generated content
Generative AI (DeepSeek) was used to write and run tests, improve the code and align it with the brand manual. Every change is reviewed and tested by the maintainers, who are responsible for the published releases.
About
Hobby project, made independently, with no affiliation to MEC, Setec, the Institutos Federais or any public body, and no commercial intent. The Instituto Federal mark is an institutional symbol of the Brazilian Federal Government; this package grants no rights over it.
Reference manual: MEC/Setec, Manual de Aplicação da Marca Instituto Federal, 3rd ed., 2015.
Português
Sobre
Pacote LaTeX (TikZ) para desenhar as assinaturas oficiais da marca Instituto Federal em documentos, seguindo o Manual de Aplicação da Marca Instituto Federal, 3. ed. (2015). O nome do pacote remete aos Institutos Federais; o comando é o curto iflogomaker.
- Versão: 1.0.0
- Licença: LPPL 1.3c (ver LICENSE)
- Requer: LaTeX2ε, TikZ, iftex e Open Sans — via opensans (pdfLaTeX) ou fontspec (XeLaTeX/LuaLaTeX). A fonte é obrigatória.
- Motores: pdfLaTeX, XeLaTeX, LuaLaTeX
- Documentação: doc/instituto-federal-logomaker-doc.pdf
Instalação
mkdir -p ~/texmf/tex/latex/instituto-federal-logomaker cp instituto-federal-logomaker.sty ~/texmf/tex/latex/instituto-federal-logomaker/ mktexlsr ~/texmf
Ou use a pasta local do projeto:
TEXINPUTS=./iflogomaker-latex: pdflatex artigo.tex
Para instalar pela árvore do sistema, copie para TEXMFDIST/tex/latex/instituto-federal-logomaker e rode mktexlsr (requer permissão de administrador).
Uso
\documentclass{article}
\usepackage{instituto-federal-logomaker}
\begin{document}
\iflogomaker[layout=horizontal, variacao=nome, instituto={Mato Grosso}]{25mm}
\end{document}
O argumento obrigatório é a altura total do símbolo. O pacote desenha tudo em TikZ e não depende de imagens externas.
Opções
| Chave | Valores |
|---|---|
| layout | horizontal (padrão), vertical |
| variacao | institucional, nome (padrão), nome-estrutura, completa, completa-nome |
| instituto | nome exibido na 2ª linha (ex.: Mato Grosso) |
| campus | nome da estrutura; aceita \ para quebrar linha |
| tipo-estrutura | Campus (padrão), Campus Avançado, Polo de Inovação, Reitoria… |
| esquema | colorida, colorida-escura, mono-positiva, mono-negativa, cinza |
| fundo | transparente (padrão), branco, escuro |
| reserva | true/false — reserva de integridade de 1x |
| cooperada | true/false — afastamento de 3x |
| lado-cooperada | direita (padrão), esquerda, cima, baixo |
| separador | true (padrão) — régua antes da estrutura na vertical |
| estrito | true — transforma o aviso de redução máxima em erro |
Exemplos
% Marca + nome + campus (horizontal)
\iflogomaker[layout=horizontal, variacao=nome-estrutura,
instituto={Mato Grosso},
campus={Cuiabá - Cel. Octayde Jorge da Silva}]{18mm}
% Vertical: o tipo fica na primeira linha e \\ controla as quebras
\iflogomaker[layout=vertical, variacao=nome-estrutura,
instituto={Mato Grosso},
campus={Cuiabá \\ Cel. Octayde \\ Jorge da Silva}]{20mm}
% Monocromática negativa sobre fundo escuro
\iflogomaker[esquema=mono-negativa, fundo=escuro, variacao=nome,
instituto={Mato Grosso}]{15mm}
% Assinatura cooperada (3x) sobre caixa branca
\iflogomaker[variacao=nome, instituto={Mato Grosso},
fundo=branco, cooperada=true]{20mm}
Fontes
A Open Sans é obrigatória (manual, p. 16). O pacote não gera a marca com outra fonte:
- pdfLaTeX: carrega o pacote opensans; se ele faltar, a compilação para com erro explícito.
- XeLaTeX/LuaLaTeX: carrega fontspec, procura a família "Open Sans" no sistema e, se necessário, os arquivos OpenSans-Regular.ttf / OpenSans-Bold.ttf da distribuição TeX; sem eles, também há erro.
- A altura de caixa é medida na fonte carregada, garantindo 0,75x de caixa em qualquer motor.
Desenvolvimento
l3build doc # compila doc/instituto-federal-logomaker-doc.tex l3build check # compila testfiles/test-basico.lvt l3build install # instala no TEXMFHOME l3build ctan # gera o arquivo para a CTAN
O repositório iflogomaker gera as mesmas assinaturas em SVG, PNG e PDF a partir do mesmo núcleo geométrico.
Como citar
@software{instituto_federal_logomaker,
author = {Pontes, Robert de Amorim},
title = {instituto-federal-logomaker: a marca Instituto Federal em LaTeX},
year = {2026},
version = {1.0.0},
url = {https://github.com/CTI-IFMT-CBA/iflogomaker-latex},
doi = {10.5281/zenodo.24867270}
}
DOI: 10.5281/zenodo.24867270 (DOI de conceito, sempre resolve para a versão mais recente). Metadados também em CITATION.cff.
Uso de IA generativa
Foi usada IA generativa (DeepSeek) para escrever e rodar testes, melhorar o código e alinhá-lo aos padrões do Manual de Aplicação da Marca. Toda mudança é revisada e testada pelos mantenedores, que respondem pelas releases publicadas.
Sobre o projeto
Projeto de hobby, feito de forma independente, sem vínculo com o MEC, a Setec, os Institutos Federais ou qualquer órgão público, e sem intenção comercial. A marca Instituto Federal é um símbolo institucional do Governo Federal; este pacote não concede direitos sobre ela.
Manual de referência: MEC/Setec, Manual de Aplicação da Marca Instituto Federal, 3. ed., 2015.
Download the contents of this package in one zip archive (192.8k).
Instituto-federal-logomaker – TikZ drawings of the Instituto Federal brand mark
This package provides TikZ commands to typeset the official Instituto Federal (Brazilian Federal Network of Vocational, Scientific and Technological Education) brand mark in LaTeX documents, following the Manual de Aplicação da Marca Instituto Federal (3rd ed., 2015): module grid, five horizontal and three vertical variants, five colour schemes, the 1x integrity reserve and 3x co-branding clearance. It works with pdfLaTeX, XeLaTeX, and LuaLaTeX and requires the Open Sans font.
| Package | Instituto-federal-logomaker |
| Home page | |
| Bug tracker | |
| Repository | |
| Version | 1.0.0 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Robert de Amorim Pontes |
| Maintainer | Robert de Amorim Pontes |
| Topics | Standard conform PGF TikZ Logo |