Latex 在报价框中添加缩进,并使该框连续多页

Latex 在报价框中添加缩进,并使该框连续多页,latex,quotations,Latex,Quotations,这个自定义的报价框非常漂亮,但是有两个问题: 1.它不支持缩进 2.该框无法扩展到新页面 请帮忙解决它 \documentclass{article} \usepackage{xcolor} \newcommand{\quotebox}[1] { \begin{center} \fcolorbox{white}{blue!15!gray!15}{ \begin{minipage}{0.7\linewidth}\vspace{10pt} \center

这个自定义的报价框非常漂亮,但是有两个问题:

1.它不支持缩进 2.该框无法扩展到新页面

请帮忙解决它

\documentclass{article}
\usepackage{xcolor}

\newcommand{\quotebox}[1]
{
  \begin{center}
    \fcolorbox{white}{blue!15!gray!15}{
      \begin{minipage}{0.7\linewidth}\vspace{10pt}
        \center
        \begin{minipage}{0.8\linewidth}{\space\Huge``}{#1}{\hspace{1.5em}\break\null\Huge\hfill''}
        \end{minipage}
        \smallbreak
      \end{minipage}
    }
\end{center}
}

\begin{document}


\quotebox{
Dr. Sung's father was one of those who was blest in 1909. He used to go up on the hill every morning and pray for his family, his church, and for the community. 

He also prayed that God would use his son to bring revival to all China. 

Dr. Sung told me that the name of the town, Hinghwa, was the same sound as the words to bring revival to China.
}


\end{document}

您可以修改
\parindent
使其在
迷你页面中具有缩进:

\documentclass{article}
\usepackage{xcolor}

\newcommand{\quotebox}[1]
{
  \begin{center}
    \fcolorbox{white}{blue!15!gray!15}{
      \begin{minipage}{0.7\linewidth}\vspace{10pt}
        \center
        \begin{minipage}{0.8\linewidth}{\space\Huge``}{\setlength{\parindent}{1.5em}#1}{\hspace{1.5em}\break\null\Huge\hfill''}
        \end{minipage}
        \smallbreak
      \end{minipage}
    }
\end{center}
}

\begin{document}


\quotebox{
Dr. Sung's father was one of those who was blest in 1909. He used to go up on the hill every morning and pray for his family, his church, and for the community. 

He also prayed that God would use his son to bring revival to all China. 

Dr. Sung told me that the name of the town, Hinghwa, was the same sound as the words to bring revival to China.
}


\end{document}

我使用
mdframe
来支持分页!现在看起来好多了

\documentclass{article}
\usepackage{xcolor}
\usepackage{mdframed}

\newcommand{\quotebox}[1]
{
\begin{mdframed}[linecolor=red,backgroundcolor=blue!15!gray!15]
   {\space\Huge``}{
     \setlength{\parindent}{1.5em}#1}
   {\hspace{1.5em}\break\null\Huge\hfill''}
\end{mdframed} 
}

\begin{document}


\quotebox{
Dr. Sung's father was one of those who was blest in 1909. He used to go up on the hill every morning and pray for his family, his church, and for the community. 

He also prayed that God would use his son to bring revival to all China. 

Dr. Sung told me that the name of the town, Hinghwa, was the same sound as the words to bring revival to China.
}


\end{document}


要支持分页符,请使用“彩盒”而不是自制的彩盒。真的谢谢!我刚刚发现另一个问题,这个框没有延伸到下一页,你有什么线索吗?@user13720066是的,我添加了一条评论。你不应该在现有帖子中添加新问题,而应该提出新问题。