我尝试了以下几个问题的中间部分:
但是所有这些命令在 BibLaTeX 中都不起作用。它们只在 BibTeX 中起作用。
我使用基于的包biblatex-abnt
和类。我运行 XeLaTeX。abntex2
memoir
以下是小型 MWE 代码:
\documentclass[11pt, article, a4paper, oneside, sumario=tradicional, chapter=TITLE, section=TITLE, subsection=Title, subsubsection=title, subsubsubsection=title, english, german, greek, portuguese]{abntex2}
\usepackage{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend = biber, dateabbrev = false, giveninits, ittitles, justify, language = brazil, sorting = nyt, style = abnt, url = true]{biblatex}
\usepackage{parskip}
\usepackage{setspace}
\addbibresource{referencias.bib}
\begin{filecontents}{referencias.bib}
@article{antonioleitao,
Address = {Campinas},
author = {Antonio Leitão},
date = {1996-10-08},
Publisher = {UNICAMP},
title = {Funções Recursivas},
url = {http://www.dca.fee.unicamp.br/courses/EA072/lisp9596/node17.html},
urldate = {2018-11-03}
}
\end{filecontents}
\local{Brasil}
\data{2018}
\begin{document}
\titulo{Teoria da Computação}
\tituloestrangeiro{}
\autor{Gustavo Costa}
\frenchspacing
\maketitle
\renewcommand{\refname}{BIBLIOGRAFIA}
\makeatletter
\renewcommand\bibsection{%
\section*{{\normalsize\underline{\refname}}\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}\vspace*{-10mm}%
}%
\makeatother
\cite{antonioleitao}
\printbibliography
\end{document}
答案1
abntex2
基于memoir
,并且该类使用 控制和以下文本(以及其他文本)memoir
之间的空间。 的默认值为40pt,但我们可以将其减小以用于参考书目标题。\chapter
\afterchapskip
\afterchapskip
\documentclass[11pt, article, a4paper, oneside, sumario=tradicional,
chapter=TITLE, section=TITLE, subsection=Title,
subsubsection=title, subsubsubsection=title,
english, german, greek, portuguese]{abntex2}
\usepackage{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend = biber, style = abnt, sorting = nyt, ittitles, justify,
dateabbrev = false, giveninits, url = true]{biblatex}
\usepackage{parskip}
\usepackage{setspace}
\makeatletter
\defbibheading{bibliography}[\bibname]{%
\begingroup
\setlength{\afterchapskip}{0pt}
\chapter*{#1}%
\if@twoside
\markboth{\abx@MakeMarkcase{#1}}{\abx@MakeMarkcase{#1}}%
\else
\markright{\abx@MakeMarkcase{#1}}%
\fi
\ifmemoirbibintoc
{\phantomsection
\addcontentsline{toc}{chapter}{#1}}
{}
\endgroup}
\makeatother
\addbibresource{biblatex-examples.bib}
\local{Brasil}
\data{2018}
\begin{document}
\chapter{Lorem}
Lore ipsum
\chapter*{Dolor}
Dolor sit
\cite{sigfridsson}
\printbibliography
\end{document}