xaml-math
xaml-math copied to clipboard
Newline @"\\" and @\longrightarrow breaks
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 ?
Hi! Your usage of \\ looks fine, but we have no longrightarrow command, unfortunately.
A version with working \\ wasn't published yet, unfortunately. I think I'll publish a release with it, soon.
oh you didnt publish a version with working newline \ yet .,.. weird, read the posts before and seemed it was implemented ... ok i ll wait then ... but where is the documentation of working latex commands in this library ?
I have already published 0.9.0 with working \\, a few hours ago.
For supported TeX symbols, you could skim through
- https://github.com/ForNeVeR/wpf-math/blob/25daf84814f47d6060b568637341153d5d273036/src/WpfMath/Data/PredefinedTexFormulas.xml
- https://github.com/ForNeVeR/wpf-math/blob/25daf84814f47d6060b568637341153d5d273036/src/WpfMath/Data/TexSymbols.xml
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!
Yes that would be helpful :) ... awesome newline \ working now ... one more thing, how do u add space in latex ?
Try \,