[Tex/LaTex] Space just before minipage

framedindentationminipagespacing

This is my .tex file:

\documentclass{article}
\usepackage{framed}
\setlength{\FrameSep}{3pt}
\begin{document}
   \noindent{}The king\\
   \begin{minipage}{0.9\textwidth}
      is dead,
      \begin{framed}
         Long live
      \end{framed}
      the king
   \end{minipage}
\end{document}

This is the output:

current

This is the intended output:

intended

The spacing between "The king" and "is dead" should be the same as that between "is dead" and "Long live"(Ignore the left margins, couldn't take the screenshot properly).

Of course I could replace

\noindent{}The king\

by

\noindent{}The king\\[4mm]

or something, but I want something more elegant. What is the best way to do this? Any help would be appreciated.

Best Answer

I suggest using \baselineskip to make the vertical space. Remember \noindent when starting new paragraphs here.

Sample output

\documentclass{article}

\usepackage{framed}
\setlength{\FrameSep}{3pt}

\begin{document}

\noindent
The king

\vspace{\baselineskip}
\noindent
\begin{minipage}{0.9\textwidth}
  is dead,
  \begin{framed}
    Long live
  \end{framed}
  the king
\end{minipage}

\end{document}