定理标题仍然没有换行

定理标题仍然没有换行

这个问题之前已经问过如何在定理标题中换行?,但答案似乎对我不起作用:

\documentclass[a4paper, twoside]{book}%[a4paper,oneside]
\usepackage[ngerman]{babel}

\usepackage[autostyle]{csquotes}
\usepackage[
    backend=biber,
    style=numeric,
    sortlocale=de_DE,
    natbib=true,
    url=false,
    doi=true,
    eprint=false
]{biblatex}
\addbibresource{itteerde.bib}
\bibliography{itteerde} 

\usepackage{amsthm}

\newtheorem{zeit}{Zeit-online}


\begin{document}


\section{2016-02-22}

\begin{zeit}[A long title as a heading for some commentary at more and longer and now or somewhere it should be broken up instead of leaving the page and it sucks?]
    \begin{quote}[Waldeule]
        ...
    \end{quote}

    Die...
\end{zeit}

Text...

\end{document}

答案1

没有amsthm什么特别的事情要做,以便“归因”部分(即可选参数)跨行分割。

就您而言,问题quote在于刚开始时的环境。我想说,这是一个模糊的功能。只需添加,\mbox{}这样quote在排版归因后就可以看到。

\documentclass[a4paper, twoside]{book}
\usepackage[ngerman]{babel}

\usepackage{amsthm}

\newtheorem{zeit}{Zeit-online}


\begin{document}

\begin{zeit}[A long title as a heading for some commentary at more and longer and
  now or somewhere it should be broken up instead of leaving the page and it sucks?]
\mbox{}
\begin{quote}
A quotation of something
\end{quote}
Some text for the theorem.
\end{zeit}

Some text after the theorem.

\end{document}

在此处输入图片描述

相关内容