列环境间距

列环境间距

我正在使用制作海报beamerposter,但在列间距方面遇到了一些问题。我希望有一列横跨海报的整个宽度,用于显示我的标题、机构等,然后在下面显示 3 列。这很好。但是,我希望我的列与标题列对齐,但每列的大小不要都是页面大小的 1/3,因为我希望列之间有一些空间。

我希望左列与标题左侧对齐,右列与标题右侧对齐。中间列应位于中间。以下是最小示例:

\documentclass[final]{beamer}

\mode<presentation> {
  \usetheme{Boadilla}
}

\usepackage[orientation=landscape, size=a0]{beamerposter}

\begin{document}

\begin{frame}{}

\vfill

\begin{columns}
\begin{column}{\textwidth}
\begin{block}{\centering \vspace{10mm} \Huge{It's a Title}\\\huge{Author\\Institution}\vspace{10mm}}
\end{block}
\end{column}
\end{columns}

\begin{columns}

\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE This is a block \vspace{3mm}}
    There's some text in it
  \end{block}
\end{column}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                               MIDDLE COLUMN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE It's a middle block}
    And it also has text
  \end{block}
\end{column}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                           RIGHT COLUMN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE A Cool Thing \vspace{3mm}}
    Text and stuff  
  \end{block}
\end{column}

\end{columns}

\vfill

\end{frame}

\end{document}

它看起来是这样的:

居中但未正确对齐

我也尝试将标题列更改为0.93\textwidth(3 * size_of_each_column),但是这导致标题列太小:

标题太小

如何让标题下方的三列与标题对齐?我尝试\hfill在它们之间插入,但无法移动它们。我不希望每列都按0.33\textwidth大小排列,因为这样列之间就没有空间了。

答案1

如果您指定totalwidth列,它似乎可以工作:

\documentclass[final]{beamer}

\mode<presentation> {
  \usetheme{Boadilla}
}

\usepackage[orientation=landscape, size=a0]{beamerposter}

\begin{document}

\begin{frame}{}

\vfill

\begin{columns}[totalwidth=\textwidth]
\begin{column}{\textwidth}
\begin{block}{\centering \vspace{10mm} \Huge{It's a Title}\\\huge{Author\\Institution}\vspace{10mm}}
\end{block}
\end{column}
\end{columns}

\begin{columns}[totalwidth=\textwidth]

\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE This is a block \vspace{3mm}}
    There's some text in it
  \end{block}
\end{column}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                               MIDDLE COLUMN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE It's a middle block}
    And it also has text
  \end{block}
\end{column}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                           RIGHT COLUMN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{0.31\textwidth}
  \begin{block}{\centering \vspace{3mm} \LARGE A Cool Thing \vspace{3mm}}
    Text and stuff  
  \end{block}
\end{column}

\end{columns}

\vfill

\end{frame}

\end{document}

在此处输入图片描述

相关内容