6

How to resolve the issue of package amsmath being clash for beamer? I had used tbtags option to give equation number to the last splitted equation. I had used following packages in the preamble. Thanks in advance.

\documentclass[11pt]{beamer}
\usepackage[tbtags]{amsmath}
\usetheme{Frankfurt}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{graphicx}
\usepackage{multicol}
\usepackage{tabu}
\usepackage{xcolor}
\definecolor{xyz}{RGB}{0,102,102}

\usepackage{float}
\begin{document}
\begin{frame}
\end{frame}
\end{document}
1
  • 1
    Welcome to TeX.SE.
    – Mico
    Commented Jul 26, 2019 at 14:48

1 Answer 1

7

The beamer document class loads the amsmath package automatically. Thus, you need to change

\documentclass[11pt]{beamer}
\usepackage[tbtags]{amsmath}

to

\documentclass[tbtags,11pt]{beamer}

That way, the tbtags option will be passed to the amsmath package right when it's loaded the first time.

3
  • Thank you. It works for me. Commented Jul 26, 2019 at 16:17
  • Thanks! Works for me, but kind of frustrating. I have a set of default packages and command definitions that I always load with \input. One of the command definitions needs the fleqn option to amsmath. To avoid having to remember to add fleqn to every file that loads the default definitions, I put \usepackage[fleqn]{amsmath} in the file that defines all of the commands. But now it turns out that I can't use that with Beamer, and have to go back to remembering to load the package in every LaTeX content file so that the definition that uses fleqn will work. :-( Oh well.
    – Mars
    Commented Apr 16 at 17:19
  • 1
    Dealt with my problem using \IfPackageLoadedTF: tex.stackexchange.com/a/713195/11250 . Fixed.
    – Mars
    Commented Apr 16 at 17:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .