Graphics, Figures & Tablesbeamer, equation exceeds the bounding box of the environment

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

beamer, equation exceeds the bounding box of the environment

Post by neumannturing »

Hello,
When I use beamer, the theorem environment has a bounding box. But when it contains some long math equations, those equations go outside the bounding box. Because the equations are in math mode, I cannot change the fone size. Any way to fix the problem such that the equations do not go beyond the bounding box?
The screenshot of the problematic slide is in the attachment.
Thank you.
Attachments
problempic.GIF
problempic.GIF (29.87 KiB) Viewed 29222 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

beamer, equation exceeds the bounding box of the environment

Post by localghost »

It seems that you are already using the align environment from amsmath. Just split the equation earlier. Provide the code of the equation if necessary.


Best regards and welcome to the board
Thorsten¹
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Re: beamer, equation exceeds the bounding box of the environment

Post by neumannturing »

Thanks for your kindly reply.
I do not want to split the equations in other space. Can I make the font small?
I try to use the \small command, but it does not work.
the code segment is as follows,
\begin{align*}\small
\cA(w_h,v_h)&=\sum_{T\in\cTh}\int_{T}D^2 w_h:D^2 v_hdx\\& +\sum_{e\in\cEh}\int_{e}\m{w_h}\j{v_h}ds+\sum_{e\in\cEh}\int_{e}\m{v_h}\j{w_h}ds\\& +\sum_{e\in\cEh}\dfrac{\sigma}{h_e}\int_{e}\j{w_h}\j{v_h}ds,
\end{align*}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

beamer, equation exceeds the bounding box of the environment

Post by localghost »

Well, then try to change the font size.

Code: Select all

\small
\begin{align*}
  \cA(w_h,v_h)&=\sum_{T\in\cTh}\int_{T}D^2 w_h:D^2 v_h\,dx \\
  & +\sum_{e\in\cEh}\int_{e}\m{w_h}\j{v_h}ds+\sum_{e\in\cEh}\int_{e}\m{v_h}\j{w_h}\,ds \\
  & +\sum_{e\in\cEh}\dfrac{\sigma}{h_e}\int_{e}\j{w_h}\j{v_h}\,ds
\end{align*}
\normalsize
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Re: beamer, equation exceeds the bounding box of the environment

Post by neumannturing »

It works. Thank you.
dox_drum
Posts: 1
Joined: Sat Dec 26, 2009 5:25 am

Re: beamer, equation exceeds the bounding box of the environ

Post by dox_drum »

I do have the same problem with a numerated equation, and it work. However, the number of the equation gets shrink as well.

How could I make the equation smaller without doing smaller the number?

Thank you very much!

DOX
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

beamer, equation exceeds the bounding box of the environment

Post by frabjous »

You may either want to use iterated \mathsmaller command from the relsize package, e.g., \mathsmaller{\mathsmaller{2+2=4}}, or some kind of scalebox from the graphicx package. Perhaps this question at the TeX SE site might help (that's about making things bigger, but making them smaller is the same basic process).

If you need more help, provide a minimal working example showing your problem.
Post Reply