opencollab / jlatexmath

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

Why garbled #89

Closed tutuerhao closed 3 years ago

tutuerhao commented 3 years ago

image

formula:\overrightarrow a=(1,2),\overrightarrow b=(-2,3),2\underset{}{\overrightarrow a}+3\overrightarrow b=_。 use springboot 2.2.7.RELEASE and jdk11

murkle commented 3 years ago

Try the experimental branch. Does this look like what you expect?

image

murkle commented 3 years ago

Maybe try using pure LaTeX rather than mixing in Unicode characters

\\overrightarrow a=(1\uFF0C2)\uFF0C\\overrightarrow b=(-2\uFF0C3)\uFF0C2\\underset{}{\\overrightarrow a}+3\\overrightarrow b=_\u3002

tutuerhao commented 3 years ago

Unicode 字符

If I want use Unicode characters,what I need to do?

tutuerhao commented 3 years ago

Because My mysql stored so much this data,but I can‘t change this

tutuerhao commented 3 years ago

I successed when I replace Chinese code to English code,So thank you very much~

tutuerhao commented 3 years ago

Sorry Mr.murkle ,I see Chinese in my system,e.g:由\vert x-2\vert<1\mathrm{可知},-1<x-2<1,\\即1<x<3,\mathrm{故不等式的解集为}\{x\vert1<x<3\},What do I do?

murkle commented 3 years ago

Have you tried the experimental branch?

image

tutuerhao commented 3 years ago

experimental branch can not compile

tutuerhao commented 3 years ago

Openjdk less Chinese Font, I was successed than I added to Chinese Font,Thank you very much~

sylvestre commented 3 years ago

@murkle maybe this branch should be merged into main and we should ship a new release (with a bump of the major version) ?

murkle commented 3 years ago

I definitely agree but it's not going to magically happen on its own