I am using \paragraph inside a minipage. Don't know why, but the usual space above \paragraph does not appear. Then I have a small minipage in the \paragraph. Now spacing between \paragraph is increased (maybe back to normal). Why is this happening, and how can I fix it? I would like \paragraph to behave the same as outside the minipage (no vertical space if at the top of the page, slightly elastic vertical space thereafter, don't need numbering).
\documentclass{article}
\begin{document}
\noindent
\begin{minipage}[t]{0.9\linewidth}
\paragraph{A} Blah
\paragraph{B} Blah
\paragraph{C} Blah
\newline
\begin{minipage}[t]{0.5\linewidth}
BLAH BLAH
\end{minipage}
\newline
More blah
\paragraph{D} Blah
\paragraph{E} Blah
\end{minipage}
\end{document}
Best Answer
We can use
\mbox{}
in the beging of theminipage
An other solution is
\parbox