![在 Beamer 中使用 Berkeley 主题时出现对齐问题](https://linux22.com/image/298216/%E5%9C%A8%20Beamer%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20Berkeley%20%E4%B8%BB%E9%A2%98%E6%97%B6%E5%87%BA%E7%8E%B0%E5%AF%B9%E9%BD%90%E9%97%AE%E9%A2%98.png)
在主题中使用框架时,我遇到了对齐问题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}