这可能是愚蠢或明显的,但我正在学习制作 sty 文件,并且我一直在修改 beamerposter 项目中的一些代码。无论如何,我有这个:
\def\postercolumn#1
{\begin{column}{#1\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{minipage}[T]{.95\textwidth}
%\parbox[t][\columnheight]{\textwidth}
}
\def\endpostercolumn
{
\end{minipage}
\end{beamercolorbox}
\end{column}
}
显然 \parbox 命令已被注释掉,但我希望它从那里开始并在 end 块中结束。实际上,我想要这个:
\def\postercolumn#1
{\begin{column}{#1\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{minipage}[T]{.95\textwidth}
\parbox[t][\columnheight]{\textwidth}{
}
\def\endpostercolumn
{
}
\end{minipage}
\end{beamercolorbox}
\end{column}
}
但很自然,这不起作用,因为编译器感到困惑并认为 \endpostercolumn 部分正在关闭。有什么明显的方法可以解决这个问题吗?
谢谢你。