BibLaTeX: フォントサイズを変更するとインデントが間違ってしまいますか?

BibLaTeX: フォントサイズを変更するとインデントが間違ってしまいますか?

BibLaTeX は、フォント サイズを変更すると、間違ったインデントを計算するようです。最初の行に続く行は、最初の行よりも少し左にあります (赤い線を参照)。

問題を示す写真

MWE:

\documentclass[titlepage,listof=totoc,final]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=alphabetic,backend=biber,maxnames=4,minnames=3,maxbibnames=99,block=space,abbreviate=true,firstinits=true]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@online{GLS:datasheet,
    title = "GLS Datasheet",
    organization = "Optoelectronics Research Centre",
    howpublished = "Website",
    date = "2004-09",
    urldate = "2013-07-01",
    url = "http://www.southampton.XXXX",
    address = "Southampton, United Kingdom"
}
@article{Labadie:First_fringes,
    author = {Labadie, L. and Mart\'{\i}n, G. and Anheier, N. C. and Arezki, B. and Qiao, H. A. and Bernacki, B. and Kern, P.},
    title = {First fringes with an integrated-optics beam combiner at 10},
    DOI= "10.1051/0004-6361/201116727",
    journal = {A\&A},
    year = 2011,
    volume = 531,
    pages = "A48"
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\KOMAoptions{fontsize=12pt}
\nocite{*}
\printbibliography

\end{document}

これを避けるにはどうしたらいいでしょうか?

追記: 私の論文の一部のテキストは 10 ポイントでなければならず、他のテキスト (参考文献など) は 12 ポイントでなければなりません。残念ながら、これは決められたことなので、どうすることもできません。

答え1

長さの計算は、\labelalphawidthデフォルトのフォント サイズで行われます。あなたの場合は 11pt です。以前フォント サイズを変更しましたが、\printbibliographyこれは の計算には影響しません\labelalphawidth。ラベルの幅は で計算されます\bibfont

以下の解決策は、Audreyのコメントで提供されました。

正しい計算結果を得るには、biblatexコマンド を操作しますbibfont。 ではbiblatex.def、 は次のように定義されます。

 \newcommand*{\bibfont}{\normalfont\normalsize}. 

だから、

 \renewcommand*{\bibfont}{\normalfont\changefontsizes{12pt}}

前文に。

あなたの例:

\documentclass[titlepage,listof=totoc,final]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=alphabetic,backend=biber,maxnames=4,minnames=3,maxbibnames=99,block=space,abbreviate=true,firstinits=true]{biblatex}
\renewcommand*{\bibfont}{\normalfont\changefontsizes{12pt}}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@online{GLS:datasheet,
    title = "GLS Datasheet",
    organization = "Optoelectronics Research Centre",
    howpublished = "Website",
    date = "2004-09",
    urldate = "2013-07-01",
    url = "http://www.southampton.XXXX",
    address = "Southampton, United Kingdom"
}
@article{Labadie:First_fringes,
    author = {Labadie, L. and Mart\'{\i}n, G. and Anheier, N. C. and Arezki, B. and Qiao, H. A. and Bernacki, B. and Kern, P.},
    title = {First fringes with an integrated-optics beam combiner at 10},
    DOI= "10.1051/0004-6361/201116727",
    journal = {A\&A},
    year = 2011,
    volume = 531,
    pages = "A48"
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\nocite{*}
\KOMAoptions{fontsize=12pt}
\printbibliography

\end{document}

関連情報