Hot answers tagged

245

Build your own theme: no one forces you to exploit predefined inner, outer, color and font themes. Look at this theme: is it instantly recognisable as Beamer ? But, let's have a practical example: it is one hour-built theme, thus take it just for demonstration. Lot of improvements can be done. The reference is one of your pictures. We call this new theme ...


68

Using Claudio's answer as a starting point, I developed two themes which I made available here, one based on the PowerPoint Median theme and one based on the Powerdot KlopeSpring theme. There may be more to come. In addition to the techniques Claudio demonstrated, I used the textpos package to do absolute positioning of text on the page. In order to ...


57

The command to be used to display the logo only in the titlepage is \titlegraphic. For example: \documentclass{beamer} \author{Me} \title{The title} \institute{My institute} % logo of my university \titlegraphic{\includegraphics[width=2cm]{logopolito}\hspace*{4.75cm}~% \includegraphics[width=2cm]{logopolito} } \begin{document} \begin{frame} \...


41

You can redefine the footline template as defined by the infolines outer theme (internally used by the Boadilla theme); \setbeamertemplate{navigation symbols}{} will remove tha navigation symbols: \documentclass{beamer} \usetheme{Boadilla} \makeatother \setbeamertemplate{footline} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.4\paperwidth,ht=2....


36

Beamer appearance cheat sheet is a very useful cheat sheet when it comes to customize the look of beamer documents. To get the layout you are interested in, I would modify the template for the headline as follows: \setbeamertemplate{headline}{% \leavevmode% \hbox{% \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}% \...


35

One possibility would be to get a nice image and use the background package: \documentclass{article} \usepackage{graphicx} \usepackage{background} \usepackage{lipsum} \SetBgContents{\includegraphics[width=\paperwidth,height=\paperheight]{christmas.pdf}} \SetBgAngle{0} \SetBgScale{1} \SetBgOpacity{.2} \begin{document} \lipsum[1-10] \end{document} Here's ...


34

Before attempting to manually change colors, check the beamer documentation and see the selection of color themes available to choose from (the beamer matrix could also be useful); a little example using spruce: \documentclass{beamer} \usetheme{Warsaw} \usecolortheme{spruce} \begin{document} \begin{frame} \frametitle{Test} \end{frame} \end{document} If ...


33

You can redefine the headline, footline and frametitle templates; something along these lines: \documentclass{beamer} \definecolor{secinhead}{RGB}{249,196,95} \definecolor{titlebg}{RGB}{51,51,51} \setbeamercolor{secsubsec}{fg=secinhead,bg=black} \setbeamercolor{frametitle}{fg=secinhead,bg=titlebg} \setbeamertemplate{headline} { \leavevmode% \hbox{% ...


31

My solution will let you know how to perform the modifications you need by customize a template as example. I think the first thing to do is to select one of the existent themes as starting point. Let's suppose to have chosen the Copenhagen theme. This MWE: \documentclass{beamer} \usetheme{Copenhagen} \title{The title} \author{My name} \date{\today} \...


31

I don't know if I get exactly the point, but my answer tries to make a table in which automatically you have some color definition just inserting the name (based on Retrieve the color definition in HTML I defined). With respect to Andrew's nice answer, mine just uses internal commands of xcolor to define macros able to extract the color value with a given ...


30

Personally, I don't like presentations with dark backgrounds since my eyes get tired too soon, but that's just a personal opinion. The beamer theme matrix shows a number of color themes that will give you dark backgrounds; for example: \documentclass{beamer} \usetheme{Warsaw} \usecolortheme{beetle} \begin{document} \begin{frame} \frametitle{Test Frame} ...


27

The solution is to use \setbeamertemplate{headline}{}. This clears the "template" for the headline, ensuring that when the headline is typeset then nothing is done. It is important to ensure that this is not overridden by other styles so should be placed in the preamble after any themes have been loaded. Example: \documentclass{beamer} \usetheme{PaloAlto}...


27

From CTAN you can find the source of CambridgeUS beamer theme, where there is: \usecolortheme{beaver} In the same site of the source you can find the beamer color theme beaver, where there is: \definecolor{darkred}{rgb}{0.8,0,0} I think that's what are you looking for.


25

Redefine the frametitle, section in head/foot, author in head/foot colors, and date in head/foot colors: \documentclass[xcolor=dvipsnames]{beamer} \usetheme{CambridgeUS} \useinnertheme{rectangles} \useoutertheme{infolines} \setbeamercolor{frametitle}{fg=Brown,bg=Brown!20} \setbeamercolor{section in head/foot}{bg=Brown} \setbeamercolor{author in head/foot}{...


21

Try \logo{% \makebox[0.95\paperwidth]{% \includegraphics[width=1cm,keepaspectratio]{cern_logo_white.jpg}% \hfill% \includegraphics[width=1cm,keepaspectratio]{ntua-logo.jpg}% }% } It seems that logos are put at 2.5pt from the right slide edge as Paul Gaborit found out. Thus \paperwidth-5pt might be the correct size to be given to the LaTeX ...


20

I think you did something very complicated while the solution could have been much more easy. Moreover it is preferable to not modify the default themes: if you do it, at least change theme name. For example, look at this code: \documentclass{beamer} \usetheme{Montpellier} \begin{document} \title{My title} \author{My name} \institute{My institute} \...


19

Here's an example that puts stars and snowflakes around the body of the text. You can adapt the code to add baubles, trees, angels etc as required. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{pifont} \usepackage{flowfram} \usepackage{lipsum} \usetikzlibrary{shapes.geometric} \usetikzlibrary{decorations.shapes} \...


17

You need to download the UMBC themes, as described in Werner's response from April 17. The readme included with the UBMC themes is not very explicit: Unzip the archive You get a folder Beamer, rename it to UMBC In the menu choice Go, choose Go to Folder or ⌘ + Shift +G and type ~/Library If you have a folder named texmf, open it or if not create it. Inside ...


16

You can set the caption name color: \setbeamercolor{caption name}{<color>} For example, you could use \setbeamercolor{caption name}{fg=structure!70!black}


16

Since Gonzalo Medina gave a nice starter for defining the template from scratch, here is a taming the existing themes solution. I also recommend you to go through the existing style codes of beamer mainly because it is very structured and written by the package author himself Till Tantau, thus gives a direct information about the usage. Before anything ...


15

Those colors are controlled by palette primary and palette quaternary, so you can redefine them: \documentclass{beamer} \usetheme{Warsaw} \setbeamercolor*{palette primary}{use=structure,fg=white,bg=gray!60} \setbeamercolor*{palette quaternary}{fg=white,bg=gray!30!black} \begin{document} \section{One} \begin{frame}test\end{frame} \section{Two} \begin{...


13

There's a package for that ... It's called colorinfo. The idea is that one can define a colo[u]r using, say, xcolor (which is what beamer uses for its colour management, I think) and then use the colorinfo package to display the information about the colour. However, I found that it didn't quite work as it should - it's missing some options for some ...


12

The right keys to modify the exampleblock environment are: block title example for the title; block body example for the body of the block. Here is a complete example: \documentclass{beamer} \usetheme{Frankfurt} % Define my settings \definecolor{mygreen}{cmyk}{0.82,0.11,1,0.25} \setbeamertemplate{blocks}[rounded][shadow=false] \addtobeamertemplate{block ...


10

Thank you for the suggestion. I had looked once before and found nothing. More success this time though. In my beamerthememytheme.sty I have to add the following lines at the beginning: \newif\if@doMyOption \@doMyOptionfalse \DeclareOption{myoption}{\@doMyOptiontrue} \ProcessOptions In the same file I can then add the lines: \if@doMyOptions Things to do ...


10

Use the compress option for the Singapore theme: \documentclass{beamer} \usetheme[compress]{Singapore} \begin{document} \section{Test section one} \begin{frame} test \end{frame} \subsection{Test subsection} \begin{frame} test \end{frame} \subsection{Test subsection} \begin{frame} test \end{frame} \subsection{Test subsection} \begin{frame} test \end{frame} ...


9

You could change the outer theme and use one with two parts, such as the split theme. Load it after loading Boadilla. The second line is for removing the navigation symbols: \useoutertheme{split} \setbeamertemplate{navigation symbols}{} (My school) is gone, date is gone, two parts. Perhaps you just like to adjust the color later, if you don't like the ...


9

A wrapper class beamer16x9.cls can be easily written: \ProvidesClass{beamer16x9} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}} \ProcessOptions\relax \LoadClass[aspectratio=169]{beamer} \endinput Then starting a document with \documentclass[<options>]{beamer16x9} is equivalent to saying \documentclass[aspectratio=169,<options>]{...


9

\documentclass{beamer} \usetheme{Goettingen} \usepackage{lipsum} \usecolortheme{seahorse} \begin{document} \begin{frame}{title} \lipsum \end{frame} \begin{frame}[plain]{title} \advance\textwidth2cm \hsize\textwidth \columnwidth\textwidth \lipsum \end{frame} \end{document}


9

The command \usecolortheme[named=XXX]{structure} applies only to the Beamer themes that made use of the structure template. Where can you check which themes use this template? Via shell you can easily find the path where the Beamer class is installed via: kpsewhere beamer.cls which gives to me: /usr/local/texlive/2013/texmf-dist/tex/latex/beamer/...


Only top voted, non community-wiki answers of a minimum length are eligible