### Install TeX Live from Net Installer Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Navigate to your download directory and run the TeX Live installer script. This is part of the manual installation process for TeX Live. ```bash cd ~/seu_diretório_de_download/ ./install-tl ``` -------------------------------- ### Perform Full TeX Live Installation Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Download the TeX Live installer, extract it, and run the installation using the downloaded full profile. This method is suitable for scripts. ```bash wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && tar -xf install-tl-unx.tar.gz && cd install-tl-* && sudo ./install-tl -no-gui -profile ../texlive-full.profile && cd .. ``` -------------------------------- ### Perform Minimal TeX Live Installation Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Download and install TeX Live using the minimal profile. This is efficient for environments that require only basic functionality. ```bash wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && tar -xf install-tl-unx.tar.gz && cd install-tl-* && sudo ./install-tl -no-gui -profile ../abntex2-minimo.profile && cd .. ``` -------------------------------- ### Install abnTeX2 using GNU Make Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Run the `make install` command within the extracted abnTeX2 directory to automatically install the package. This method is recommended for GNU/Linux environments. ```bash $ sudo make install ``` -------------------------------- ### Bookmark setup in textual and postextual Source: https://github.com/abntex/abntex2/wiki/ReleaseNotes The \bookmarksetup{startatroot} command is now included by default in \textual and \postextual within the abntex2.cls class. ```tex \bookmarksetup{startatroot} ``` ```tex \textual ``` ```tex \postextual ``` ```tex abntex2.cls ``` -------------------------------- ### Install TeXLive Full from Ubuntu 13.10 Source: https://github.com/abntex/abntex2/wiki/FAQ Installs the complete TeXLive distribution from the Ubuntu 13.10 repository. Use this command if you need all TeX packages. Ensure you have updated your package list first. ```shell sudo apt-get update && sudo apt-get install -y -t saucy texlive-full ``` -------------------------------- ### Minipage examples in abntex2-modelo-include.tex Source: https://github.com/abntex/abntex2/wiki/ReleaseNotes Examples demonstrating the usage of minipage environments are included in abntex2-modelo-include.tex. This is useful for creating side-by-side content. ```tex minipage ``` -------------------------------- ### Install abnTeX2 on Fedora 18 using yum Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Install abnTeX2 and its documentation on Fedora 18 via the command line. This command installs the main package and its documentation. ```bash sudo yum install texlive-abntex\* ``` -------------------------------- ### Extract abnTeX2 Installation Files Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Extract the abnTeX2 installation files from a tar.gz archive. This is the first step in the manual installation process using GNU Make. ```bash $ cd ~/seu_diretório_de_download $ tar xfvz abntex2.tds-vX.X.tar.gz ``` -------------------------------- ### Use Custom Figure Environment with Specific Placement (LaTeX) Source: https://github.com/abntex/abntex2/wiki/HowToCriarNovoAmbienteListing This example shows how to specify a placement order, like '[htb]', for the custom 'quadro' environment, overriding the default settings. ```latex \begin{quadro}[htb] \caption{\label{quadro_modelo}Caption do quadro} Este é o conteúdo do quadro. \end{quadro} ``` -------------------------------- ### Install abnTeX2 using yaourt Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Use this command to install or update abnTeX2 if you prefer using yaourt on Arch Linux. ```bash yaourt -S abntex2 ``` -------------------------------- ### Install abntex2-lyx package (Debian/Ubuntu) Source: https://github.com/abntex/abntex2/wiki/LyX Install the abntex2-lyx package using apt-get on Debian-based systems. ```bash sudo apt-get install abntex2-lyx ``` -------------------------------- ### French spacing in examples Source: https://github.com/abntex/abntex2/wiki/ReleaseNotes The \frenchspacing command has been added to all examples to ensure consistent spacing, particularly after punctuation. ```tex \frenchspacing ``` -------------------------------- ### Install abntex2-lyx package (RPM/Yum) Source: https://github.com/abntex/abntex2/wiki/LyX Install the abntex2-lyx package using yum on RPM-based systems. ```bash yum install abntex2-lyx ``` -------------------------------- ### Install TeXLive and clean yum cache Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux After adding the TeXLive repository, clean the yum cache and install the texlive package. This command is used for Fedora 16 and 17. ```bash # yum clean all # yum install texlive ``` -------------------------------- ### Install TeXLive repository for Fedora 17 Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Add the TeXLive 2012 repository for Fedora 17 to your system. This is a prerequisite for installing TeXLive and abnTeX2 on older Fedora versions. ```bash # rpm -i http://jnovy.fedorapeople.org/texlive/2012/packages.fc17/texlive-release.noarch.rpm ``` -------------------------------- ### Install abnTeX2 Required TeXLive Packages from Ubuntu 13.10 Source: https://github.com/abntex/abntex2/wiki/FAQ Installs only the necessary TeXLive packages for abnTeX2 from the Ubuntu 13.10 repository. This is a more minimal installation than texlive-full. Ensure you have updated your package list first. ```shell sudo apt-get update && apt-get install -y -t saucy texlive-publishers texlive-lang-portuguese texlive-latex-extra texlive-fonts-recommended ``` -------------------------------- ### Install abntex2.layout on Unix-like systems Source: https://github.com/abntex/abntex2/wiki/LyX Copy the abntex2.layout file to the LyX layouts directory for system-wide availability on Unix-like systems. Requires root privileges. ```bash sudo cp abntex2.layout /usr/share/lyx/layouts ``` -------------------------------- ### Download TeX Live Full Profile Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Download the full TeX Live profile for an unattended installation. This profile specifies all package collections to be installed. ```bash wget https://raw.githubusercontent.com/wiki/abntex/abntex2/texlive-profiles/texlive-full.profile ``` -------------------------------- ### Install TeXLive repository for Fedora 16 Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Add the TeXLive 2012 repository for Fedora 16 to your system. This is a prerequisite for installing TeXLive and abnTeX2 on older Fedora versions. ```bash # rpm -i http://jnovy.fedorapeople.org/texlive/2012/packages.fc16/texlive-release.noarch.rpm ``` -------------------------------- ### Basic abnTeX2 Document Setup Source: https://context7.com/abntex/abntex2/llms.txt This is the fundamental structure for creating an academic document with abnTeX2. It includes importing the class, essential packages, and document metadata. Ensure correct language options and package inclusions for proper formatting and functionality. ```latex \documentclass[ % opções da classe memoir 12pt, % tamanho da fonte openright, % capítulos começam em página ímpar twoside, % impressão frente e verso a4paper, % tamanho do papel % opções da classe abntex2 chapter=TITLE, % títulos de capítulos em maiúsculas (opcional) section=TITLE, % títulos de seções em maiúsculas (opcional) % opções do pacote babel english, % idioma adicional para hifenização french, % idioma adicional para hifenização brazil % o último idioma é o principal do documento ]{abntex2} % Pacotes básicos \usepackage{lmodern} % Fonte Latin Modern \usepackage[T1]{fontenc} % Seleção de códigos de fonte \usepackage[utf8]{inputenc} % Codificação UTF-8 \usepackage{indentfirst} % Indenta o primeiro parágrafo \usepackage{graphicx} % Inclusão de gráficos \usepackage{microtype} % Melhorias de justificação % Pacote de citações ABNT (sistema autor-data) \usepackage[alf]{abntex2cite} % Informações do documento \titulo{Título do Trabalho Acadêmico} \autor{Nome do Autor} \local{Cidade} \data{2024} \orientador{Nome do Orientador} \coorientador{Nome do Coorientador} % opcional \instituicao{Universidade Federal do Brasil} \tipotrabalho{Tese (Doutorado)} \preambulo{Trabalho apresentado como requisito para obtenção do título de Doutor.} \begin{document} \selectlanguage{brazil} \frenchspacing % Elementos pré-textuais \pretextual \imprimircapa \imprimirfolhaderosto* % Elementos textuais \textual \chapter{Introdução} Conteúdo do documento... % Elementos pós-textuais \postextual \bibliography{referencias} \end{document} ``` -------------------------------- ### Configure APT Pinning for TeXLive on Ubuntu 12.04 Source: https://github.com/abntex/abntex2/wiki/FAQ This configuration file is used to pin packages to a specific release, allowing the installation of newer TeXLive versions on older Ubuntu systems. Ensure the 'precise' and 'saucy' release names match your system's configuration. ```shell Package: * Pin: release precise Pin-Priority: 100 Package: * Pin: release saucy Pin-Priority: -10 ``` -------------------------------- ### Configure Listings Package in Document Preamble Source: https://github.com/abntex/abntex2/wiki/HowToFormatarCodigoFonte Include the 'listings' package and customize its behavior for source code formatting and the 'List of Listings'. This setup redefines labels and configures the list according to ABNT rules, including custom styles for Prolog. ```latex % ---% Formatação de código-fonte% ---\usepackage{listings}% Altera o nome padrão do rótulo usado no comando \autoref{}\renewcommand{\lstlistingname}{Código}% Altera o rótulo a ser usando no elemento pré-textual "Lista de código"\renewcommand{\lstlistlistingname}{Lista de códigos}% Configura a ``Lista de Códigos'' conforme as regras da ABNT (para abnTeX2)\begingroup\makeatletter\let\newcounter\@gobble\let\setcounter\@gobbletwo\globaldefs\@ne\let\c@loldepth\@ne\newlistof{listings}{lol}{\lstlistlistingname}\newlistentry{lstlisting}{lol}{0}\endgroup\renewcommand{\cftlstlistingaftersnum}{\hfill--\hfill}\let\oldlstlistoflistings\lstlistoflistings\renewcommand{\lstlistoflistings}{% \begingroup% \let\oldnumberline\numberline% \renewcommand{\numberline}{\lstlistingname\space\oldnumberline}% \oldlstlistoflistings% \endgroup}% Cria uma nova customização para a linguagem Prolog\lstloadlanguages{Prolog}\lstdefinestyle{prologCustom}{ alsoother={0123456789_}, backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor} % the size of the fonts that are used for the code basicstyle=\ttfamily\ABNTEXfontereduzida, backgroundcolor=\color{theshade}, breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace breaklines=true, % sets automatic line breaking captionpos=b, % sets the caption-position to bottom commentstyle=\color{mygreen}, % comment style deletekeywords={...}, % if you want to delete keywords from the given language escapeinside={\%*}{*)}, % if you want to add LaTeX within your code extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8 frame=single, % adds a frame around the code inputencoding=utf8, keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible) keywordstyle=\color{blue}, % keyword style language=Prolog, % the language of the code literate={á}{{\'a}}1 {ã}{{\~a}}1 {é}{{\'e}}1 {è}{{\`{e}}}1 {ê}{{\^{e}}}1 {ë}{{\¨{e}}}1 {É}{{\'{\'{E}}}}1 {Ê}{{\^{E}}}1 {û}{{\^{u}}}1 {ú}{{\'{\'u}}}1 {â}{{\^{a}}}1 {à}{{\`{a}}}1 {á}{{\'a}}1 {ã}{{\~{a}}}1 {Á}{{\'{\'A}}}1 {Â}{{\^{A}}}1 {Ã}{{\~{A}}}1 {ç}{{\c{c}}}1 {Ç}{{\c{C}}}1 {õ}{{\~{o}}}1 {ó}{{\'o}}1 {ô}{{\^{o}}}1 {Õ}{{\~{O}}}1 {Ó}{{\'{\'O}}}1 {Ô}{{\^{O}}}1 {î}{{\^{i}}}1 {Î}{{\^{I}}}1 {í}{{\'i}}1 {Í}{{\~{Í}}}1, % if you want to add more keywords to the set morekeywords={*, :-}, numberbychapter=false, numbers=left, % where to put the line-numbers; possible values are (none, left, right) numbersep=5pt, % how far the line-numbers are from the code % the style that is used for the line-numbers numberstyle=\tiny\color{theframe}\sffamily, rulecolor=\color{theframe}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here)) showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces' showstringspaces=false, % underline spaces within strings only showtabs=false, % show tabs within strings adding particular underscores stepnumber=4, % the step between two line-numbers. If it's 1, each line will be numbered stringstyle=\color{mymauve}\itshape, % string literal style tabsize=2, % sets default tabsize to 2 spaces title=\lstname, % show the filename of files included with \lstinputlisting; also try caption instead of title framexleftmargin=10pt, framexleftmargin=15pt} \lstset{escapechar=@,style=prologCustom} ``` -------------------------------- ### Add Ubuntu 13.10 Repository for TeXLive Source: https://github.com/abntex/abntex2/wiki/FAQ Adds the Ubuntu 13.10 repository to sources.list to enable installation of newer TeXLive packages on Ubuntu 12.04. This command should be run with root privileges. ```shell sudo sh -c 'echo "deb http://br.archive.ubuntu.com/ubuntu/ saucy main universe" >> /etc/apt/sources.list' ``` -------------------------------- ### Remove Existing LaTeX Installation Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Use these commands to remove any existing LaTeX installations before installing TeX Live. This ensures a clean installation. ```bash sudo apt-get autoremove --purge tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-latex-base texlive-latex-base-doc sudo apt-get autoclean ``` -------------------------------- ### Install abnTeX2 using tlmgr Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux If you installed TeX Live from the TUG distribution, use the tlmgr command to install the abnTeX2 package. ```bash tlmgr install abntex2 ``` -------------------------------- ### Instalar TeXLive no Ubuntu 12.x Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Comandos para instalação completa ou mínima do TeXLive via APT. ```bash sudo apt-get update && sudo apt-get install -y -t saucy texlive-full ``` ```bash sudo apt-get update && apt-get install -y -t saucy texlive-publishers texlive-lang-portuguese texlive-latex-extra texlive-fonts-recommended ``` -------------------------------- ### Update TeXLive 2007 installation Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux If you have TeXLive 2007 installed, use these commands to clean the yum cache and update your system to prepare for abnTeX2 installation on Fedora 16/17. ```bash # yum clean all # yum update ``` -------------------------------- ### Instalar TeXLive no Debian 7.0 Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Comandos para instalação completa ou mínima do TeXLive via APT. ```bash sudo apt-get update && sudo apt-get install -y -t jessie texlive-full ``` ```bash sudo apt-get update && apt-get install -y -t jessie texlive-publishers texlive-lang-portuguese texlive-latex-extra texlive-fonts-recommended ``` -------------------------------- ### Instalar e atualizar abnTeX2 via repositório Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Comandos para adicionar chave, instalar e atualizar o abnTeX2. ```bash $ wget -O - http://distrib.abntex2.googlecode.com/hg/debian/89C55467.asc|sudo apt-key add - ``` ```bash $ sudo apt-get update && sudo apt-get install abntex2 ``` ```bash $ sudo apt-get update && sudo apt-get upgrade ``` -------------------------------- ### Configurar repositório abnTeX2 não oficial Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Adiciona o repositório Debian do abnTeX2 ao sources.list. ```text deb http://distrib.abntex2.googlecode.com/hg/debian/ testing main ``` ```text deb-src http://distrib.abntex2.googlecode.com/hg/debian/ testing main ``` -------------------------------- ### Instalar arquivo de layout no Linux Source: https://github.com/abntex/abntex2/wiki/LyX Comando para copiar o arquivo de layout para o diretório de layouts do usuário em sistemas Unix-like. ```bash cp abntex2.layout /home/foo/.lyx/layouts ``` -------------------------------- ### Install myspell-pt-br on Debian Source: https://github.com/abntex/abntex2/wiki/Texmaker Use this command to install the Portuguese spell checker package on Debian and its derivatives. ```bash # apt install myspell-pt-br ``` -------------------------------- ### Dockerfile para TeXLive Source: https://github.com/abntex/abntex2/wiki/InstalacaoDocker Este Dockerfile instala o pacote texlive-full em um container Debian e configura parâmetros de memória para o TeX. É recomendado para garantir um ambiente LaTeX completo. ```Dockerfile FROM debian:latest RUN apt-get update \ && apt-get install -y \ texlive-full \ && echo "\nmain_memory = 12000000" >> /etc/texmf/texmf.d/00debian.cnf \ && echo "\nextra_mem_bot = 12000000" >> /etc/texmf/texmf.d/00debian.cnf \ && echo "\nfont_mem_size = 12000000" >> /etc/texmf/texmf.d/00debian.cnf \ && echo "\npool_size = 12000000" >> /etc/texmf/texmf.d/00debian.cnf \ && echo "\nbuf_size = 12000000" >> /etc/texmf/texmf.d/00debian.cnf \ && update-texmf \ && texhash \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* ``` -------------------------------- ### Instalar abnTeX2 no Arch Linux Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Instalação via pacman ou via AUR. ```bash pacman -S texlive-core texlive-publishers ``` ```bash wget https://aur.archlinux.org/packages/ab/abntex2/abntex2.tar.gz tar -xvf abntex2 cd abntex2/ makepkg -si ``` -------------------------------- ### Adicionar repositório Debian 8.0 Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Adiciona o repositório Jessie ao sources.list. ```bash sudo sh -c 'echo "deb http://ftp.br.debian.org/debian jessie main" >> /etc/apt/sources.list' ``` -------------------------------- ### Atualizar hash de arquivos no TeX Live Source: https://github.com/abntex/abntex2/wiki/InstalacaoWindows Comando para atualizar o banco de dados de arquivos após instalação manual no TeX Live. ```bash texhash texmf ``` -------------------------------- ### Gerenciar pacotes abnTeX2 no TeX Live Source: https://github.com/abntex/abntex2/wiki/InstalacaoWindows Comandos para instalar ou atualizar o pacote abnTeX2 utilizando o tlmgr no prompt de comando. ```bash tlmgr install abntex2 ``` ```bash tlmgr update abntex2 ``` -------------------------------- ### Instalar abnTeX2 via apt-get no Debian/Ubuntu Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Comandos para instalar o TeXLive e as dependências necessárias para o abnTeX2 em distribuições baseadas em Debian. ```bash sudo apt-get install texlive-full ``` ```bash sudo apt-get install texlive-publishers texlive-lang-portuguese texlive-latex-extra texlive-fonts-recommended ``` -------------------------------- ### Configurar APT Pinning no Debian 7.0 Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Define as prioridades de pacotes para o Debian Wheezy e Jessie. ```text Package: * Pin: release wheezy Pin-Priority: 100 Package: * Pin: release jessie Pin-Priority: -10 ``` -------------------------------- ### Manually install abnTeX2 RPM packages Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Download and install the abnTeX2 and abnTeX2-doc RPM packages manually. These links are provided for Fedora 18, but may be adaptable for other versions if compatible. ```bash abnTeX2: http://dl.fedoraproject.org/pub/fedora/linux/updates/18/i386/texlive-abntex2-svn28864.1.3-16.fc18.noarch.rpm abnTeX2-doc: http://dl.fedoraproject.org/pub/fedora/linux/updates/18/i386/texlive-abntex2-doc-svn28864.1.3-16.fc18.noarch.rpm ``` -------------------------------- ### Compilar documento com XeLaTeX Source: https://github.com/abntex/abntex2/wiki/HowToXeLaTex Execute este comando no terminal para compilar o arquivo LaTeX utilizando o motor XeLaTeX. ```bash xelatex DOCUMENTO.tex ``` -------------------------------- ### Use IFPI custom commands and environments Source: https://github.com/abntex/abntex2/wiki/Customizações-Conhecidas Utilize the \codigo command for monospaced text and the lista environment for aligned bullet points within the IFPI template. ```latex \codigo{} ``` ```latex \begin{lista} \item ... \item ... \end{lista} ``` -------------------------------- ### Compile Glossary and Document Source: https://github.com/abntex/abntex2/wiki/FAQ Standard commands to generate the glossary and the final PDF document. ```bash makeglossaries documento_principal ``` ```bash pdflatex documento_principal ``` -------------------------------- ### Verify Xindy Installation Source: https://github.com/abntex/abntex2/wiki/FAQ Check if the Xindy tool is available in your system path. ```bash xindy --version ``` -------------------------------- ### Search for abntex2-lyx package (Debian/Ubuntu) Source: https://github.com/abntex/abntex2/wiki/LyX Use this command to check if the abntex2-lyx package is available for installation on Debian-based systems. ```bash sudo apt-get update && apt-cache search abntex2-lyx ``` -------------------------------- ### Verificar versão do TeX Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Verifica a versão instalada do TeX. ```bash tex --version ``` -------------------------------- ### Estrutura de um arquivo de classe .cls Source: https://github.com/abntex/abntex2/wiki/ComoCustomizar Exemplo de um arquivo .cls que customiza a capa e a folha de rosto. Deve ser salvo em UTF-8 e incluir informações de licença. ```latex %% %% Customizações do abnTeX2 (http://abnTeX2.googlecode.com) para a Universidade XXXX %% %% This work 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 %% http://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. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is SEU_NOME, SEU_EMAIL %% %% Further information about abnTeX2 are available on http://abntex2.googlecode.com/ %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{universidade-brasil-abntex2}[2013/04/01 v1.0 Modelo da Universidade Brasil baseado em abnTeX2] % % Repassa todos os parametros a classe abntex2, \DeclareOption*{% \PassOptionsToClass{\CurrentOption}{abntex2}% } \ProcessOptions\relax \LoadClass{abntex2} % alterando a capa \renewcommand{\imprimircapa}{% \begin{capa}% \center \ABNTEXchapterfont\Large UNIVERSIDADE QUE TORNA OS DOCUMENTOS AINDA MAIS ESTRANHOS \vspace*{1cm} {\ABNTEXchapterfont\large\imprimirautor} \vfill \begin{center} \ABNTEXchapterfont\bfseries\LARGE\imprimirtitulo \end{center} \vfill \large\imprimirlocal \large\imprimirdata \vspace*{1cm} \end{capa} } % folha de rosto \makeatletter \renewcommand{\folhaderostocontent}{ \begin{center} {\ABNTEXchapterfont\Large UNIVERSIDADE QUE TORNA OS DOCUMENTOS AINDA MAIS ESTRANHOS} \vspace*{1cm} {\ABNTEXchapterfont\large\imprimirautor} \vspace*{\fill}\vspace*{\fill} \begin{center} \ABNTEXchapterfont\bfseries\Large\imprimirtitulo \end{center} \vspace*{\fill} \abntex@ifnotempty{\imprimirpreambulo}{% \hspace{.45\textwidth} \begin{minipage}{.5\textwidth} \SingleSpacing \imprimirpreambulo \end{minipage}% \vspace*{\fill} }% {\large\imprimirorientadorRotulo~\imprimirorientador\par} \abntex@ifnotempty{\imprimircoorientador}{% {\large\imprimircoorientadorRotulo~\imprimircoorientador}% }% \vspace*{\fill} {\abntex@ifnotempty{\imprimirinstituicao}{\imprimirinstituicao\vspace*{\fill}}} {\large\imprimirlocal} \par {\large\imprimirdata} \vspace*{1cm} \end{center} } \makeatother ``` -------------------------------- ### Search for abntex2-lyx package (RPM/Yum) Source: https://github.com/abntex/abntex2/wiki/LyX Use this command to check if the abntex2-lyx package is available for installation on RPM-based systems using yum. ```bash yum search abntex2-lyx ``` -------------------------------- ### Efetivar release e deploy no Bintray Source: https://github.com/abntex/abntex2/wiki/DisponibilizarNovoRelease Realiza o deploy dos arquivos gerados para o Bintray utilizando credenciais de usuário. ```bash ./build.sh RELEASE USUARIO SENHA ``` -------------------------------- ### Support for Lists of Abbreviations and Symbols Source: https://github.com/abntex/abntex2/wiki/ReleaseNotes The abntex2.cls class now supports 'List of abbreviations and acronyms' and 'List of symbols'. Examples and documentation are provided. ```tex abntex2.cls ``` -------------------------------- ### Uninstall abnTeX2 using GNU Make Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux To remove the abnTeX2 package installed via GNU Make, use the `make uninstall` command. ```bash $ sudo make uninstall ``` -------------------------------- ### Compilar novo release do abnTeX2 Source: https://github.com/abntex/abntex2/wiki/DisponibilizarNovoRelease Executa o script de build para gerar os arquivos compactados do release na pasta target. ```bash ./build.sh RELEASE ``` -------------------------------- ### Check TeX Live Version on Mac Source: https://github.com/abntex/abntex2/wiki/InstalacaoMac Use this command in the Terminal to check the installed TeX Live version. The year of the version will be displayed in the output. ```bash latex --version ``` -------------------------------- ### Construir imagem Docker Source: https://github.com/abntex/abntex2/wiki/InstalacaoDocker Comando para construir uma imagem Docker a partir de um Dockerfile. A imagem será nomeada 'pdflatex'. ```sh docker build -t pdflatex . ``` -------------------------------- ### Configure Local TeXMF Directory Source: https://github.com/abntex/abntex2/wiki/InstalacaoLinux Add this line to your ~/.bashrc file to set the TEXMFCONFIG environment variable, pointing to your local texmf directory for custom installations. ```bash TEXMFCONFIG=$HOME/texmf; export TEXMFCONFIG ```