Logo in the top with title page beamer năm 2024
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. Show 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
Here’s how. Set background imageFirst 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 on stackexchange. The eventual code is quite simple. Of course you need to include the mdframed package:
or, if you prefer, you can define a new md environment
and call it
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:
Adding textBeamer 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
Linking to my twitter account, email and websiteIn 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
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.
A cheatsheet of symbols available here Tweaking the locationFinally, you can move the text boxes up and down by adding some `vspace' ConclusionWe’re done. You can find code to make this example here, as well as compiled pdf. AcknowledgementsThanks 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. How do you add an image to a titlepage in beamer?You can add an image on the title slide in beamer using \titlegraphic{ How do I change the position of a logo in LaTeX?A quick (and a bit hacky) way to move it is to put it in a picture environment with zero width and height, and then place it where ever you like. Play with the argument for \put to get it where you like. How to make a title page in Beamer?The first command after the preamble, \frame{\titlepage} , generates the title page. This page may contain information about the author, institution, event, logo, and so on. See the title page section for a more complete example. How to add logo in PPT in LaTeX?The command \includegraphics[scale=1.5]{overleaf-logo} will include the image overleaf-logo in the document, the extra parameter scale=1.5 will do exactly that, scale the image 1.5 of its real size. You can also scale the image to a some specific width and height. |