-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with beamertheme-tcolorbox #28
Comments
You can work around the problem by loading another colour theme first:
|
Thanks, that indeed works. I like having rounded corners on my theorem boxes. |
Hm, I see. Do you have a minimal working example? I can only reproduce this when first loading some other color theme, then moloch, then the innertheme from tcolorbox (like in @samcarter's example). I get this:
when compiling this: \documentclass{beamer}
\usecolortheme{orchid}
\usetheme{moloch}
\useinnertheme{tcolorbox}
\begin{document}
\begin{frame}[c]
\begin{tcolorbox}
This is a \textbf{tcolorbox}.
\end{tcolorbox}
\end{frame}
\end{document} But with \usetheme{moloch}
\usecolortheme{orchid}
\useinnertheme{tcolorbox} it compiles just fine. |
Does it compile fine without the "\usecolortheme{orchid}"? |
Yes, this works fine: \documentclass{beamer}
\usetheme{moloch}
\useinnertheme{tcolorbox}
\begin{document}
\begin{frame}[c]
\begin{tcolorbox}
This is a \textbf{tcolorbox}.
\end{tcolorbox}
\end{frame}
\end{document} What versions of tcolorbox, moloch, and beamer are you on? |
Your example works @jolars , but the following does not \documentclass{beamer}
\usetheme[block=fill]{moloch}
\useinnertheme{tcolorbox}
\begin{document}
\begin{frame}[c]
\begin{theorem}
Hello
\end{theorem}
\end{frame}
\end{document} |
You need the |
|
Yes, I'm aware how to achieve that (I use |
In this case I don't understand what "I like having rounded corners on my theorem boxes." meant |
It was just an explanation for why I wanted to use the tcolorbox inner theme instead of the moloch one |
Ah! |
Minimal non-working example:
... so looking in the code, the difference between moloch and other colour themes, seems to be the Something like
would compile. |
Thanks @samcarter, I implemented your proposed change. I'm not sure if there's anything else that needs to be done (?), but the failing cases here seem to work fine now. |
Great! I don't think anything else needs to be done. |
Trying to load
\useinnertheme{tcolorbox}
aftermoloch
results inThis works with metropolis
The text was updated successfully, but these errors were encountered: