opencollab / jlatexmath

A Java API to render LaTeX
Other
513 stars 109 forks source link

\intop_x is incorrect in experimental branch #58

Open Sean2358 opened 5 years ago

Sean2358 commented 5 years ago

hi, i use experimental branch. i found \intop is incorrect when over script is null, for example \intop_1. after \intop_1 is called, \intop is wrong too

murkle commented 5 years ago

Please post screenshots for both those + precise LaTeX code

Sean2358 commented 5 years ago

I'm sorry, my chrome browser couldn't upload image, may be network reasons. The precise LaTex code is '\intop_1'

Sean2358 commented 5 years ago

image image

murkle commented 5 years ago

Please confirm that \intop_1^\phantom{2} 1) works 2) is what you'd like \intop_1 to look like

Sean2358 commented 5 years ago
  1. it works

  2. I'd like \intop to look like
    image

but after \intop_1, rerun \intop changed image

murkle commented 5 years ago

You can use \int if it's without limits

Sean2358 commented 5 years ago

Thanks very much. For \intop, I guess it was because of BigOperatorAtom class, which set italic correction to be false image However, I meet the same situation when use \int, but not the same reason.
And i could't reproduce it in development environment. image This cause the over script shift left. image