log in
Align gathered
Edit to suit. (Only available to the logged in author.)
Author: mbourne
<div id="jxgbox" class="jxgbox"></div>
#jxgbox {
max-width: 400px;
aspect-ratio: 1;
max_height: calc(100vh - 1.5em)
}
You aren't the author of this fiddle, so clicking "run" will only update the graph, not save your changes.
To save your changes, make a fork of this fiddle.
Create a new version of this fiddle.
It's like "Save as..."
Save any recent changes (by clicking "Run") first.
Export a HTML page of this Fiddle from the current saved settings.
In the downloaded file, if you see console errors complaining about CORS policy, make sure you run the exported file from a localhost/ or an actual server.
Device size:
This shows one possible method hack of aligning the 2nd row of a MathJax gathered environment with surrounding text.
The original question with a better solution can be found here.
Some primary text \(\begin{gathered}\frac{2}{3}+1\\[-2pt]\text{second row of 1}\end{gathered}\) some more text.
Some random text here saying nothing.
Second text \(\begin{gathered}\frac{x}{y}+z\\[-2pt]\text{second row of 2}\end{gathered}\) some secondary text.
Some concluding text saying nothing.
Note
This does not allow for wider text that results in wrapping. It's just a proof of concept.
×