在主题中使用框架时,我遇到了对齐问题Berkeley
。框架向左重叠,隐藏了后面的栏。你能帮我解决这个问题吗?请参考屏幕截图。
\documentclass{beamer}
\mode<presentation>
{
%\usetheme{Berlin}
%\usetheme{Dreuw}
%\usetheme{Warsaw}
%\usetheme{Rochester}
%\usetheme{PaloAlto}
%\usetheme{Antibes}
\usetheme{Berkeley}
}
\usepackage{times}
\usepackage{amsmath,amsthm, amssymb, latexsym}
\usepackage{ragged2e}
\boldmath
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
\graphicspath{{figures/}}
\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 Achen University}
\date{Sep. 20th, 2014}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
\begin{document}
\begin{frame}
\frametitle{The UNIX Time Sharing System}
\begin{block}{\large The UNIX Time Sharing System}
\centering
\vspace{18cm}
%{\VeryHuge The UNIX Time Sharing System}\par
\vspace{3cm}
{\LARGE Dennis M Ritchie and Jen Thompson}\par
\vspace{1cm}
{\LARGE Bell Laboratories}\par
\vspace{15cm}
\hspace{45cm}{\Large Presented by }\par
\hspace{55cm}{\normalsize Rohit Kiran}\par
\hspace{60cm}{\normalsize AM.EN.P2CSN14008}\par
\vspace{3cm}
\end{block}
\end{frame}
\vfill
\vfill
我是 Beamer 的新手。
答案1
使用\setbeamersize{text margin left=<width>, text margin right=<width>}
。我在以下 MWE 中使用了 4cm 边距(还删除了一些未使用的代码)
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Berkeley}
}
\usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter}
\setbeamersize{text margin left=4cm, text margin right=4cm} %NEW CODE
\graphicspath{{figures/}}
\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 Achen University}
\date{Sep. 20th, 2014}
\begin{document}
\begin{frame}
\frametitle{The UNIX Time Sharing System}
\begin{block}{\large The UNIX Time Sharing System}
\centering
\vspace{18cm}
%{\VeryHuge The UNIX Time Sharing System}\par
\vspace{3cm}
{\LARGE Dennis M Ritchie and Jen Thompson}\par
\vspace{1cm}
{\LARGE Bell Laboratories}\par
\vspace{15cm}
\hspace{45cm}{\Large Presented by }\par
\hspace{55cm}{\normalsize Rohit Kiran}\par
\hspace{60cm}{\normalsize AM.EN.P2CSN14008}\par
\vspace{3cm}
\end{block}
\end{frame}
\end{document}