# Write the word 'M$\ddot{\rm u}$ller' in thebibliography

With the following codes

     \documentclass[xcolor=dvipsnames]{beamer}
\mode<presentation>
\usetheme{Madrid}
\begin{document}
\begin{frame}{}
\begin{exampleblock}{\textcolor[rgb]{1.00,0.50,0.00}{Theorem}
[M$\ddot{\rm u}$ller, Soltysiak (1992)]}
For a $d$-tuple of ....
\end{exampleblock}

\beamertemplatearticlebibitems
\begin{thebibliography}{10}
\bibitem{V. Muller, and A. Soltysiak}
\alert{V. Muller, and A. Soltysiak}
\newblock  {Spectral radius formula for commuting Hilbert space
operators}
\newblock {\em Studia Math.103. (1992), 329-333}.
\end{thebibliography}
\end{frame}
\end{document}


I get

However I fail to copmilate when I write \bibitem{V. M$\ddot{\rm u}$ller, and A. Soltysiak} \alert{V. M$\ddot{\rm u}$ller, and A. Soltysiak}, and I want to get

• Müller. Müller. It is Müller – Johannes_B Dec 18 '18 at 11:15
• Or M\"uller, in text mode. – Sigur Dec 18 '18 at 11:17
• don't use math mode for people's names (or any text accents) – David Carlisle Dec 18 '18 at 11:18
• Letters like this should be covered in any good quality LaTeX instroduction. – daleif Dec 18 '18 at 11:18
• The argument of bibitem shouldnt have anything but letters and numbers to be honest. It is just a label. – Johannes_B Dec 18 '18 at 11:22

## 2 Answers

Your given code has a missing \end{frame} ...

With using \"u I can compile without errors:

\documentclass[xcolor=dvipsnames]{beamer}

\mode<presentation>
\usetheme{Madrid}

\begin{document}
\begin{frame}{}
\begin{exampleblock}{\textcolor[rgb]{1.00,0.50,0.00}{Theorem} [M\"uller, Soltysiak (1992)]}
For a $d$-tuple of ....
\end{exampleblock}
\end{frame} % <=========================================================

\begin{frame}
\beamertemplatearticlebibitems
\begin{thebibliography}{10}
\bibitem{V. Muller, and A. Soltysiak}
\alert{V. M\"uller, and A. Soltysiak} % <===========================
\newblock  {Spectral radius formula for commuting Hilbert space operators}
\newblock {\em Studia Math.103. (1992), 329-333}.
\end{thebibliography}
\end{frame}
\end{document}


with the result:

• When I copy your codes, it compilates However in my original document it doen't. – Student Dec 18 '18 at 11:51
• Now I delete \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} in my original document and it compilates well. Where is the problem. – Student Dec 18 '18 at 11:52
• Thank you. The only difference is \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} – Student Dec 18 '18 at 11:56
• @Student, maybe your file has ISO encoding, not UTF8. Your editor should show this. – Sigur Dec 18 '18 at 12:15

The accepted answer already solves your problem with the umlaut. To go one step further use latex's bibliography mechanism and beamer theorem environment and let them do the formatting for you:

\documentclass[xcolor=dvipsnames]{beamer}
\mode<presentation>
\usetheme{Madrid}

\makeatletter
\setbeamertemplate{theorem begin}
{%
\setbeamercolor{block title}{bg=green!40!black}
\begin{\inserttheoremblockenv}
{%
\textcolor{orange}{\inserttheoremname}
\ifx\inserttheoremaddition\@empty\else\ \inserttheoremaddition\fi%
}%
}
\makeatother

\begin{document}
\begin{frame}{}
\begin{theorem}[\cite{MS92}]
For a $d$-tuple of ....
\end{theorem}

\beamertemplatearticlebibitems
\begin{thebibliography}{9}
\bibitem[V. M\"{u}ller and A. Soltysiak (1992)]{MS92}
\alert{V. M\"{u}ller, and A. Soltysiak}
\newblock Spectral radius formula for commuting Hilbert space operators
\newblock \em Studia Math.103. (1992), 329-333.
\end{thebibliography}

\end{frame}
\end{document}


• Thank you for your great answer. I remark that always you delete \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}. Clearly when one write only in English, we don't need \usepackage[utf8]{inputenc}. By the way is \usepackage[T1]{fontenc} always not necessary in beamer? – Student Dec 18 '18 at 12:15
• @Student There is rarely an "always" in latex -- it all depends on the content of your file (the exception is that two letter font commands are always wrong to use in a current document). – samcarter_is_at_topanswers.xyz Dec 18 '18 at 12:18
• @Student If you use \usepackage[utf8]{inputenc} you will have to make sure that your file is encoded in utf8. If not change utf8 to the true encoding of your file, – samcarter_is_at_topanswers.xyz Dec 18 '18 at 12:19
• @Student If your tex distribution is up to date (Texlive 2018) than \usepackage[utf8]{inputenc} is used by default – samcarter_is_at_topanswers.xyz Dec 18 '18 at 12:20