I use beamer for making slide presentations, a scripted system based on the latex markup language. Overall, I really like it. But a persistent problem for me has been getting a pretty title page for my talks. Recently I managed to solve this.

Previously I have either used the default beamer settings, which give something very plain, like this:

Or I edited an image in Photoshop, exported it, then loaded it into my talk as a background. This was annoying for several reasons, but most of all the hassle of having to fire up Photoshop every time I wanted to make a new title page, or change my title.

I have now discovered how to make a nice title page with

  • a pretty image as backgorund
  • a semi-transparent text with title and author details
  • clickable links to my twitter account, email address and website, using icons from FontAwesome.

Here’s how.

Set background image

First you need to set the background image, over-riding the default beamer background, and dropping the beamer title and navigation symbols.


Overlay a text box

This seems like it should be relatively simple, but my first search only uncovered large slabs of code. And my plea for help on twitter did not get any response.

A bit more searching yielded some answers.

In the end, my preferred option was to use the mdframed package, as the code is relatively concise and the package comes pre-packaged with my latex installation. The user guide for mdframed is quite good, but did not explain how to make the box transparent. That trick is achieved using the tikz settings, as explained here on stackexchange.

The eventual code is quite simple. Of course you need to include the mdframed package:


\begin{mdframed}[tikzsetting={draw=black,fill=white,fill opacity=0.7,
				 line width=4pt},backgroundcolor=none,leftmargin=0,
  Text in my text box

or, if you prefer, you can define a new md environment

\newmdenv[tikzsetting={draw=black,fill=white,fill opacity=0.7, line width=4pt},

and call it

A transparent box

The above example uses the tikz options for formatting, which enables the transparent background, but if you want a filled background, you can also use the formatting options in mdframed:

  Text in my text box

Adding text

Beamer has a built-in command for creating title pages. If you have defined your title, author, data and/or institution, you can use these by calling:


But that’s pretty ugly. Alternatively you can

  • access the elements used by \maketitle directly, using the commands \insertdate, \insertauthor, \insertinstitute, or \insertshortinstitute, or
  • write the text yourself

Linking to my twitter account, email and website

In addition to a text box, I also want handles to my twitter, web and email accounts on the title page. As Hilary Mason, chief research scientist at bitly, explains it is helpful to include your twitter handle so that

  1. People can post you questions they didn’t get to ask during the talk
  2. Everyone knows you’ll be watching what they say about your talk!

It turns out that it is incredibly easy to make a web link in latex :


It’s also relatively easy to add pretty icons, using FontAwesome. On a mac, you can get fontawesome working by following these instructions. There’s a couple of restrictions.

  1. FontAwsome must be be installed in the system fontbook
  2. You need to include the fontspec package, and use xelatek to compile your talk.

A cheatsheet of symbols available here

Tweaking the location

Finally, you can move the text boxes up and down by adding some `vspace'



We’re done. You can find code to make this example here, as well as compiled pdf.


Thanks to Rich FitzJohn for valuable discussions, showing me how to generate make files, and reassuring me that there was no easy way to overlay text boxes (that he knew of). Also, thanks to all the coders who posted at links listed in this page, including of course developers of Latex and Beamer, which despite their troublesome nature, still remain best option (IMO) for making presentations.

comments powered by Disqus