假设你有这个 MWE 使用numeric
Biblatex 的风格
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{csquotes} % needed if also biblatex is used
\usepackage[backend=biber,style=numeric]{biblatex}
\addbibresource{references.bib}
\begin{document}
\section{Conclusion}
Adams said ``I always thought something was fundamentally wrong with the universe'' \cite{adams1995hitchhiker}.
\printbibliography
\end{document}
在引文和参考书目中用圆括号代替方括号的最佳方法是什么?
答案1
更新
有了biblatex-ext
样式,事情就会变得简单一些,因为您可以使用其引用分隔符功能。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=ext-numeric]{biblatex}
\DeclareOuterCiteDelims{parencite}{\bibopenparen}{\bibcloseparen}
\DeclareOuterCiteDelimsAlias{cite}{parencite}
\DeclareInnerCiteDelims{textcite}{\bibopenparen}{\bibcloseparen}
\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}}
\DeclareFieldFormat{shorthandwidth}{\mkbibparens{#1}}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson}
Lorem \autocites{sigfridsson}{worman}
Lorem \cite{sigfridsson}
\printbibliography
\end{document}
没有biblate-ext
和
\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{#1}}
\DeclareFieldFormat{shorthandwidth}{\mkbibparens{#1}}
参考书目中有圆括号,对于引用,你需要复制定义numeric.cbx
并更改\mkbibbrackets
为\mkbibparens
\DeclareCiteCommand{\cite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareMultiCiteCommand{\cites}[\mkbibparens]{\cite}{\multicitedelim}
\DeclareCiteCommand{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}{\multicitedelim}
更激进的是
\renewrobustcmd{\mkbibbrackets}{\mkbibparens}
甚至
\let\bibopenbracket\bibopenparen
\let\bibclosebracket\bibcloseparen
所有方括号均被圆括号取代。如果您确实希望在引文/参考书目中的其他地方使用方括号,则这可能会导致问题。
请注意,对于一些更高级的numeric
衍生风格和,您将需要更复杂的技巧\textcite
。