旧式数字标签和正文

旧式数字标签和正文

以下是我想要实现的目标biblatex

  1. 标签和文本中的年份(四位数字)采用旧式数字,所有内容\small

  2. 预注(见~),如果有的话,\small

  3. 附注,如果有的话,缩写 p 在\small,页码在旧式图表和\small

最小示例:

\documentclass[11pt]{scrreprt}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@Book{alexander:1964,
Author               = {C. Alexander},
Title                  = {{Notes on the Syntheses of Form}},
Publisher            = {Harverd University Press},
Year                  = {1964},
Address               = {Cambridge Massachusetts London},
Edition               = {7},
Series               = {},
Keywords            = {Literatur},
Label                  = {\textsc{\small{Alexander}} 19}}

@Manual{din66253:1989,
Title                = {{{\small\textsc{\itshape DIN}~66\,253-3:} Programmiersprache {\small\textsc{\itshape PEARL}}~--~Teil 3: {\small Mehr\-rechner-\textsc{\itshape PEARL}}}},
Organization      = {Deutsches Institut f{\"u}r Normung},
Year                   = {1989},
Keywords            = {Normen},
Label                  = {{\small\textsc{DIN}~66\,253-3} 19}}
\end{filecontents}

\usepackage[utf8]{inputenc}

\usepackage[ngerman]{babel}

\usepackage[babel]{csquotes}

\usepackage[backend=biber, 
        style=alphabetic, 
        natbib=true, 
        sorting=anyt, 
        maxbibnames=10, 
        maxcitenames=2]{biblatex}

\bibliography{\jobname}

\begin{document}

\citep[][S.~1234]{alexander:1964}, \citep[][]{din66253:1989}

\printbibliography

\end{document}

答案1

\documentclass[11pt]{scrreprt} 
\usepackage{filecontents} 
\begin{filecontents}{\jobname.bib} 
@Book{alexander:1964, 
Author               = {C. Alexander}, 
Title                  = {{Notes on the Syntheses of Form}}, 
Publisher            = {Harverd University Press}, 
Year                  = {1964}, 
Address               = {Cambridge Massachusetts London}, 
Edition               = {7}, 
Series               = {}, 
Keywords            = {Literatur}, 
Label                  = {\textsc{\small{Alexander}} {\small\oldstylenums{1964}}} 
} 
@Manual{din66253:1989, 
Title                = {{{\small\textsc{\itshape DIN}~66\,253-3:} Programmiersprache {\small\textsc{\itshape PEARL}}~--~Teil 3: {\small Mehr\-rechner-\textsc{\itshape PEARL}}}}, 
Organization      = {Deutsches Institut f{\"u}r Normung}, 
Year                   = {1989}, 
Keywords            = {Normen}, 
Label                  = {{\small\textsc{DIN}~66\,253-3} {\small\oldstylenums{1989}}} 
}
@Book{alexander:1977,
Author                  = {C. Alexander and S. Ishikawa and M. Silverstein and M. Jacobsen and I. Fiksdahl-King and S. Angel},
Title                       = {{A Pattern Language: Towns~--~Buildings~--~Construction}},
Publisher               = {Oxford University Press},
Year                        = {1977},
Address                 = {New York},
Edition                 = {},
Series                  = {},
Keywords                = {Literatur},
Label                       = {{\small\textsc{Alexander}} {\small\textsc{et al.}} {\small\oldstylenums{1977}}}
}
@Article{nuettgens:2002, 
Author                  = {M. N{\"u}ttgens and F.~J. Rump},
Title                   = {{Syntax und Semantik Ereignisgesteuerter Prozessketten {\small (\textsc{EPK})}}}, 
Journal                 = {Prozessorientierte Methoden und Werkzeuge für die Entwicklung von Informationssystemen (Promise).}, 
Year                        = {2002},
Volume                  = {},
Number                  = {},
Pages                   = {64--77},
Keywords                = {Literatur},
Label                       = {{\small\textsc{N{\"u}ttgens}} {\small\&} {\small\textsc{Rump}} {\small\oldstylenums{2002}}}  
} 
\end{filecontents} 
\usepackage[utf8]{inputenc} 
\usepackage[ngerman]{babel} 
\usepackage[babel]{csquotes}
\usepackage[
    backend=biber,
    style=alphabetic,
    natbib=true,
    sorting=nyt,
    maxbibnames=10,
    maxcitenames=2
]{biblatex}
\bibliography{\jobname}
\DeclareLabelalphaTemplate{%
  \labelelement{%
    \field{label}
  }
} 
\begin{document}
\citep[vgl.~][S.~1234]{alexander:1964}\par\citep{din66253:1989}\par\citep[vgl.~][S.~100--103]{alexander:1977}\par\citep[vgl.~][S.~4711]{nuettgens:2002}
\printbibliography
\end{document}

相关内容