0

I am working on a presentation on beamer and i used the theme Madrid but i am obliged to use the title page ppt template given by my institution, how do i have the first page as the template and the rest of the presentation following the theme ? screenshot of the ppt template

Asmaa GZ
  • 1
  • 1
  • Welcome to TeX.SE! Please provide the title page template given by your institution. – Stephen Nov 12 '23 at 11:58
  • Thank you!, i actually can't because it's a PPT file but i will provide a screenshot – Asmaa GZ Nov 12 '23 at 12:30
  • 1
    Probably the easiest is to create the title slide in Powerpoint, export to pdf, create the full presentation in beamer without a title slide, and then combine the two pdf files afterwards. – Marijn Nov 12 '23 at 13:21
  • See for example https://tex.stackexchange.com/questions/691446/combining-several-pdf-files-into-a-single-pdf-file-how-can-i-include-all-of-the (only the answer, the question is not immediately related). – Marijn Nov 12 '23 at 13:23
  • You can use \setbeamertemplate{title page}{...} to customize the title page. But the code for ... is not quite easy. – Stephen Nov 12 '23 at 13:37
  • Using a background image might help you: https://tex.stackexchange.com/questions/7916/how-to-insert-a-background-image-in-a-beamer-frame – BanDoP Nov 12 '23 at 15:40
  • thank you all for your help, if this could help anyone all the solutions were good but the one i went for is that i did my presentation in beamer got it in pdf and then converted it to ppt and added my title page. – Asmaa GZ Nov 13 '23 at 15:59

1 Answers1

2

Here is a sketch of the solution using a backgroundimage:

\documentclass[11pt]{beamer}
\usepackage{graphicx}

%Global Background must be put in preamble \usebackgroundtemplate% {% % to scale the image such that it fills the entire slide
\includegraphics[width=\paperwidth,height=\paperheight]{ARlys.png}%

% alternative: scale the image such that the it fits best into the 
% slide without changing the aspect ratio
%\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{ARlys.png}%

}

\begin{document} \begin{frame}%{First slide} This is the content of the first slide \end{frame}

\begin{frame}%{Second slide}
    This is the content of the second slide
\end{frame}

\end{document}

You should adjust the background image to your own specs. With the given image this looks like this:

enter image description here

If you want to have the background image only for a specific frame, you simply wrap the whole begin-end frame block in curly braces. In between { and \begin{frame} you can insert the \usebackgroundtemplate{...} command. This then acts only locally for the frame inside the curly braces.

This is should be enough to give you the idea ;)

BanDoP
  • 578
  • Probably from the second slide onwards the background image is no longer needed. – Marijn Nov 12 '23 at 16:11
  • That's an easy one: you simply wrap the whole begin-end frame block in curly braces. In between { and \begin{frame} you can insert the \usebackgroundtemplate command. This then acts only locally for the frame inside the curly braces. I've added this to my answer as well. – BanDoP Nov 12 '23 at 16:18
  • +1, with one minor suggestion: I would add keepaspectratio to avoid distorting the header. – samcarter_is_at_topanswers.xyz Nov 13 '23 at 15:33
  • you're right, keepaspectratio can be useful but usually I'd rather risk a little bit of difference in scaling along x and y direction than leaving a white margin somewhere. In any case, good idea -- I'll write a short comment on that. – BanDoP Nov 13 '23 at 15:43