Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space problem with /text #158

Open
nonsense0biubiu opened this issue Dec 28, 2020 · 2 comments
Open

space problem with /text #158

nonsense0biubiu opened this issue Dec 28, 2020 · 2 comments

Comments

@nonsense0biubiu
Copy link

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?

@musakokcen
Copy link

musakokcen commented Feb 15, 2021

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

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

@Deepaky2k4
Copy link

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 ")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants