2

I have the following MWE

\documentclass[11pt]{article}
\usepackage{empheq}

\newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}}

\begin{document}
\begin{subequations}
\begin{empheq}[box=\widefbox]{align}
  a & = b \\
  c & = d
\end{empheq}
\end{subequations}
\end{document}

and I'd like to insert some variable-size vertical white space between the subequations to make them look nicer in the box. How may I do this?

2
\documentclass[11pt]{article}
\usepackage{empheq}

\newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}}

\begin{document}
\begin{subequations}
\begin{empheq}[box=\widefbox]{align}
  a & = b \\[2in]
  c & = d
\end{empheq}
\end{subequations}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.