latexquotations

add indent witin the quotation box, and make the box continous to multi pages


This self-defined quotation box is very beautiful, but there are two problems:

1.It doesn't support the indent 2. the box cannot extend to new pages

Please help to solve it!

\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}

enter image description here


Solution

  • You could modify the \parindent to have indention within the minipage:

    \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}