I use the abntex2 package to format my academic works, and even though it is currently within the norms of my university, I would like to make it more visual and leave the work references the same as the example in the figure, where different references of the same author has the name replaced by a dash.enter image description here
I'll leave the preamble of one of my works as an example that I'm currently using. How can I make the references of my work stay in this figure format?
\documentclass[
% -- opções da classe memoir --
12pt, % tamanho da fonte
openright, % capítulos começam em pág ímpar (insere página vazia caso preciso)
oneside, % para impressão em recto e verso. Oposto a oneside
a4paper, % tamanho do papel.
% -- opções da classe abntex2 --
chapter=TITLE, % títulos de capítulos convertidos em letras maiúsculas
%section=TITLE, % títulos de seções convertidos em letras maiúsculas
%subsection=TITLE, % títulos de subseções convertidos em letras maiúsculas
%subsubsection=TITLE,% títulos de subsubseções convertidos em letras maiúsculas
% -- opções do pacote babel --
english, % idioma adicional para hifenização
french, % idioma adicional para hifenização
spanish, % idioma adicional para hifenização
brazil % o último idioma é o principal do documento
]{abntex2}
% ---
% Pacotes básicos
% ---
\usepackage{lmodern} % Usa a fonte Latin Modern
%\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc} % Selecao de codigos de fonte.
\usepackage[utf8]{inputenc} % Codificacao do documento (conversão automática dos acentos)
\usepackage{lastpage} % Usado pela Ficha catalográfica
\usepackage{indentfirst} % Indenta o primeiro parágrafo de cada seção.
\usepackage{color} % Controle das cores
\usepackage{graphicx} % Inclusão de gráficos
\usepackage{microtype} % para melhorias de justificação
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{lastpage}
\usepackage{lipsum}
\usepackage{xfrac}
\usepackage[table,xcdraw]{xcolor}
\usepackage{booktabs}
\usepackage{diagbox}
\usepackage{multirow}
\usepackage{novacapa} % configuração de capa com padrão da UTFPR
\usepackage[final]{pdfpages}
\usepackage{subfig}
\usepackage{lscape}
%\usepackage[singlelinecheck=false]{caption} % Para alinhar a caption e legend da figura à esquerda
%\usepackage[hidelinks]{hyperref}
% ---
% Pacotes de citações
% ---
\usepackage[brazilian,hyperpageref]{backref} % Paginas com as citações na bibl
\usepackage[alf]{abntex2cite} % Citações padrão ABNT
% ---
% CONFIGURAÇÕES DE PACOTES
% ---
\usepackage{pg fgantt}
\usepackage{rotating}
\hypersetup{hidelinks}
\makeatletter
\ganttset{
prog default/.initial=100,
prog/.code={
\pgfutil@in@{:}{#1}
\ifpgfutil@in@
\pgfqkeysalso{/pgfgantt}{@prog={#1}}
\else
\pgfqkeysalso{/pgfgantt}{@prog={\pgfkeysvalueof{/pgfgantt/prog default}:#1}}
\fi
},
@prog/.code args={#1:#2}{
\edef\pgf@tempa{#1}%
\ifx\pgf@tempa\tikz@nonetext
\pgfqkeysalso{/pgfgantt}{progress={100},progress label text={#2}}
\else
\pgfqkeysalso{/pgfgantt}{progress={#1},progress label text={#2 (##1\,\%)}}
\fi
}
}
\makeatother
\ganttset{progress label anchor/.append style={text=red}}
% ---
% Configurações do pacote backref
% Usado sem a opção hyperpageref de backref
\renewcommand{\backrefpagesname}{Citado na(s) página(s):~}
% Texto padrão antes do número das páginas
\renewcommand{\backref}{}
% Define os textos da citação
\renewcommand*{\backrefalt}[4]{
\ifcase #1 %
Nenhuma citação no texto.%
\or
Citado na página #2.%
\else
Citado #1 vezes, nas páginas #2.%
\fi}%
% ---
% Configuração das Listas de Tabelas e Quadros
% ---
\newcommand{\tableaname}{Tabela}
\newcommand{\listoftabelasname}{Lista de tabelas}
\newfloat[chapter]{tabela}{lot}{\tabelaname}
\newlistof{listoftabelas}{lot}{\listoftabelasname}
\newlistentry{tabela}{lot}{0}
\setfloatadjustment{tabela}{\centering}
\counterwithout{tabela}{chapter}
\renewcommand{\cfttabelaname}{\tabelaname\space}
\renewcommand*{\cfttabelaaftersnum}{\hfill--\hfill}
\setfloatlocations{tabela}{hbtp}
% --- Lista e ambiente de quadro
\newcommand{\quadroname}{Quadro}
\newcommand{\listofquadrosname}{Lista de quadros}
\newfloat[chapter]{quadro}{loq}{\quadroname}
\newlistof{listofquadros}{loq}{\listofquadrosname}
\newlistentry{quadro}{loq}{0}
\setfloatadjustment{quadro}{\centering}
\counterwithout{quadro}{chapter}
\renewcommand{\cftquadroname}{\quadroname\space}
\renewcommand*{\cftquadroaftersnum}{\hfill--\hfill}
\setfloatlocations{quadro}{hbtp}
\definecolor{blue}{RGB}{41,5,195} % alterando o aspecto da cor azul
% informações do PDF
\makeatletter
\hypersetup{
%pagebackref=true,
pdftitle={\@title},
pdfauthor={\@author},
pdfsubject={\imprimirpreambulo},
pdfcreator={LaTeX with abnTeX2},
pdfkeywords={abnt}{latex}{abntex}{abntex2}{trabalho acadêmico},
colorlinks=false, % false: boxed links; true: colored links
linkcolor=blue, % color of internal links
citecolor=blue, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=blue,
bookmarksdepth=4
}
\makeatother
% ---
% ---
% Espaçamentos entre linhas e parágrafos
% ---
\setlength{\parindent}{1.3cm} % O tamanho do parágrafo é dado por:
%\setlength{\parskip}{0.2cm} % Controle do espaçamento entre um parágrafo e outro: % tente também \onelineskip
% ---
% compila o indice
% ---
\makeindex
% ---
\makeatletter
\setlength{\@fptop}{0pt}
\makeatother
One of the options (the example in the figure comes from the package example itself) is biblatex-abnt. But my knowledge about installing packages and customizing the .STY file borders on zero.