question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Newline @"\\" and @\longrightarrow breaks

See original GitHub issue
Stringbuilder postupak; double mean, sumaFi;
//few lines of code
postupak.Append(mean);
postupak.Append(@"\\ "); //it breaks here, without it works correctly
postupak.Append(@"Q_{1} = \frac{\sum_{i}^N f_{i}}{4} = \frac{");
postupak.Append(sumaFi);
postupak.Append(@"}{4} = ");
postupak.Append(sumaFi / 4);
postupak.Append(@" \longrightarrow Q_{1} = "); //it breaks here, without it works correctly

Am i using commands wrong or is it a bug ?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ForNeVeRcommented, Aug 1, 2020

Try \,

1reaction
ForNeVeRcommented, Jul 31, 2020

I have already published 0.9.0 with working \\, a few hours ago.

For supported TeX symbols, you could skim through

Though I suddenly (!) realized that it’s a very good idea to publish a list of supported symbols somewhere. Will create a separate issue, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the correct way to use `\\` or `\newline`? - TeX
1 Answer 1 ... If you want to force a line break but retain paragraph justification then use \linebreak (Paragraph 3) This may...
Read more >
Technical difference between "line break" and "newline"?
My current assumption is that there is no difference: "line break" describes the result from either soft return ( ⇧ Shift + ↵...
Read more >
Supported Functions
This is a list of TeX functions supported by KaTeX. It is sorted into logical groups.
Read more >
LATEX Command Summary
a line break is allowed. \+ moves left margin to the right by ... \Longrightarrow is. =⇒ (math mode). ... \newline breaks a...
Read more >
Markdown and LaTeX introduction
For manual line or page breaks, we can use following HTML and CSS codes: Line breaks: <br />. Print breaks: <p style="page-break-after:always;"></p> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found