1

I am using this theme but I can't add a picture in the title page. The following command doesn't work.

\titlegraphic{\includegraphics[scale=0.5]{Image}}

Why doesn't it work? How can I add the picture?

\documentclass[10pt, compress]{beamer}

\usetheme{m}

\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{minted}

\usepackage{tikz}
\usetikzlibrary{shapes,arrows}

\usemintedstyle{trac}

\title{Presentation Title}

\author{Author 1\inst{1} \and Author 2\inst{2}}

\date{}

\institute[UP]{\inst{1} Institute 1 \and \inst{2} Institute 2}

\begin{document}

\maketitle

\begin{frame}

 Text here

\end{frame}

\end{document}
  • Please provide a compilable example which does not depend on external links. Remember that your question should be self-contained (unless absolutely impossible) so that it can be understood by future users, even if the link content changes or disappears. Moreover, relying on links makes it much harder for people with the same question to find this one as there is much less to search for. – cfr Sep 7 '16 at 3:00
  • @cfr It is impossible to provide a MWE as the theme is custom, so the link is necessary for people to find the files needed to activate it. There is no way to upload the files here. – Adam Sep 7 '16 at 3:06
  • 1
    I find no evidence in the documentation at github.com/matze/mtheme to suggest that \titlegraphic is supported by the theme. Beamer provides this command, but the theme has to use it when defining the relevant template. Given that the theme aims for minimalism, I would guess that it is not designed to support this. (What is it meant to do? I've never used it.) – cfr Sep 7 '16 at 3:06
  • You can provide an MWE which uses the theme and a link to the source for the theme, which is on GitHub and not ShareLaTeX. How are you trying to use this? Where? There is nothing in the theme's manual about it at all. – cfr Sep 7 '16 at 3:07
  • @cfr I will edit my question but why it is better to use the GitHub link and not the ShareLaTeX one? As to how I used it, I opened it in ShareLaTeX which provides all the necessary files. That is why I used that link as you can download all the files necessary. – Adam Sep 7 '16 at 3:08
2

Using upstream's code from GitHub, it works fine when I use metropolis as the theme's name.

\documentclass[10pt, compress]{beamer}
\usetheme{metropolis}

\title{Presentation Title}

\author{Author 1\inst{1} \and Author 2\inst{2}}

\date{}

\institute[UP]{\inst{1} Institute 1 \and \inst{2} Institute 2}

\titlegraphic{\includegraphics[height=.25\textheight]{cathod}}

\begin{document}

\maketitle

\begin{frame}

 Text here.

\end{frame}

\end{document}

title graphic on title page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.