blockquote に引用を挿入するときに \hbox がいっぱいになる

blockquote に引用を挿入するときに \hbox がいっぱいになる

文書に を挿入しています\blockquoteが、その末尾に引用を追加すると (\hfillを付けて右揃えにすると) が表示されますOverfull \hbox

これはxelatex私が使用している場合にのみ発生します。geometry関連するすべてのマージン定義を含むパッケージをアクティブ化/コメント アウトすると、badbox が表示されたり消えたりします。新しい行に移動せずに引用を右揃えにするように Latex に指示する方法はありますか? 利用可能なスペースを埋めるだけではないのはなぜですか? 何が起こっているのか理解できません。

MWE は次のとおりです。

\documentclass[12pt, twoside]{article}
\usepackage[a4paper, margin=2.5cm, bindingoffset=1.5cm]{geometry} % <--- this one provokes the overfull \hbox
\usepackage{polyglossia}
    \setdefaultlanguage{italian}
\usepackage[citestyle=authoryear,backend=biber,style=authoryear,firstinits=true,uniquename=init]{biblatex}
\usepackage{setspace}
\usepackage[autostyle]{csquotes}
\usepackage{lipsum}

\setmainfont{Linux Libertine O}

\begin{filecontents*}{bibl.bib}
@book{seiler,
  title={Possession as an Operational Dimension of Language},
  author={Seiler, Hansjakob},
  publisher={TÃŒbingen: Gunter Narr},
  year={1983}
}
\end{filecontents*}

\addbibresource{bibl.bib}

\begin{document}\doublespacing
\lipsum[2]

\blockquote{\singlespacing Semantically, the domain of POSSESSION can be described as bio-cultural. It is the relationship between a human being, his kinsmen, his body parts, his material belongings, his cultural and intellectual products. In a more extended view, it is the relationship between parts and whole of an organism.\hfill \parencite[4]{seiler}}

\lipsum[3]
\end{document}

答え1

使用

bio-cul\-tu\-ral.

すると、オーバーフルボックスなしでハイフンで区切ることができます。 オプションを使用すると、draftこの単語の問題を確認できます。 代わりに、ドイツ語のショートカットを有効にして と入力しますbio"=cultural。 ハイフンのある単語は、指定されていない場合は他のハイフン区切りポイントを持つことができないという TeX の制限があります。 以下に、私がこの問題を解決する方法の前置きを示します。 私は常に babel を使用します。

\documentclass[12pt, twoside,draft]{article}
\usepackage[a4paper, margin=2.5cm, bindingoffset=1.5cm]{geometry}
\usepackage{fontspec}
\usepackage{libertine}
\usepackage[ngerman,italian]{babel}% the last one is active
\useshorthands{"}
\addto\extrasitalian{\languageshorthands{ngerman}}
\usepackage[style=authoryear,firstinits=true,uniquename=init]{biblatex}
\usepackage{setspace}
\usepackage[autostyle]{csquotes}

\begin{document}

\blockquote{\singlespacing Semantically, the domain of POSSESSION can be described as 
    bio"=cultural. It is the relationship between a human being, his kinsmen, his body 
    parts, his material belongings, his cultural and intellectual products. In a more 
    extended view, it is the relationship between parts and whole of an organism.}

\end{document}

答え2

何度も検索とテストを行った後、検索で似たようなものを見つけたので、最終的にコマンドを削除し\blockquote{}てカスタム コマンドを使用して同じ結果を達成することにしました。言うまでもなく、Latex に期待されるように、すべてが完璧に動作します。

出力

ここに画像の説明を入力してください

コード

\documentclass[12pt, twoside]{article}
\usepackage[a4paper, margin=2.5cm, bindingoffset=1.5cm]{geometry}
\usepackage{polyglossia}
    \setdefaultlanguage{italian}
\usepackage[citestyle=authoryear,backend=biber,style=authoryear,firstinits=true,uniquename=init]{biblatex}
\usepackage{setspace}
\usepackage[autostyle]{csquotes}

\setmainfont{Linux Libertine O}

\begin{filecontents*}{bibl.bib}
@book{seiler,
  title={Possession as an Operational Dimension of Language},
  author={Seiler, Hansjakob},
  publisher={TÃŒbingen: Gunter Narr},
  year={1983}
}
\end{filecontents*}

\addbibresource{bibl.bib}

\newcommand\myquote[1]{%
\par
\begingroup
\leftskip4em
\rightskip\leftskip
\singlespacing
\noindent
#1
\par
\endgroup
}

\begin{document}\doublespacing
Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa.

\myquote{Semantically, the domain of POSSESSION can be described as bio-cultural. It is the relationship between a human being, his kinsmen, his body parts, his material belongings, his cultural and intellectual products. In a more extended view, it is the relationship between parts and whole of an organism.\hfill \parencite[4]{seiler}}

Nulla malesuada por itor diam. Donec felis erat, congue non, volutpat at, tin- cidunt tristique, libero. Vivamus viverra fermentum felis. Donec nonummy pellen- tesque ante. Phasellus adipiscing semper elit. Proin fermentum massa ac quam. Sed diam turpis, molestie vitae, placerat a, molestie nec, leo. Maecenas lacinia. Nam ip- sum ligula, eleifend at, accumsan nec, suscipit a, ipsum.
\end{document}

関連情報