如何制作带有自定义标题页和素材的投影仪演示文稿

如何制作带有自定义标题页和素材的投影仪演示文稿

我打算为我的公司制作包含大量数学知识的幻灯片,但我只得到了 PowerPoint 和 Keynote 的模板。我从 PowerPoint 模板中保存了标题页,并尝试将其设置为我的 Beamer 演示文稿中标题页的背景。但我没有成功。有人能帮我吗?非常感谢!

这是 PowerPoint 中的标题页。我想将其用作我的 Beamer 演示文稿中标题页的背景: 封面

这是 PowerPoint 中的常规页面。我想将其用作我的 Beamer 演示文稿中所有后续幻灯片的背景。

常规页面

非常感谢您的帮助!

顺便说一句,我尝试了 \titlegraphic,它无法将图像放在正确的位置。

这是我使用的主题(下面有两个主题文件)。beamerthemeAtlanta.sty

\ProvidesPackageRCS $Header:
/cvsroot/latex-beamer/latex-beamer/themes/theme/beamerthemeAtlanta.sty,v 1.1
2007/07/05 10:00:00 tantau Exp $

% Copyright 2007 by Rajbabu Velmurugan <[email protected]>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.

% This beamer 'Atlanta' theme is a modified version of the Warsaw theme.
% The main differences from the Warsaw theme include
%     - Uses a color theme relevant to Georgia Tech, Atlanta (gold, yellow, white, navy blue)
%       (beamercolorthemeyellowjacket.sty)
%     - Places the logo in the top-left corner of the slide
%     - Provides an option to modify the bullets used in item to be balls or triangles
%
\mode<presentation>

\newif\ifbeamer@itemtriangle%
\beamer@itemtrianglefalse%
\DeclareOptionBeamer{itemtriangle}[false]{\csname beamer@itemtriangle#1\endcsname}%

\newif\ifbeamer@tocitemnumbered%
\beamer@tocitemnumberedtrue%
\DeclareOptionBeamer{tocitemnumbered}[true]{\csname beamer@tocitemnumbered#1\endcsname}%

\dimen0=\beamer@leftmargin%
\dimen1=\beamer@rightmargin%
% left text margin
\DeclareOptionBeamer{lessleftmargin}{%
\multiply \dimen0 #1
\divide \dimen0 100
\setbeamersize{text margin left=\dimen0}}%

\ProcessOptionsBeamer

% right text margin
\DeclareOptionBeamer{lessrightmargin}{%
\multiply \dimen1 #1
\divide \dimen1 100
\setbeamersize{text margin right=\dimen1}}%

\ProcessOptionsBeamer


%% Styles from Warsaw
\useinnertheme[shadow=true]{rounded}
\useoutertheme{shadow}
\usecolortheme{yellowjacket}

\setbeamerfont{block title}{size={}}

%%
%% Inner theme modifications in Atlanta
%% Use ball or triangle as bullet for 'items'
\ifbeamer@itemtriangle
    \setbeamertemplate{items}[triangle]
\else
    \setbeamertemplate{items}[ball]
\fi

%% Use numbered ball or unnumbered ball in TOC of outline
\ifbeamer@tocitemnumbered
    \setbeamertemplate{sections/subsections in toc}[ball]
\else
    \setbeamertemplate{sections/subsections in toc}[ball unnumbered]
\fi


%% Outer theme modifications in Atlanta
%% Right Sidebar - navigation symbol
\defbeamertemplate*{sidebar right}{atlanta}
{
  \vfill%
%  \llap{\insertlogo\hskip0.1cm}%
  \vskip2pt%
  \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
  \vskip2pt%
}
%% From beamerouterthemesplit.sty, to add logo at the top left corner of the frame
% Head
\ifbeamer@compress

\setbeamertemplate{headline}
{%
  \leavevmode%
  %% Remove logo when we use 'compress' in beamer option
%    \begin{beamercolorbox}[wd=.15\paperwidth,ht=\@tempdimb]{section in head/foot}
%    \insertlogo
%    \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{section in head/foot}%
    \insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}%
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{subsection in head/foot}%
    \insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}%
  \end{beamercolorbox}%
}

\else

\setbeamertemplate{headline}
{%
  \leavevmode%
  \@tempdimb=2.4375ex%
  \ifnum\beamer@subsectionmax<\beamer@sectionmax%
    \multiply\@tempdimb by\beamer@sectionmax%
  \else%
    \multiply\@tempdimb by\beamer@subsectionmax%
  \fi%
  \ifdim\@tempdimb>0pt%
    \advance\@tempdimb by 1.125ex%
    \begin{beamercolorbox}[wd=.15\paperwidth,ht=\@tempdimb,center]{section in head/foot}
    \vbox to\@tempdimb{\vfil\insertlogo\vfil}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.35\paperwidth,ht=\@tempdimb]{section in head/foot}%
      \vbox to\@tempdimb{\vfil\insertsectionnavigation{.35\paperwidth}\vfil}%
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}%
      \vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}%
    \end{beamercolorbox}%
  \fi%
}

\fi


% toc: sphere - reduced size compared to the default size in 'beamerbaseauxtemplates.sty'
\normalsize
\pgfdeclareradialshading[bg,parent.bg]{tocsphere}{\pgfpoint{-0.4ex}{0.6ex}}%
{%
  color(0ex)=(bg!35!white);
  color(0.3ex)=(bg!75!white);
  color(0.6ex)=(bg!70!black!90!parent.bg);
  color(0.8ex)=(bg!50!black!90!parent.bg);
  color(1.0ex)=(parent.bg)}

 \mode <all>

和 beamercolorthemeyellowjacket.sty

\ProvidesPackageRCS $Header:
/cvsroot/latex-beamer/latex-beamer/themes/color/beamercolorthemeyellowjacket.sty,v
1.0 2007/07/05 10:00:00 tantau Exp $

% Copyright 2007 by Rajbabu Velmurugan <[email protected]>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.

% This beamer 'yellowjacket' color theme is used in 'Atlanta' theme. It is a modified version
% of the 'Whale' and 'Orchid' themes used by the 'Warsaw' theme.
%
% The main differences from the Warsaw theme include
%     - Uses a color theme relevant to Georgia Tech, Atlanta (gold, yellow, white, navy blue)
%       (beamercolorthemeyellowjacket.sty)
%     - Places the logo in the top-left corner of the slide
%     - Provides an option to modify the bullets used in item to be balls or triangles
%

\mode<presentation>

%% Authorized colors for Georgia Tech are gold (PMS 124), metallic gold (PMS 874), navy (PMS 539), and black.
%% RGB - #f0ad00 (PMS 124) 0.9, 0.67, 00
%% RGB - #cc9900 (PMS 874) 0.8, 0.6, 0
%% RGB - #00274d (PMS 539) 0.0, 0.15, 0.3
%% RGB - #050403 (black) 0.02, .015, 0.01
\definecolor{gtgold}{rgb}{0.9, 0.7, 0} % use structure theme to change
\definecolor{gtyellow}{rgb}{0.8, 0.6, 0}
\definecolor{gtnavy}{rgb}{0,0.2,0.3}

\setbeamercolor{structure}{fg=gtgold}

\setbeamercolor*{normal text}{fg=gtnavy, bg=white}%
\setbeamercolor*{alerted text}{fg=red}%
\setbeamercolor*{example text}{fg=green!50!white}%

%% From beamercolorthemewhale.sty (outer color)
% the 'palette primary' and 'palette quaternary' control the color shading in the
% 'frametitle' field of the frame.
\setbeamercolor*{palette primary}{use=structure,fg=gtnavy,bg=structure.fg}
\setbeamercolor*{palette secondary}{use=structure,fg=gtnavy,bg=structure.fg!75!black}%
\setbeamercolor*{palette tertiary}{use=structure,fg=gtnavy,bg=structure.fg!50!black}%
\setbeamercolor*{palette quaternary}{use=structure,fg=gtnavy, bg=white}%

\setbeamercolor*{sidebar}{use=structure,bg=structure.fg}
\setbeamercolor*{palette sidebar primary}{use=structure,fg=structure.fg!10}
\setbeamercolor*{palette sidebar secondary}{fg=gtnavy}%
\setbeamercolor*{palette sidebar tertiary}{use=structure,fg=structure.fg!50}%
\setbeamercolor*{palette sidebar quaternary}{fg=gtnavy}

\setbeamercolor*{titlelike}{parent=palette primary}

\setbeamercolor*{separation line}{}
\setbeamercolor*{fine separation line}{}

%% From beamercolorthemeorchid.sty (inner color)
\setbeamercolor{block title}{use=structure,fg=gtnavy,bg=structure.fg}%
\setbeamercolor{block title alerted}{use=alerted text,fg=gtnavy,bg=alerted text.fg!75!black}%
\setbeamercolor{block title example}{use=example text,fg=gtnavy,bg=example text.fg!75!black}%

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg}%
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!10!bg}%
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!10!bg}%

%\setbeamercolor*{titlelike}{parent=palette primary}%
%\setbeamercolor*{frametitle}{bg=gtgold!90!white}%
%\setbeamercolor*{frametitle right}{bg=gtgold!90!white}%

\模式

在此更新 非常感谢 cfr 花时间帮助我!我尝试了您的代码,但一旦幻灯片中有部分内容,顶部的导航栏就会显示出来并遮挡背景上的蓝色栏。请参阅下面的代码。此外,我可以将“黄色”主题的颜色更改为“蓝色”吗?因为主题颜色与背景图片不兼容。您能告诉我应该在 beamercolorthemeyellowjacket.sty 文件中更改什么吗?谢谢!

\documentclass[font=9pt]{beamer}
\usetheme{Atlanta}
\makeatletter
  \defbeamertemplate*{frametitle}{mytitle}[1][left]
  {
    \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
    \@tempdima=\textwidth%
    \advance\@tempdima by\beamer@leftmargin%
    \advance\@tempdima by\beamer@rightmargin%
    \begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{}
      \usebeamerfont{frametitle}%
      \vbox{}\vskip-1ex%
      \if@tempswa\else\csname beamer@fte#1\endcsname\fi%
      \strut\insertframetitle\strut\par%
      {%
        \ifx\insertframesubtitle\@empty%
        \else%
        {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
        \fi
      }%
      \vskip-1ex%
      \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
    \end{beamercolorbox}%
  }
\makeatother
\setbeamertemplate{footline}{}
\setbeamertemplate{frametitle}[mytitle]


\defbeamertemplate*{title page}{customized}[1][]
{
  \usebeamerfont{title}\inserttitle\par
  \usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
  \bigskip
  \usebeamerfont{author}\insertauthor\par
  \usebeamerfont{institute}\insertinstitute\par
  \usebeamerfont{date}\insertdate\par
  \usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}




%\usepackage{Warsaw}
%\usepackage{beamercolorthemeyellowjacket}
\usefonttheme{serif}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{algorithmic,algorithm}
\usepackage{graphicx,ifpdf}
\usepackage{mathrsfs}
\usepackage{natbib}
\usepackage{dsfont}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{verbatim}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{wasysym}
\usepackage{tabularx}
\usepackage{tabulary}

\def\Ze{\mathbb{Z}}
\def\Qe{\mathbb{Q}}
\def\Re{\mathbb{R}}
\def\Ne{\mathbb{N}}
\def\E{\mathbb{E}}
%\def\Pr{{\rm Pr}}
\def\newblock{}

\DeclareMathOperator*{\wg}{\wedge}
\newcommand{\set}[1]{\left\{ #1 \right\}}
\newtheorem{thm}{Theorem}
\newtheorem{lem}{Lemma}
\newtheorem{obs}{Observation}
\newtheorem{prop}{Proposition}
\newtheorem{cor}{Corollary}
\newtheorem{dfn}{Definition}
\newtheorem{asp}[theorem]{Assumption}
\newcommand{\rv}{\mathcal{T}}
\newcommand{\rr}{\mathbb{R}}
\newcommand{\zz}{\mathbb{Z}}
\newcommand{\nn}{\mathbb{N}}
\newcommand{\rw}{W}


\newcommand{\rc}[1]{\textcolor{Black}{#1}}
\newcommand{\bc}[1]{\textcolor{Black}{#1}}



\title[Presentation ] % (optional, use only with long paper titles)
{Presentation Title}
\institute[my institute]{
  }
\author[my name ] % (optional, use only with lots of authors)
{my name}

\date[]

\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{blue}}
\frame[plain]{\titlepage}

\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{background}}

\begin{frame}\frametitle{Outline}
\begin{enumerate}
\item Introduction
\item A two-stage chance-constrained model
\item Case study
\item Solution approaches 
\item Conclusions 

\end{enumerate}
\end{frame}

\section{Introduction}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\


\end{center}

\end{frame}

\section{A two-stage chance-constrained model}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\


\end{center}

\end{frame}

\section{Case study}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\


\end{center}

\end{frame}

\section{Solution approaches }
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\


\end{center}

\end{frame}





\end{document}

答案1

所以这可能不是你所需要的,因为我不知道你从哪里开始:

\documentclass{beamer}
\title{Title}
\author{Me}
\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{teitl}}
\frame[label=title]{\titlepage}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{tudalen}}
\begin{frame}{Frame Title}
    This is a regular page.
\end{frame}
\end{document}

标题页和普通页

更新

我目前能想到的唯一方法如下:

\documentclass{beamer}
\usetheme{Atlanta}
\makeatletter
  \defbeamertemplate*{frametitle}{mytitle}[1][left]
  {
    \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
    \@tempdima=\textwidth%
    \advance\@tempdima by\beamer@leftmargin%
    \advance\@tempdima by\beamer@rightmargin%
    \begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{}
      \usebeamerfont{frametitle}%
      \vbox{}\vskip-1ex%
      \if@tempswa\else\csname beamer@fte#1\endcsname\fi%
      \strut\insertframetitle\strut\par%
      {%
        \ifx\insertframesubtitle\@empty%
        \else%
        {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
        \fi
      }%
      \vskip-1ex%
      \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
    \end{beamercolorbox}%
  }
\makeatother
\setbeamertemplate{footline}{}
\setbeamertemplate{frametitle}[mytitle]

\title{Title}
\author{Me}

\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{teitl}}
% plain removes the navigation bar etc.
\frame[plain]{\titlepage}

\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{tudalen}}

\begin{frame}{Frame Title}
    This is a regular page.
\end{frame}

\end{document}

破解了框架标题,没有脚注,纯标题页

更新至更新

\documentclass[font=9pt]{beamer}
\usetheme{Atlanta}
\makeatletter
  \defbeamertemplate*{frametitle}{mytitle}[1][left]
  {
    \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
    \@tempdima=\textwidth%
    \advance\@tempdima by\beamer@leftmargin%
    \advance\@tempdima by\beamer@rightmargin%
    \begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{}
      \usebeamerfont{frametitle}%
      \vbox{}\vskip-1ex%
      \if@tempswa\else\csname beamer@fte#1\endcsname\fi%
      \strut\insertframetitle\strut\par%
      {%
        \ifx\insertframesubtitle\@empty%
        \else%
        {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
        \fi
      }%
      \vskip-1ex%
      \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
    \end{beamercolorbox}%
  }
\makeatother
\setbeamertemplate{footline}{}
\setbeamertemplate{frametitle}[mytitle]
\setbeamertemplate{headline}{}% eliminate headline so background is revealed
\definecolor{myblue}{rgb}{0.4, 0.6, 0.8}% adjust as desired
\setbeamercolor{structure}{fg=myblue}

\defbeamertemplate*{title page}{customized}[1][]
{
  \usebeamerfont{title}\inserttitle\par
  \usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
  \bigskip
  \usebeamerfont{author}\insertauthor\par
  \usebeamerfont{institute}\insertinstitute\par
  \usebeamerfont{date}\insertdate\par
  \usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}

%\usepackage{Warsaw}
%\usepackage{beamercolorthemeyellowjacket}
\usefonttheme{serif}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{algorithmic,algorithm}
\usepackage{graphicx,ifpdf}
\usepackage{mathrsfs}
\usepackage{natbib}
\usepackage{dsfont}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{verbatim}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{wasysym}
\usepackage{tabularx}
\usepackage{tabulary}

\def\Ze{\mathbb{Z}}
\def\Qe{\mathbb{Q}}
\def\Re{\mathbb{R}}
\def\Ne{\mathbb{N}}
\def\E{\mathbb{E}}
%\def\Pr{{\rm Pr}}
\def\newblock{}

\DeclareMathOperator*{\wg}{\wedge}
\newcommand{\set}[1]{\left\{ #1 \right\}}
\newtheorem{thm}{Theorem}
\newtheorem{lem}{Lemma}
\newtheorem{obs}{Observation}
\newtheorem{prop}{Proposition}
\newtheorem{cor}{Corollary}
\newtheorem{dfn}{Definition}
\newtheorem{asp}[theorem]{Assumption}
\newcommand{\rv}{\mathcal{T}}
\newcommand{\rr}{\mathbb{R}}
\newcommand{\zz}{\mathbb{Z}}
\newcommand{\nn}{\mathbb{N}}
\newcommand{\rw}{W}

\newcommand{\rc}[1]{\textcolor{Black}{#1}}
\newcommand{\bc}[1]{\textcolor{Black}{#1}}

\title[Presentation ] % (optional, use only with long paper titles)
{Presentation Title}
\institute[my institute]{
  }
\author[my name ] % (optional, use only with lots of authors)
{my name}

\date[]

\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{blue}}
\frame[plain]{\titlepage}

\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{background}}

\begin{frame}\frametitle{Outline}
\begin{enumerate}
\item Introduction
\item A two-stage chance-constrained model
\item Case study
\item Solution approaches
\item Conclusions

\end{enumerate}
\end{frame}

\section{Introduction}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\

\end{center}

\end{frame}

\section{A two-stage chance-constrained model}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\

\end{center}

\end{frame}

\section{Case study}
\begin{frame}\frametitle{}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\

\end{center}

\end{frame}

\section{Solution approaches }
\begin{frame}\frametitle{A Frame Title}

\begin{center}
\bfseries{Thank you!}\\

\vspace{2cm}

\bfseries{Comments?}\\

\end{center}

\end{frame}

\end{document}

相关内容