如何在 beamerposter 中生成标题?

如何在 beamerposter 中生成标题?

我正在尝试为我的海报生成一个标题,beamerposter但这似乎不必要地困难。

在下面的示例代码中,使用maketitle会导致整页标题,而我只是寻找顶部和居中对齐的内容。

\documentclass[final]{beamer}
  \mode<presentation>
  {
 \usetheme{default}
}
  \usepackage{type1cm}
  \usepackage{calc} 
  \usepackage{times}
  \usepackage{amsmath,amsthm, amssymb, latexsym}
  \boldmath
  \usepackage[english]{babel}
  \usepackage[latin1]{inputenc}
  \usepackage[orientation=landscape,size=custom,width=101.6,height=76.2,scale=1,debug]{beamerposter}
  \usepackage[absolute,overlay]{textpos}
  \title{My Awesome Paper Title}
  \author{Merlin2011}
  \institute{FooBar University}
  \date{June 6, 2014}
  \begin{document}
  \begin{frame}
  \maketitle
  \end{frame}
\end{document}

如何才能为我的海报生成一个简单的标题而不占用整个页面?

答案1

这是一种尝试。block如果您不想要它,请删除该环境。请注意@cfr 提供的评论中提到的技能是常见的技能,因为海报通常尺寸过大,这些方法将易于设计布局和调试。

更新:此更新包括columnscolumn环境。这里共演示了 3 列。Left columnR column(具有 R1 和 R2 列)因此使用可调的。在我看来,在使用 beamerposter 时,和0.28\paperwidth通常是主要的错误来源。beginend column(s)

在此处输入图片描述

代码

\documentclass[final]{beamer}
  \mode<presentation>
  {
 \usetheme{default}
}
  \usepackage{type1cm}
  \usepackage{calc} 
  \usepackage{times,lipsum}
  \usepackage{amsmath,amsthm, amssymb, latexsym}
  \boldmath
  \usepackage[english]{babel}
  \usepackage[latin1]{inputenc}
  \usepackage[orientation=landscape,size=custom,width=101.6,height=76.2,scale=1,debug]{beamerposter}
  \usepackage[absolute,overlay]{textpos}
\usetheme[secheader]{Boadilla}
\setbeamersize{sidebar width left=0.6cm}
\setbeamersize{sidebar width right=0.6cm}
\setbeamertemplate{navigation symbols}{}     
\setbeamertemplate{background canvas}[vertical shading][bottom=red!20,top=yellow!30]

%  Title, date and authors of the poster 
\title{My Awesome Paper Title}
\author{Merlin2011}
\institute{FooBar University}
\date{June 6, 2014}
%==the poster content
\begin{document}      %--the poster is one beamer frame, so we have to start with:
\begin{frame}[t]      %--to separate the poster in columns we can use the columns environment
\setbeamercolor{block title}{fg=blue,bg=orange!70}%frame color
\setbeamercolor{block body}{fg=black,bg=orange!30}%body color
\begin{block}
{\centering \Huge {My Awesome Paper Title}}
\begin{center}
\Large{
Merlin2011 \\
FooBar University\\
\today}
\end{center}
\end{block}
\begin{columns}                    % outermost column wrapping all columns
\begin{column}{0.28\paperwidth}    % first Left column
Left column ----
\lipsum[2]
\end{column}
\begin{column}{0.6\paperwidth}     % 2nd big R column that contains two R1 and R2 columns
\begin{columns}[t,totalwidth=0.6\paperwidth]
\begin{column}{0.28\paperwidth}    % R1 column
R1 column ----
\lipsum[2]
\end{column}
\begin{column}{0.28\paperwidth}    % R2 column
R2 column ---
\lipsum[2]
\end{column}
\end{columns}                      % end of 2nd big R column
\end{column}
\end{columns}                      % outermost column wrapping all columns
\end{frame}
\end{document}

在此处输入图片描述

代码:

\documentclass[final]{beamer}
  \mode<presentation>
  {
 \usetheme{default}
}
  \usepackage{type1cm}
  \usepackage{calc} 
  \usepackage{times}
  \usepackage{amsmath,amsthm, amssymb, latexsym}
  \boldmath
  \usepackage[english]{babel}
  \usepackage[latin1]{inputenc}
  \usepackage[orientation=landscape,size=custom,width=101.6,height=76.2,scale=1,debug]{beamerposter}
  \usepackage[absolute,overlay]{textpos}
\usetheme[secheader]{Boadilla}
\setbeamersize{sidebar width left=0.6cm}
\setbeamersize{sidebar width right=0.6cm}
\setbeamertemplate{navigation symbols}{}     
\setbeamertemplate{background canvas}[vertical shading][bottom=red!20,top=yellow!30]

%  Title, date and authors of the poster 
\title{My Awesome Paper Title}
\author{Merlin2011}
\institute{FooBar University}
\date{June 6, 2014}
%==the poster content
\begin{document}      %--the poster is one beamer frame, so we have to start with:
\begin{frame}[t]      %--to separate the poster in columns we can use the columns environment
\setbeamercolor{block title}{fg=blue,bg=orange!70} %frame color
\setbeamercolor{block body}{fg=black,bg=orange!30} %body color
\begin{block}         % <----
{\centering \Huge {My Awesome Paper Title}}
\begin{center}
%\Huge {My Awesome Paper Title}\\ 
\Large{
Merlin2011 \\
FooBar University\\
\today}
\end{center}
\end{block}           % <---

\end{frame}
\end{document}

答案2

您需要生成标题区域作为框架的标题。如果您查看此处的示例https://github.com/deselaers/latex-beamerposter,您会发现每个完整的示例都包含一个自定义的 .sty 文件,其中定义了标题模板。这似乎是这样做的方法。

相关内容