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}

이것을 피하기 위해 무엇을 할 수 있습니까?

추신: 내 논문의 일부 텍스트는 10pt여야 하고 다른 텍스트(참고문헌 등)는 12pt여야 합니다. 안타깝게도 이 일이 나에게 주어졌는데 나는 그것에 대해 아무것도 할 수 없습니다.

답변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}

관련 정보