我想更改“参考文献”的字体样式。我希望书籍和文章的标题保持粗体,而不是斜体粗体。
我的住宿风格:
德国克努斯计算机编程艺术,第 16 卷:基本算法。[Sl]:Addison-Wesley,1968 年。
我想:
德国克努斯计算机编程艺术,第 16 卷:基本算法。[Sl]:Addison-Wesley,1968 年。
我使用 ABNT-ALF 风格 \bibliographustyle{abnt-alf}
这不是我的全部代码,但是可以看到我需要帮助的部分:
主文档(含设置):
\documentclass[a4paper]{article}
\usepackage[brazil,brazilian]{babel}
\usepackage[ansinew]{inputenc}
\usepackage{abnt-alf}
\usepackage[alf]{abntcite}
\newcommand{\qcounts}{{\normalfont\textit{quadrat counts}}{}}
\newcommand{\q}{{\normalfont\textit{quadrat}}{}}
\newcommand{\qs}{{\normalfont\textit{quadrats}}{}}
\newcommand{\citrus}{{\normalfont\textit{Citrus}}{}}
\newcommand{\msc}{{\normalfont\textit{Morte Súbita dos Citrus}}{}}
\newcommand{\MSC}{\acronym{MSC}{}}
\newcommand{\geoR}{{\normalfont\textsf{geoR}}{}}
\newcommand{\geoRglm}{{\normalfont\textsf{geoRglm}}{}}
\newcommand{\splancs}{{\normalfont\textsf{splancs}}{}}
\title{Modelo autologístico para dados de citrus}
\author{
Fabio CORDEIRO
\footnote{Programa de Pós-graduação em Engenharia Elétrica,
Pontifícia Universidade Católica de Minas Gerais.
Caixa Postal 00000, CEP 81531-990, Belo Horizonte, Minas Gerais, Brasil.
E-mail: [email protected]}\\
}
\begin{document}
\maketitle
\section{resumo}
\section{Introducao}
Testando referencias \cite{knuth}
\section{metodologia}
\bibliographystyle{abnt-alf}
\bibliography{bibliografia} %%%%%%%%%
\end{document}
我的书目文件:
@book{knuth,
author = {Donald E. Knuth},
title = {\textbf{The art of computer programming}, Volume 16: Fundamental Algorithms},
publisher = {Addison-Wesley},
year = {1968}
}
答案1
和abntcite
abnt-emphasize
包,您可以在包加载过程中使用选项选择强调样式
\usepackage[alf,abnt-emphasize=bf]{abntcite}
以下是 MWE:
\documentclass{article}
% to embed a .bib file in the source
\begin{filecontents}{\jobname.bib}
@inbook{knutha,
author = {Donald E. Knuth},
booktitle = {The art of computer programming},
volume = {16},
title = {Fundamental Algorithms},
publisher = {Addison-Wesley},
year = {1968}
}
@book{knuthb,
author = {Donald E. Knuth},
title = {The art of computer programming},
subtitle = {Volume 16, Fundamental Algorithms},
publisher = {Addison-Wesley},
year = {1968}
}
\end{filecontents}
\usepackage[alf,abnt-emphasize=bf]{abntcite}
\begin{document}
Here's how I'd quote that book: \cite{knutha}; and here's (almost) how you asked for: \cite{knuthb}
\bibliography{\jobname}
\end{document}
输出结果如下:
请参阅abntex-doc-<version>.<zip>
(或.tar.gz
等)文件中的文档项目页面。