采用海狸色主题的投影仪侧边栏对比度更高

采用海狸色主题的投影仪侧边栏对比度更高

我正在使用beaver颜色主题和sidebar外部主题,并注意到站在距离屏幕 10 英尺的听众无法辨别侧面显示的“未突出显示”的部分。

白色的

有人能看到左边的“简介”这个词吗?(它就在那里)

如何提高对比度,也许可以通过将这些词变为深灰色,或者将当前部分变为红色,将“目前不是”的部分变为浅红色。

一位 MWE 表示:

\documentclass[dvipsnames]{beamer}
\usepackage{geometry,xcolor}
\geometry{paperwidth=148mm,paperheight=96mm}
\useoutertheme[width=20mm]{sidebar}
%\usetheme{Berkeley}
\usecolortheme{beaver}

\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\setbeamercolor{footline}{fg=black}
\setbeamerfont{footline}{series=\small}
 % From https://tex.stackexchange.com/a/137028/180429

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[babel]{csquotes}
\title[]{My presentation title}
\subtitle{Final Project}
\author[]{Euklid} % tricking LaTeX to think that the short title/author is the empty string as represented by []
\institute{Fancy University}
\date{2021}

\begin{document}
\frame{\titlepage}

\section{Background}
\subsection{Introduction}
\begin{frame}{Introduction}{Motivation}
  \begin{center}
    The goal --- study math.
  \end{center}
\end{frame}
\begin{frame}{Method}
The methods for this are...
\end{frame}
\end{document}

答案1

你说得对,几乎看不见。解决方案是增加字体大小,并使阴影文本变暗。

更新二

(1)包括章节(以前为白色)和小节,均使用较大的字体。

(2) 侧边栏条目之间的垂直间距已缩小,以便显示更多章节和子章节。此外,阴影(灰色)章节和子章节的字体大小比选定(彩色)章节和子章节的字体大小要小。

X

是

\documentclass[dvipsnames]{beamer}
\usepackage{geometry,xcolor}    

\geometry{paperwidth=148mm,paperheight=96mm}
\useoutertheme[width=20mm]{sidebar} %
%\usetheme{Berkeley}
\usecolortheme{beaver}

\addtobeamertemplate{navigation symbols}{}{%
    \usebeamerfont{footline}%
    \usebeamercolor[fg]{footline}%
    \hspace{1em}%
    \insertframenumber/\inserttotalframenumber
}
\setbeamercolor{footline}{fg=black}
\setbeamerfont{footline}{series=\small}
% From https://tex.stackexchange.com/a/137028/180429

%% ************************* added
\makeatletter

\setbeamertemplate{subsection in sidebar}
{%
    \beamer@sidebarformat{5pt}{subsection in sidebar}{\color{darkred!80!gray}\footnotesize\insertsubsectionhead}% color and font size subsection << <<
}

\setbeamertemplate{subsection in sidebar shaded}
{%
    \beamer@sidebarformat{5pt}{subsection in sidebar shaded}{\color{black!60}\scriptsize\insertsubsectionhead}%  color and fontsize <<<
}

\setbeamertemplate{section in sidebar}% color and font size section << <<<
{%
\vbox{%
%       \vskip1ex% <<<<
    \beamer@sidebarformat{3pt}{section in sidebar}{\color{darkred!80!gray}\footnotesize\insertsectionhead}%
}%
}

\setbeamertemplate{section in sidebar shaded}% color and font size section << <<<
{%
\vbox{%
%       \vskip1ex% <<<<
    \beamer@sidebarformat{3pt}{section in sidebar shaded}{\color{black!60}\scriptsize\insertsectionhead}%
}%
}

\makeatother
%% *************************

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[babel]{csquotes}
\title[]{My presentation title}
\subtitle{Final Project}
\author[]{Euklid} % tricking LaTeX to think that the short title/author is the empty string as represented by []
\institute{Fancy University}
\date{2021}

\begin{document}
    \frame{\titlepage}
    
    \section{Background}
    \begin{frame}{Background}{Natural numbers}
        \begin{center}
            [0,] 1, 2, 3, \dots{}
        \end{center}
    \end{frame}
    
    \subsection{Introduction}
    \begin{frame}{Introduction}{Motivation}
        \begin{center}
            The goal --- study math.
        \end{center}
    \end{frame}

    \begin{frame}{Method}
        The methods for this are...
    \end{frame}

    \section{Objective}
    \begin{frame}{Objective}{Real numbers}  
    Rationals, Integers, Irrationals

    \end{frame}
    
    \subsection{Complex numbers?}
    \begin{frame}{Next steps}{Complex numbers?}     
    Not yet.    
    \end{frame}
    
    \subsection{What else?}
    \begin{frame}{What else?}{What else?}       
    In the horizon.     
    \end{frame}

    \subsection{A new grant}
    \begin{frame}{A new grant}{It will be great!}       
        Everyone will appreciate it.
    \end{frame}
    
    \section{Main results so far}
    \begin{frame}{Main results so far}{}        
        This is the most important part.        \
    \end{frame}
    
    \section{Conclusions}
    \begin{frame}{Conclusions}{To be done}      
    Not yet completed.
    \end{frame}

    \section{Thank you}
    \begin{frame}{Thank you}{}      
        You all.
    \end{frame}
    
\end{document}

相关内容