科学双栏海报中仅围绕定理的框架

科学双栏海报中仅围绕定理的框架

我正在 beamer 中创建一张海报,我希望框架只围绕我的定理,而不是到页面末尾(尤其是有两列),有谁知道如何修改代码来做到这一点?

\documentclass[a0,portrait]{a0poster}
\usepackage{multicol} % This is so we can have multiple columns of text side-by-side
\columnsep=100pt % This is the amount of white space between the columns in the poster
\columnseprule=3pt % This is the thickness of the black line between the columns in the poster
\usepackage{calc}
\usepackage{mdframed}
%\newmdtheoremenv{theo}{Theorem}
\usepackage[svgnames]{xcolor} % Specify colors by their 'svgnames', for a full list of all colors available see here: http://www.latextemplates.com/svgnames-colors
\usepackage{times} % Use the times font
\usepackage{graphicx} % Required for including images
\usepackage[font=small,labelfont=bf]{caption} % Required for specifying captions to tables and figures
\usepackage{amsfonts, amsmath, amsthm, amssymb} % For math fonts, symbols and environments
\usepackage{wrapfig} % Allows wrapping text around tables and figures
\usepackage{shadethm}
\newshadetheorem{thm}{Theorem}
\definecolor{shadethmcolor}{HTML}{EDF8FF}
\definecolor{shaderulecolor}{HTML}{45CFFF}
\setlength{\shadeboxrule}{.2pt}
\begin{document}
\begin{multicols}{2}
\begin{thm}
Some important theorem.
\end{thm}
\end{multicols}
\end{document}

答案1

我认为您可以\framebox按如下方式使用该命令:

\framebox[width][position]{
\begin{multicols}{2}
\begin{thm}
Some important theorem.
\end{thm}
\end{multicols}
}

相关内容