-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline math in Gmail is higher than the main text #247
Comments
I'm going to switch TeX renderers in the next release, and I'll make sure to fix this. The workaround, which is going to be very similar to the fix, is to add this to your "Primary Styling CSS" in the MDH Options: img {
vertical-align: bottom;
} You can play around with other styles, but note some styles will get stripped by Gmail (etc.). For example, I tried using a negative bottom margin, and it looks great when composing, but it gets stripped when sending. Note to self: There might be a better way of doing this in the renderer rather than in CSS. |
Changing the TeX renderer from GCharts to CodeCogs is proving to be problematic (see #261 and the bottom of #144), so that's not going to happen in the next release. I'm hesitant to release a default CSS change before then, though, since MDH is pretty crap at dealing with such changes (#48, #78). I don't want to make style changes now that may be problematic later on. Also note that any style fix is going to be a double-edged sword. For example... Here's with the default
Here's with
Here is with I think I prefer that one, but it's really not great either: Switching to CodeCogs might help because it provides pixel information about the image baseline. It's going to be complicated to utilize that info, though. (And we're having other issues with their image sizes being all over the place.) I'll leave this issue open, as it's largely independent. |
Hi. Any news on this? I will be willing to give a helping hand with this, since this plugin is really helping me a lot. I just wanted to ask beforehand whether there are any developments not listed in this two-years-old thread. |
Same here
|
Not a bug but rather "unprettiness".
The inline formulas are somewhat incontinently placed with the text:
In this sense, TeX for Gmail is an example how i would like it to be:
And... thank you for the awesome extension!
The text was updated successfully, but these errors were encountered: