iosMath icon indicating copy to clipboard operation
iosMath copied to clipboard

space problem with /text

Open nonsense0biubiu opened this issue 5 years ago • 2 comments

When I render this latex like this "\text { Simplify the expression. }" directly. the result will remove all space symbol.

But I got a soluation by add [self skipSpaces] before handle the next char

Is there a better solution?

nonsense0biubiu avatar Dec 28 '20 07:12 nonsense0biubiu

You should add a space after "text". This works;

.replacingOccurrences(of: " ", with: "\text ")

musakokcen avatar Feb 15 '21 14:02 musakokcen

Can you please help that how we can fix space issue with text

You should add a space after "text". This works;

.replacingOccurrences(of: " ", with: "\text ")

Deepaky2k4 avatar Nov 03 '22 14:11 Deepaky2k4