Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Fix linebreak (\\) command formatting.#85

Open
ddssff wants to merge 1 commit into
Daniel-Diaz:masterfrom
ddssff:linebreak
Open

Fix linebreak (\\) command formatting.#85
ddssff wants to merge 1 commit into
Daniel-Diaz:masterfrom
ddssff:linebreak

Conversation

@ddssff

@ddssff ddssff commented Oct 24, 2016

Copy link
Copy Markdown
Contributor

The syntax of the \ command, according to http://ftp.math.purdue.edu/mirrors/ctan.org/info/latex2e-help-texinfo/latex2e.html#g_t_005c_005c is either \[measure] or \*[measure].

@ddssff

ddssff commented Oct 24, 2016

Copy link
Copy Markdown
Contributor Author

This is a bit drastic, but I tried outputting \%\n and did not get correct results.

@Daniel-Diaz

Daniel-Diaz commented Nov 8, 2016

Copy link
Copy Markdown
Owner

With this change, the optional measure argument will always be printed. This was not happening before. Is there a reason for it?

@ddssff

ddssff commented Nov 8, 2016

Copy link
Copy Markdown
Contributor Author

The problem is that the * character and [ or ] can appear in the plain text directly after a lnbk, and if they do they become part of the command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants