stefano-meschiari / latex2exp

Use LaTeX in R graphics.
Other
188 stars 10 forks source link

extra space between expressions does not work #16

Closed nmolanog closed 6 years ago

nmolanog commented 6 years ago

Extra space symbol "~" is not, working for example: TeX('$H_0:~E(Dif) = 0$')

GegznaV commented 6 years ago

As a workaround, you may try either \\, or \\;, e.g., TeX('$H_0:\\;\\,E(Dif) = 0$') results in: image

But it would be nice to have both ~ and \\ (space preceded with a slash) interpreted as a space in math mode of the equation too.