You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In text cells on Google Colaboratory, if an inline LaTeX math equation ($...$) is put just after an inline link without any spaces between them, then rendering this math expression is not triggered.
Example which does not work (without space):
[Google](https://www.google.com/)$x^2+y^2=a^2$.
If I put a tiny space, then it works as expected.
Example which does work (note the space between the link and the equation):
[Google](https://www.google.com/) $x^2+y^2=a^2$.
Note that, in some languages, spaces between words are not needed and actually some style guides or text linters may strictly forbid any additional spaces (ideally, typesetting or text display systems should handle spacing adjustment in this case if needed, rather than by users).
Describe the expected behavior
Equations should be rendered correctly even without any spaces.
What web browser you are using
Chrome (91.0.4472.77, 64bits, Windows 10)
Additional context
Workaround with no additional visible spaces: putting <!-- $ $ --> triggers the equation rendering:
Describe the current behavior
In text cells on Google Colaboratory, if an inline LaTeX math equation (
$...$
) is put just after an inline link without any spaces between them, then rendering this math expression is not triggered.Example which does not work (without space):
If I put a tiny space, then it works as expected.
Example which does work (note the space between the link and the equation):
Note that, in some languages, spaces between words are not needed and actually some style guides or text linters may strictly forbid any additional spaces (ideally, typesetting or text display systems should handle spacing adjustment in this case if needed, rather than by users).
Describe the expected behavior
Equations should be rendered correctly even without any spaces.
What web browser you are using
Chrome (91.0.4472.77, 64bits, Windows 10)
Additional context
Workaround with no additional visible spaces: putting
<!-- $ $ -->
triggers the equation rendering:Edit: unfortunately, this workaround does not work for the following case and worsens the output:
The text was updated successfully, but these errors were encountered: