Hi,
I've inserted a Latex frame into my confluence page and have no issues with writing/creating the formulas.
However, many of the Latex frames end up being a lot bigger/longer than they need to be, but not all are like that. Some of them end up having a large empty space to the right of the actual formula (red), like a spacer. And it remains visible like that both in edit mode and in view mode of the Confluence page. Interestingly enough, it happens sporadically and happens to some/all of the frames, and some change every time I save the Confluence page. Occasionally the frame happens to end up the correct/minimal size (green).
Is there some way to resize the Latex frame to be the minimal size? Or force it to always be minimal in size? At the moment it is very random how the formatting turns out.
I'm using Latex for Confluence (by Bertly) on a Confluence cloud instance, both latest versions. I don't have admin access to either.
Cheers :)
|
Hi @thomas_toth, This spacing issue can occur because the app you use may render formulas as block elements by default. One simple workaround is to switch to an inline format (if supported), so the formula fits neatly within the text without leaving extra space around it. If you’d like more control over that behavior, our app LaTeX Math for Confluence might help. It provides both inline and block formula rendering macros, so you can choose whether your equation appears seamlessly within a sentence or as a standalone expression. Also worth noting is that the app is built on Forge and all rendering is done securely within Atlassian infrastructure, which can be important for internal documentation or regulated environments. Hope that helps make your math look neat and clear in your documentation! |
Hi
Inconsistent sizing: Some LaTeX frames appear larger than necessary, with empty space to the right. This happens both in edit and view modes.
Random behavior: The size of the frame may change each time the page is saved, sometimes rendering correctly and other times not
Possible Solutions
1. Using Super LaTeX Plugin
If you're using Super LaTeX, you can manually configure the size of the rendered LaTeX block:
When editing the macro, use the left configuration panel to adjust the size and color.
These settings are applied automatically without needing to save manually
2. Iframe Resizing Issue
For plugins that render LaTeX inside an iframe (like Bertly’s), resizing can be problematic because:
The iframe size is determined before the LaTeX content is fully rendered.
This leads to extra space or clipping issues.
A workaround might involve custom scripting or plugin updates, but this typically requires admin access
Recommendations
Check plugin settings: If you're using Super LaTeX, explore the macro configuration panel for size adjustments.
Avoid unnecessary whitespace in your LaTeX code, which might affect rendering.
Contact plugin support if resizing issues persist and you lack admin access.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.