4

I am creating a beamer that consist of frames using certain layout repeatedly.

To put it simple, let's say my beamer consists of 3 types of frames

  • A: only a giant word at the dead centre of the frame
  • B: a big pictures with a big (inspirational) word under
  • C: a quotation at left, and picture of that person at right

I wish to make some kind of template so that I can later use \begin{frame}[A] ... \end{frame} so that all the setting (font size, colour) are pre-set once and for all, just like MS powerpoint slide layout function.

MS office slide layouts

Is it possible?

Johannes_B
  • 24,235
  • 10
  • 93
  • 248
Baffin Chu
  • 297
  • 2
  • 8

2 Answers2

5

You could try with fancyslides. It's based on beamer but it uses two or three commands to enter predefined formated slides: title, point, itemized (more details in fancyslides documentation). It's also possible to fix a certain background image on every slide.

An example of use adapted from the original distributed with the package is

\documentclass{fancyslides} 
\usepackage[utf8]{inputenc}
\usepackage{times}

%%% Beamer settings (do not change)
\usetheme{default} 
\setbeamertemplate{navigation symbols}{} %no navigation symbols
\setbeamercolor{structure}{fg=\yourowntexcol} 
\setbeamercolor{normal text}{fg=\yourowntexcol} 

%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CUSTOMISATIONS %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% SLIDE ELEMENTS
\newcommand{\structureopacity}{0.75} %opacity for the structure elements (boxes and dots)
\newcommand{\strcolor}{blue} %elements colour (predefined blue; orange; green)

%%%% TEXT COLOUR
\newcommand{\yourowntexcol}{white}

%%%%%%%%%%%%%%%%%%%%%%%%%
%%% TITLE SLIDE DATA %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\titlephrase}{MAKE YOUR POINT CLEAR WITH FANCYSLIDES}
\newcommand{\name}{Your Name}
\newcommand{\affil}{Company}
\newcommand{\email}{your.email@domain.com}

\begin{document}

\startingslide %this generates titlepage from the data above

\begin{frame}
\pointedsl{Your point}
\end{frame}

\begin{frame}
\framedsl{This is important}
\end{frame}

\begin{frame}
\itemized{
\item BEAMER EASE OF USE
\item MODERN LOOK \& FEEL
}
\end{frame}

\fbckg{frog}
\begin{frame}
\pointedsl{Thank you!}
\end{frame}
\end{document}

It looks like:

enter image description here

Ignasi
  • 136,588
1

Based on https://tex.stackexchange.com/a/174213/36296

The basic idea is to invoke some commands (by loading a special template) if a specific frame option is given. To restrict this to individual frames, the default values are called before every new frame.

\documentclass{beamer}
\usepackage{etoolbox}

\BeforeBeginEnvironment{frame}{%
  \normalsize%
  \normalcolor%
}

\makeatletter
\define@key{beamerframe}{bigword}[true]{%
  \Huge
  \color{orange}
}
\makeatother

\begin{document}

\begin{frame}
  normal
\end{frame} 

\begin{frame}[bigword]
  big
\end{frame}

\begin{frame}
  normal
\end{frame}

\end{document}

enter image description here

For more complex "templates", https://tex.stackexchange.com/a/257301/36296 could be useful.