如何在投影仪类的标题幻灯片顶部的蓝色矩形中写入文本

如何在投影仪类的标题幻灯片顶部的蓝色矩形中写入文本

我无法想到在主标题幻灯片顶部写一些文字这是我的 MWE

 \documentclass[10pt,numbered]{beamer}
 \mode<presentation>

 \definecolor{dipjyoticol}{rgb}{0.137,0.466,0.641}
 \setbeamercolor{structure}{fg=dipjyoticol}

 \usetheme{Warsaw}
 \usepackage{cite}
 \usepackage{multirow}
 \usepackage{pstricks,colortab,pifont}
 \usefonttheme{professionalfonts}
 \usebeamerfont{child}
 \usepackage{caption}
 \usepackage{epsfig}
 \usepackage{subfig}
 \usepackage{array}
 \usepackage{enumerate}
 \usepackage{mdwlist}
 \usepackage{longtable}
 \usepackage{amssymb, amsmath}
 \usepackage{float}
 \usepackage[english]{babel}
 \usepackage{tikz}
 \usepackage{pgfplots}
 \usepgfplotslibrary{groupplots}
 \usetikzlibrary{shapes}
 \usetikzlibrary{plotmarks}
 \usetikzlibrary{shadows}


 \usetikzlibrary{matrix,positioning}

 \pgfplotsset{compat=1.12}
 \newtheorem{thm}{Theorem}
 \newcommand{\hilight}[1]{\colorbox{yellow}{#1}}
 \newcommand{\bo}[1]{\mbox{\boldmath$ {#1} $}}

 \title{ Name of the Title}

 \author{ Presented by:{\textbf{Author Name}} \\Supervisor:{\textbf{supervisor name}} \\~\\ \vspace{2mm}
     Name of Department \\ABC Institute of Technology}
 \logo{\includegraphics[height=0.6in, width=0.6in]{example-image-b}}
 \date{\tiny {\today}}
 %**********************
 \useoutertheme{sidebar}
 \makeatletter
   \setbeamertemplate{sidebar \beamer@sidebarside}%{sidebar theme}
   {
     \beamer@tempdim=\beamer@sidebarwidth%
     \advance\beamer@tempdim by -6pt%
     \insertverticalnavigation{\beamer@sidebarwidth}%
     \vfill
     \ifx\beamer@sidebarside\beamer@lefttext%
     \else%
       \usebeamercolor{normal text}%
       \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
       \vskip2pt%
     \fi%
 }%

 \usetikzlibrary{decorations.markings}
 \tikzset{
     tangent/.style={
         decoration={
             markings,% switch on markings
             mark=
                 at position #1
                 with
                 {
                \coordinate (tangent point-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0pt,0pt);
                \coordinate (tangent unit vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (1,0pt);
                \coordinate (tangent orthogonal unit vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0pt,1);
            }
    },
    postaction=decorate
     },
     use tangent/.style={
    shift=(tangent point-#1),
    x=(tangent unit vector-#1),
    y=(tangent orthogonal unit vector-#1)
     },
     use tangent/.default=1
 }
 \setbeamercolor{normal text}{fg=black,bg=white}
 \setbeamercolor{frametitle}{fg=white}
    \makeatletter
\let\@fnsymbol\@arabic
\makeatother
 \begin{document}
 \titlepage
 \setbeamertemplate{footline}[frame number]
 \newcolumntype{x}[1]{%
    >{\centering\hspace{0pt}}p{#1}}%

 \begin{frame}{Outline}
 %\frametitle{Outline}
 %\scriptsize
 \footnotesize
 \tableofcontents
 %\begin{itemize}
 %\item
 %\end{itemize}
 \end{frame}


 \section{Chapter 1: Introduction}

 \begin{frame}{Introduction}

 \end{frame}


 \end{document}

这是示例

在此处输入图片描述

答案1

就像在任何其他框架上一样,您可以使用框架标题在框架顶部添加文本:

\documentclass[10pt]{beamer}

\usetheme{Warsaw}
\usefonttheme{professionalfonts}
\useoutertheme{sidebar}

\definecolor{dipjyoticol}{rgb}{0.137,0.466,0.641}
\setbeamercolor{structure}{fg=dipjyoticol}
\setbeamercolor{frametitle}{fg=white}
\setbeamerfont{date}{size=\tiny}
\setbeamertemplate{footline}[frame number]

\title{Name of the Title}

\author[Author Name]{%
    Presented by: {\textbf{Author Name}} \\
    Supervisor: {\textbf{supervisor name}} \\[4ex]
    Name of Department\\ 
    ABC Institute of Technology}
\logo{\includegraphics[height=0.6in, width=0.6in, keepaspectratio]{example-image-b}}
\date{\today}

\begin{document}

\begin{frame}
    \frametitle{whatever you want to write}
    \titlepage
\end{frame}

\end{document}

在此处输入图片描述

相关内容