如何更改按钮的默认大小?
现在我有一个如下所示的框架:
\documentclass[T]{beamer}
\definecolor{links}{HTML}{2A1B81}
\hypersetup{colorlinks,linkcolor=,urlcolor=red}
\usetheme{Frankfurt}
\usecolortheme{dolphin}
\usefonttheme{structuresmallcapsserif}
\usefonttheme{serif}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{caption}
\usepackage{hyperref}
\begin{document}
\begin{frame}
\frametitle{WEPRC 2012 Overview}
\begin{itemize}
\centering
\begin{Large}
\item \hyperlink{PARTICIPANTS}{\beamergotobutton{Participants}}
\item \hyperlink{PRESENTERS}{\beamergotobutton{Presenters}}
\item \hyperlink{KEYNOTESPEAKER}{\beamergotobutton{Keynote Speaker}}
\item \hyperlink{SPONSOR}{\beamergotobutton{Sponsors}}
\end{Large}
\end{itemize}
\end{frame}
\end{document}
答案1
您可以重新定义button
模板并使用 TikZ 根据您的需要自定义按钮;一个小例子:
\documentclass{beamer}
\usepackage{tikz}
\setbeamertemplate{button}{\tikz
\node[
inner xsep=10pt,
draw=structure!80,
fill=structure!50,
rounded corners=4pt] {\Large\insertbuttontext};}
\begin{document}
\begin{frame}
\frametitle{WEPRC 2012 Overview}
\begin{itemize}
\item \hyperlink{PARTICIPANTS}{\beamergotobutton{Participants}}
\item \hyperlink{PRESENTERS}{\beamergotobutton{Presenters}}
\item \hyperlink{KEYNOTESPEAKER}{\beamergotobutton{Keynote Speaker}}
\item \hyperlink{SPONSOR}{\beamergotobutton{Sponsors}}
\end{itemize}
\end{frame}
\end{document}
字体开关应以如下形式使用\Large
(它们是命令),并尽可能进行分组:{\Large...}
,以使更改保持本地化。