Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to use beamer (Madrid style) for a presentation I'm giving next week, but I am forced to use the institutional title page.

That means that the whole background is filled by an image and the title itself cannot be in a coloured box.

In the worst case I will have to pdftk the title page onto the presentation, but I'm sure there must be a way to force LaTeX to do it.

I've tried using a PlainFrame with a TitleGraphic, but

  • I can't get the image to stretch across the whole page
  • the title itself will still be in a coloured box

Any ideas???

share|improve this question
    
Welcome to TeX.sx! Your question was migrated here from StackOverFlow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  pythonista Apr 4 '13 at 23:51
add comment

migrated from stackoverflow.com Apr 4 '13 at 22:25

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 5 down vote accepted

Since you want to suppress the coloured box for the title, you'll need a redefinition of the title page template defined by the default inner theme used by Madrid.

To suppress the footline from the titlepage, you can use the plain option for the frame.

To include the image, you can set the background canvas template, using a standard \includegraphics (of course, instead of papiro, use one of your own images) command.

To keep all these changes local, you can use the grouping mechanism.

A little example:

\documentclass{beamer}
\usetheme{Madrid}

\makeatletter
\defbeamertemplate*{title page}{mytitlepage}[1][]
{
  \vbox{}
  \vfill
  \begin{centering}
    \begin{beamercolorbox}[sep=8pt,center,#1]{}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \begin{beamercolorbox}[sep=8pt,center,#1]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,#1]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center,#1]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}\vskip0.5em
    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \end{centering}
  \vfill
}
\makeatother

\title{A Modified Beamer Theme}
\subtitle{Background image and no special decorations}
\author{The Author}
\institute{The Institute}

\begin{document}

\begingroup
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth,height=\paperheight]{papiro}}
\setbeamertemplate{navigation symbols}{}
\begin{frame}[plain]
\maketitle
\end{frame}
\endgroup

\begin{frame}
\frametitle{A regular frame}
test
\end{frame}

\end{document}

enter image description here

share|improve this answer
    
This is absolutely brilliant! Works like a treat. –  Joanne Demmler Apr 5 '13 at 9:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.