1

I have some long equations in my document. I want to add some square brackets so it is clear how the main text flows.

enter image description here

Here is my code

\documentclass{article}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{lipsum}

\begin{document}

\begin{onecolumn}
\begin{multicols}{2}
\lipsum[2]

\end{multicols}

\begin{equation}
+long\;equation 1-2-3-4-5-6-7-8-9-..................=
\end{equation}

\begin{multicols}{2}
\lipsum[3]
\end{multicols}
\end{onecolumn}
\end{document}
2

1 Answer 1

1

I found the snippet here:

\documentclass{article}
\usepackage[margin=3cm]{geometry}
\usepackage{lipsum,amsmath,multicol}
\begin{document}

\begin{multicols}{2}
\lipsum[1-3]
\end{multicols}
\par\noindent\rule{\dimexpr(0.5\textwidth-0.5\columnsep-0.4pt)}{0.4pt}%
\rule{0.4pt}{6pt}

\begin{equation}
\mathcal{R}^{(\text{d})}=
 g_{\sigma_2}^e
 \left(
   \frac{[\Gamma^Z(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2}
  +\frac{[\Gamma^Z(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2}
 \right)
 + x_WQ_e
 \left(
   \frac{[\Gamma^\gamma(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2}
  +\frac{[\Gamma^\gamma(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2}
 \right)\;. \label{eq:wideeq}
\end{equation}

\vspace{\belowdisplayskip}\hfill\rule[-6pt]{0.4pt}{6.4pt}%
\rule{\dimexpr(0.5\textwidth-0.5\columnsep-1pt)}{0.4pt}
\begin{multicols}{2}
\lipsum[4-5]
\end{multicols}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .