TIMath23 / TIM

TIM (The Interactive Material) is an open-source cloud-based platform for creating interactive learning documents.
https://tim.education/view/about/en-US
MIT License
0 stars 0 forks source link

Make it possible to split long lines to multiple lines #129

Open juanrein opened 1 year ago

juanrein commented 1 year ago

In LaTeX you can split long lines to multiple lines as long as there isn't any full empty lines between them and only \ is linebreak.

$$
This is a one line that is split into two but will
be rendered to be just one line.\\
This is the second line.
$$
janmatla commented 1 year ago

Mathquill simplifies latex inside a field and removes line break characters

janmatla commented 1 year ago

Math editor splits formulas to individual fields by every line break. Saving formula from math editor to TIM editor adds the \ type of line break after every field.

If long line with line break is put into one field in math editor, Mathquill will simplify the latex code and remove the line break characters inside the field. This means that saving the formula from math editor to TIM editor would lose the line breaks.