I want to build a beamer theme from scratch.
I have read the beameruserguide and I have created files for a inner/outer/font/color-theme, but I still have some difficulties understanding how to create templates, so I'm asking help with this simple title frame customization as an example of how it's done.
By default \maketitle
will result in
I simply want to change this and make it result in
side-note:
I still want to declare
\title{the title}
\author{the author}
\date{\today}
for usage in later frames.
Best Answer
Here is a possible implementation: it can actually work with every standard theme, but if the theme you developed puts the title in a box you may wonder to get a different effect.
This gives:
The problem I said before is due to the fact that I made use of the
title
color definition for thebeamercolorbox
containing the supertitle.By means of
\setbeamerfont
it is possible to characterize which are the features of the new templatesupertitle
; once given the definition, that should be applied inside thetitlepage
template immediately before thesupertitle
insertion to set it with the desired characteristics.You probably noticed that all elements of the titlepage have this setting. For simplicity, I did not defined a color template for the
supertitle
, but I re-used the definition given by thetitle
. Indeed, for each template in the titlepage, there is also a color template definition, that could be given with\setbeamercolor
. If you want you can define yours by means of:After that, you should change the previous definition into:
For what concern the
\inserttitlegraphic
, it is the command that allows to insert (as the name suggests) the logo just in the titlepage. In your presentation you should use the command: