
我正在尝试创建自己的 Beamer 主题,并希望创建一个与幻灯片高度相同的右侧边栏。不幸的是,情况并非如此。
\useoutertheme[right]{sidebar}
\setbeamercolor{sidebar right}{bg=lightgray, fg=black}
\setbeamersize{sidebar width right=1.8cm}
\usetheme[hideothersubsections]{}
你知道我该怎么做吗?
答案1
外部主题sidebar
有一个记录的height
选项:
height=⟨dimension⟩
指定框架标题矩形的高度。如果设置为 0pt,则不会创建框架标题矩形。相反,框架标题会正常插入到框架中。
因此,您只需0pt
为此选项提供一个值:
\useoutertheme[right, height=0pt]{sidebar}