Copy link to clipboard
Copied
Dear Team,
I need to avoid the empty boundary space around equations inside the frame. I have to exactly fit the equation such that there is no white space. Can you provide or suggest any script related to this request?
Please advise.
Or any option available in the mathtype to fix this issue?
Please see the screenshot for your reference below:
Thanks
kanagakumar
Hi @kanagakumar and others, really you guys have worked out the hard parts already. So I've written a script that uses your insights, and hopefully this will do what you want.
I have assumed that the equations are all eps graphics that are anchored in text. I've included options to set a uniform scale for the equations, and also to fit the frame to the content—this is critical, otherwise the baseline might not be correct.
Give it a try and let me know how you go.
- Mark
Example, using scal
...Copy link to clipboard
Copied
Dear Robert,
Thank you for your support.
Thanks
kk
By @kanagakumar
You are welcome.
Would you need an option to change formatting of the equations - WITHOUT going through an editor?
Can't offer - right now - full editing capabilities, but font, point size, move of elements in the equation - can be done.
Copy link to clipboard
Copied
> Why do the bounds matter?
If you place an EPS eqn inline, the spaces before and after the eqn are wider than the space of the line, that's the problem. The vertical paddings matter less, thoughin principle the vertical padding could increase the leading of the line.