I have a \framebox (I don't insist on using this command) and a minipage that causes whitespace, because the drawn box is not allowing any text before or after and it itself does not break over pages. The code looks like this:
\framebox{%
\begin{minipage}{\textwidth}
\begin{center}
Title Goes Here
\end{center}
Contents go here
\end{minipage}
}
Am I using the correct command? If so, how can I break it over pages? or if it is not possible to break it, I must give it a label and caption (just like a table or figure) and make it inline with text so that I can refer it in the article, but I don't know that either.
mdframed. See documentation on how it has to be used – Herbert May 26 '11 at 10:27\framebox. – Martin Scharrer♦ May 26 '11 at 11:01