我怎样才能改变我的演讲内容:
对此:
关于左下角的自定义主题颜色和徽标。
这是我目前的代码:
\documentclass[hyperref={pdfpagelabels=false}]{beamer}
\usepackage{lmodern}
\usetheme{Szeged}
\usetheme[compress]{Singapore}
\usepackage{textpos}
%Removes gradient color
\makeatletter
\AtBeginDocument{%
{
\usebeamercolor{section in head/foot}
}
\pgfdeclareverticalshading{beamer@headfade}{\paperwidth}
{%
color(0cm)=(structure.fg!0!bg);
color(1.25cm)=(structure.fg!0!bg)%
}
\setbeamercolor{section in head/foot}{bg=}
}
\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-1.25cm}{}
\makeatother
\begin{document}
\section{Section no.1}
\begin{frame}
\frametitle{frame title}
Each frame should have a title.
\end{frame}
\subsection{Subsection no.1.1 }
\end{document}
希望这不是重复的,但我无法在其他地方找到解决方案。
答案1
\documentclass[hyperref={pdfpagelabels=false}]{beamer}
\usepackage{lmodern}
\setbeamercolor{structure}{fg=teal}
\usetheme{Szeged}
\institute{institute}
\title{text}
\setbeamertemplate{navigation symbols}{}
%Removes gradient color
\makeatletter
\AtBeginDocument{%
{
\usebeamercolor{section in head/foot}
}
\pgfdeclareverticalshading{beamer@headfade}{\paperwidth}
{%
color(0cm)=(structure.fg!0!bg);
color(1.25cm)=(structure.fg!0!bg)%
}
\setbeamercolor{section in head/foot}{bg=}
}
\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-1.25cm}{}
\setbeamertemplate{footline}{%
\begin{minipage}{.1\textwidth}
\includegraphics[width=\textwidth]{example-image}
\end{minipage}
\begin{minipage}{.9\textwidth}
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
\leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}%
\hfill%
{\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute%
\ifbeamertemplateempty{page number in head/foot}{}{\qquad}%
\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}%
}%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
\end{minipage}
}
\makeatother
\begin{document}
\section{Section no.1}
\begin{frame}
\frametitle{frame title}
Each frame should have a title.
\end{frame}
\subsection{Subsection no.1.1 }
\end{document}