如果您使用编译此 MWE Biber
,pdflatex
您将看到参考书目的标题全部大写,如下所示:“参考文献”。我怎样才能使它看起来与普通部分的其他标题相同?
\documentclass[%
10pt,%
twocolumn%
]{article}
\usepackage{fancyhdr, textcase, letterspace, lipsum}
% +-------------------------------------------------------------------+
% |Bibliography |
% +-------------------------------------------------------------------+
\usepackage{etoolbox}
\makeatletter
\long\def\etb@listitem#1#2{%
\expandafter\ifblank\expandafter{\@gobble#2}
{}{\expandafter\etb@listitem@i
\expandafter{\@secondoftwo#2}{#1}}}
\long\def\etb@listitem@i#1#2{#2{#1}}
\makeatother
\usepackage[autostyle, italian=guillemets]{csquotes}
\usepackage[backend=biber]{biblatex}
\addbibresource{bibliography.bib}
% +-------------------------------------------------------------------+
% |Headers |
% +-------------------------------------------------------------------+
%%
% Improved letterspacing of small caps and all-caps text.
%
\DeclareTextFontCommand{\textsmallcaps}{\scshape}
% Set up letterspacing (using microtype package) -- requires pdfTeX v1.40+
\newcommand{\allcapsspacing}[1]{\textls[200]{#1}}
\newcommand{\smallcapsspacing}[1]{\textls[50]{#1}}
\newcommand{\allcaps}[1]{\textls[200]{\MakeTextUppercase{#1}}}
\newcommand{\smallcaps}[1]{\smallcapsspacing{\scshape\MakeTextLowercase{#1}}}
\renewcommand{\textsc}[1]{\smallcapsspacing{\textsmallcaps{#1}}}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\fancyhead[R]{\makebox[\columnwidth][l]{\smallcaps{\rightmark}}}
\fancyhead[L]{\makebox[\columnwidth][r]{\smallcaps{title}}}
\fancyhead[C]{\smallcaps{~-~}}
\fancyfoot[C]{\thepage}
\begin{document}
\section{A}
\lipsum[1-6]\textcite{a:b}
\section{B}
\lipsum[1-5]
\printbibliography
\end{document}
参考书目
@online{a:b,
author = {{Author}},
shortauthor={AA},
title = {},
year = {2013},
url = {},
urldate = {2018-02-28},
}
答案1
这可以通过重新定义来解决bibheading
:
\defbibheading{bibliography}[\bibname]{%
\section*{#1}%
\sectionmark{#1}}
答案2
biblatex
3.8 及以上版本具有半官方\abx@MakeMarkcase
控制章节标记的排版。
\makeatletter
\renewcommand*{\abx@MakeMarkcase}[1]{#1}
\makeatother
应该做你想做的事。