Graphics, Figures & Tables ⇒ beamer, equation exceeds the bounding box of the environment
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
beamer, equation exceeds the bounding box of the environment
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.
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 (29.87 KiB) Viewed 29222 times
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
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¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
Re: beamer, equation exceeds the bounding box of the environment
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*}
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*}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
beamer, equation exceeds the bounding box of the environment
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
Re: beamer, equation exceeds the bounding box of the environment
It works. Thank you.
Re: beamer, equation exceeds the bounding box of the environ
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
How could I make the equation smaller without doing smaller the number?
Thank you very much!
DOX
beamer, equation exceeds the bounding box of the environment
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.
If you need more help, provide a minimal working example showing your problem.