如何在并排的框架之间插入数学符号?

如何在并排的框架之间插入数学符号?

我想将两个包含一些文本的框架框并排放置,并在它们之间放置一个数学符号(例如加号)。我该怎么做?以下是代码:

\documentclass{article}
\usepackage{enumitem}
\usepackage{framed}
\usepackage{multicol}

\begin{document}
\begin{multicols}{3}
\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}

\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}
\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}
\end{multicols}

\end{document}

答案1

一个选项是使用minipage而不是multicols

enter image description here

代码:

\documentclass{article}
\usepackage{enumitem}
\usepackage{framed}

\begin{document}

\noindent
\begin{minipage}{0.3\linewidth}
\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}
\end{minipage}
$+$
\begin{minipage}{0.3\linewidth}
\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}
\end{minipage}
$+$
\begin{minipage}{0.3\linewidth}
\begin{framed}
\begin{enumerate}[nolistsep]
\item box2-item1
\item box2-item2
\item box2-item3
\end{enumerate}
\end{framed}
\end{minipage}

\end{document} 

相关内容