xaml-math
xaml-math copied to clipboard
using \textunderscore just crashes the Formulacontrol on WPF
while trying to show a formula in my wpf program, the control kept crashing whenever I try to use the command that is used to write underscores =>(\textunderscore ) is there a way to add a certain library so the control could support such commands ?
if not what would you do in this case ?
while trying to show a formula in my wpf program, the control kept crashing whenever I try to use the command that is used to write underscores =>(\textunderscore ) is there a way to add a certain library so the control could support such commands ?
if not what would you do in this case ?
_ command is also not working
When talking about something "crashing" (an exception thrown perhaps?), it's always useful to provide a stack trace.
_ command is also not working
Is it even a command? Could you please give an example?
Hi,
regarding the crashing error, no there was no exception thrown, the whole control turns into a single red dot,
this happens when I try to use on of the either (_) or(\textunderscore) in the formula property of the control
When talking about something "crashing" (an exception thrown perhaps?), it's always useful to provide a stack trace.
_ command is also not working
Is it even a command? Could you please give an example?
I hope this helps you to recreate the error.
I was able to reproduce the issue. We have no commands \textunderscore
or \_
, and there's a reason for that: turns out that the Computer Modern font we use doesn't have a _
character.
So, it is very tricky to add. Please use \text{_}
for now.
Answering to your other question,
is there a way to add a certain library so the control could support such commands ?
We are considering making WPF-Math user-extendable, but that still requires a lot of ongoing work. See #154 for details.