引文和参考书目之间的不同风格

引文和参考书目之间的不同风格

我知道这很荒谬,但这是我的出版商要求我的。我应该用普通文本写出作者姓名的引文,用小写字母写出作者姓名的参考书目。我真的不知道如何产生这种不一致。任何帮助都值得感激。这是我的 MWE:

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\begin{filecontents}{archivio.bib}


@book{Hal:Sul,
    Address = {Vindobonae},
    Editor = {C. Halm},
    Number = {1},
    Publisher = {C. Geroldi filium bibliopolam academiae},
    Series = {\textsc{csel}},
    Title = {Sulpici Severi libri qui supersunt},
    Year = {1866}}


\end{filecontents}

\documentclass[11pt, openany]{book}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguages{latin, english, french}

%%% bibliografia
\usepackage[babel,italian=guillemets]{csquotes}

\usepackage[    style=verbose-trad2,            
            language=italian,
            useprefix=true,                 
            firstinits=true,    
            citepages=omit,                 
            backend=biber,  
        ]{biblatex} 


\addbibresource{archivio.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\cite[55]{Hal:Sul} 

\printbibliography

\end{document}

答案1

你可以用钩子来做到这一点\AtBeginBibliography

\AtBeginBibliography{\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}}

完整的 MWE:

\begin{filecontents}{archivio.bib}
@book{Hal:Sul,
    Address = {Vindobonae},
    Editor = {C. Halm},
    Number = {1},
    Publisher = {C. Geroldi filium bibliopolam academiae},
    Series = {\textsc{csel}},
    Title = {Sulpici Severi libri qui supersunt},
    Year = {1866}}
\end{filecontents}

\documentclass[11pt, openany]{book}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguages{latin, english, french}

%%% bibliografia
\usepackage[babel,italian=guillemets]{csquotes}

\usepackage[    style=verbose-trad2,            
            language=italian,
            useprefix=true,                 
            firstinits=true,    
            citepages=omit,                 
            backend=biber,  
        ]{biblatex} 

\AtBeginBibliography{\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}}

\addbibresource{archivio.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\cite[55]{Hal:Sul} 

\printbibliography

\end{document}

在此处输入图片描述 在此处输入图片描述

答案2

我认为你可以插入

\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}   

\printbibliography

正如 moewe 在评论中所说,这种方法的缺点是它没有分组。如果你在后面引用某些内容\printbibliography(即使不太可能),它也会得到小写字母。gusbrs 的解决方案更好。

\begin{filecontents}{archivio.bib}
@book{Hal:Sul,
    Address = {Vindobonae},
    Editor = {C. Halm},
    Number = {1},
    Publisher = {C. Geroldi filium bibliopolam academiae},
    Series = {\textsc{csel}},
    Title = {Sulpici Severi libri qui supersunt},
    Year = {1866}}
\end{filecontents}

\documentclass[11pt, openany]{book}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguages{latin, english, french}

%%% bibliografia
\usepackage[babel,italian=guillemets]{csquotes}

\usepackage[    style=verbose-trad2,            
            language=italian,
            useprefix=true,                 
            firstinits=true,    
            citepages=omit,                 
            backend=biber,  
        ]{biblatex} 

\addbibresource{archivio.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\cite[55]{Hal:Sul} 

\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\printbibliography

\end{document}

引用:

在此处输入图片描述

参考书目:

在此处输入图片描述

相关内容