我正在努力用 制作海报演示文稿beamerposter
。我只是想重现 github 页面中的示例;其中一个是这个一:
\documentclass[final]{beamer} % beamer 3.10: do NOT use option hyperref={pdfpagelabels=false} !
%\documentclass[final,hyperref={pdfpagelabels=false}]{beamer} % beamer 3.07: get rid of beamer warnings
\mode<presentation> { %% check http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php for examples
\usetheme{Berlin} %% you should define your own theme e.g. for big headlines using your own logos
}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath,amsthm, amssymb, latexsym}
%\usepackage{times}\usefonttheme{professionalfonts} % times is obsolete
\usefonttheme[onlymath]{serif}
\boldmath
\usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter} % e.g. for DIN-A0 poster
%\usepackage[orientation=portrait,size=a1,scale=1.4,grid,debug]{beamerposter} % e.g. for DIN-A1 poster, with optional grid and debug output
%\usepackage[size=custom,width=200,height=120,scale=2,debug]{beamerposter} % e.g. for custom size poster
%\usepackage[orientation=portrait,size=a0,scale=1.0,printer=rwth-glossy-uv.df]{beamerposter} % e.g. for DIN-A0 poster with rwth-glossy-uv printer check
% ...
%
\title[Fancy Posters]{Making Really Fancy Posters with \LaTeX}
\author[Dreuw \& Deselaers]{Philippe Dreuw and Thomas Deselaers}
\institute[RWTH Aachen University]{Human Language Technology and Pattern Recognition,RWTH Aachen University}
\date{Jul. 31th, 2007}
\begin{document}
\begin{frame}{}
\vfill
\begin{block}{\large Fontsizes}
\centering
{\tiny tiny}\par
{\scriptsize scriptsize}\par
{\footnotesize footnotesize}\par
{\normalsize normalsize}\par
{\large large}\par
{\Large Large}\par
{\LARGE LARGE}\par
{\veryHuge veryHuge}\par
{\VeryHuge VeryHuge}\par
{\VERYHuge VERYHuge}\par
\end{block}
\vfill
\end{frame}
\end{document}
在我看过的所有例子中,没有必要做一个经典的\maketitle
,它应该被纳入到 beamer 模板中,如何在标题中呈现标题。然而我看不到任何标题标题!
这是我编译后得到的结果pdflatex
:
我错过了什么?
答案1
标准beamer
主题是为演示而不是海报设置的,因此它们看起来不合适也就不足为奇了。headline
事实上,它运行正常 -\section{Foo}\subsection{Bar}
在框架前添加,你可以看到它出现在部分标题中,但以正常大小的文本显示,在海报上看起来很小。
事实上,你给出的代码的评论中也提到了这一点%% you should define your own theme e.g. for big headlines using your own logos
您可能想看看(或直接使用)开发人员为 beamerposter 提供的一些主题,以了解自定义标准主题需要什么https://github.com/deselaers/latex-beamerposter
以下是headline
对Berlin
主题的简单重新定义,以便以适合的方式使用beamerposter
类似的东西可能是必要的footline
,或者你可以使用其中一个主题https://github.com/deselaers/latex-beamerposter作为一种更容易被黑客入侵的解决方案
\documentclass[final]{beamer}
\mode<presentation> {
\usetheme{Berlin}
}
\usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}
\title[Fancy Posters]{Making Really Fancy Posters with \LaTeX}
\author[Dreuw \& Deselaers]{Philippe Dreuw and Thomas Deselaers}
\institute[RWTH Aachen University]{Human Language Technology and Pattern Recognition,RWTH Aachen University}
\date{Jul. 31th, 2007}
\setbeamertemplate{headline}{
\begin{beamercolorbox}[colsep=1.5pt,wd=\paperwidth]{upper separation line head}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{section in head/foot}
\centering
\vskip2ex
\usebeamercolor{title in headline}{\color{fg}\textbf{\LARGE{\strut\inserttitle}}}
\vskip2ex
\end{beamercolorbox}
\begin{beamercolorbox}[colsep=1.5pt,wd=\paperwidth]{middle separation line head}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{subsection in head/foot}
\centering
\vskip2ex
\usebeamercolor{author in headline}{\color{fg}\textbf{\large{\strut\insertauthor}}}
\vskip2ex
\end{beamercolorbox}
\begin{beamercolorbox}[colsep=1.5pt,wd=\paperwidth]{lower separation line head}
\end{beamercolorbox}
}
\begin{document}
\begin{frame}{}
\vfill
\begin{block}{\large Fontsizes}
\centering
{\tiny tiny}\par
{\scriptsize scriptsize}\par
{\footnotesize footnotesize}\par
{\normalsize normalsize}\par
{\large large}\par
{\Large Large}\par
{\LARGE LARGE}\par
{\veryHuge veryHuge}\par
{\VeryHuge VeryHuge}\par
{\VERYHuge VERYHuge}\par
\end{block}
\vfill
\end{frame}
\end{document}