有人能告诉我哪一个吗幻灯片中使用了 beamer 主题?
或者,如果没有特定的主题,那么如何调整代码以获得这种主题?
修改后的 MWE 为:
\documentclass[serif]{beamer}
\usepackage{hyperref}
\hypersetup{colorlinks=true, citecolor=blue, filecolor=blue, linkcolor=blue, urlcolor=blue}
\DeclareGraphicsExtensions{.pdf,.gif,.jpg,.eps}
\usepackage{subfigure}
\setbeamertemplate{caption}[numbered]
\usetheme{AnnArbor}
\definecolor{darkred}{RGB}{104,0,4}
\setbeamercolor{palette tertiary}{bg=darkred}
\setbeamercolor{palette secondary}{fg=darkred!60!black,bg=yellow!85!orange}
\setbeamercolor{palette primary}{fg=darkred!70!black,bg=yellow!60!orange}
\setbeamercolor{frametitle}{fg=darkred, bg=yellow!60!orange }
\setbeamerfont{frametitle}{series=\bfseries}
\begin{document}
\title{Are the Indian states fiscally sustainable?}
\author[Santosh Dash]{Santosh K. ~Dash \inst{1}}
\institute[] % (optional, but mostly needed)
{
\inst{1}%
JNU, New Delhi}
\begin{frame}
\titlepage
\end{frame}
\section{Introduction and Motivation}
\begin{frame}{Introduction and Motivation}
\begin{itemize}
\item {Both States and Center.....}
\item Hence, we examine this issue.
\end{itemize}
\end{frame}
\end{document}
当我使用该 MWE 时,标题页和章节及子章节标题的颜色显示为蓝色。我认为这与超级设置有关。我试过了,但无法解决。它应该看起来像我提到的幻灯片的标题页。
答案1
\documentclass{beamer}
\usetheme{AnnArbor}
\definecolor{darkred}{RGB}{104,0,4}
\setbeamercolor{palette tertiary}{bg=darkred}
\setbeamercolor{palette secondary}{fg=darkred!60!black,bg=yellow!85!orange}
\setbeamercolor{palette primary}{fg=darkred!70!black,bg=yellow!60!orange}
\setbeamercolor{frametitle}{fg=darkred, bg=yellow!60!orange }
\setbeamerfont{frametitle}{series=\bfseries}
\begin{document}
\section{Theory}
\begin{frame}{Theories}
\begin{enumerate}
\item Tax and spend hypothesis \pause
\item Spend and tax hypothesis \pause
\item Fiscal synchronization hypothesis \pause
\item Institutional separation or fiscal neutrality hypothesis
\end{enumerate}
\end{frame}
\end{document}
如果你想改变更多元素的颜色,请查看http://www.cpt.univ-mrs.fr/~masson/latex/Beamer-appearance-cheat-sheet.pdf获取颜色的相应名称。
答案2
beamer
加载hyperref
包,因此您不需要再执行此操作。- 标题包上的标题蓝色与
hyperref
包无关,它是在其他地方定义的:\setbeamercolor{titlelike}{...}
。 hyperref
脚中的链接由设置定义。
例如,你喜欢这样的:
那么你需要改变序言姆韦由...提供 萨姆卡特如下:
\documentclass{beamer}
\hypersetup{colorlinks=true, citecolor=blue, filecolor=blue,
linkcolor=black, % changed
urlcolor=blue}
\usetheme{AnnArbor}
\definecolor{darkred}{RGB}{104,0,4}
\setbeamercolor{palette tertiary}{bg=darkred}
\setbeamercolor{palette secondary}{fg=darkred!60!black,bg=yellow!85!orange}
\setbeamercolor{palette primary}{fg=darkred!70!black,bg=yellow!60!orange}
\setbeamercolor{frametitle}{fg=darkred, bg=yellow!60!orange }
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamercolor{titlelike}{parent=structure,fg=darkred, bg=yellow!85!orange}% added
\begin{document}
\title{Are the Indian states fiscally sustainable?}
\author[Santosh Dash]{Santosh K. ~Dash \inst{1}}
\institute[] % (optional, but mostly needed)
{
\inst{1}%
JNU, New Delhi}
\begin{frame}
\titlepage
\end{frame}
\section{Theory}
\begin{frame}{Theories}
\begin{enumerate}
\item Tax and spend hypothesis \pause
\item Spend and tax hypothesis \pause
\item Fiscal synchronization hypothesis \pause
\item Institutional separation or fiscal neutrality hypothesis
\end{enumerate}
\end{frame}
\end{document}