Rendering of accent symbols [PATCH]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WPF-Math |
New
|
Undecided
|
Unassigned |
Bug Description
Accent symbols are rendered separately instead of above other characters.
The following patch appears to fix this issue but someone with more knowledge of the source code and latex should check it.
Index: TexFormulaParser.cs
=======
--- TexFormulaParser.cs (revision 15462)
+++ TexFormulaParser.cs (revision 15463)
@@ -326,8 +326,16 @@
if (symbolAtom != null)
{
// Symbol was found.
-
- formula.
+ if (symbolAtom.Type == TexAtomType.Accent)
+ {
+ TexFormulaHelper helper = new TexFormulaHelpe
+ TexFormula accentFormula = ReadScript(formula, value, ref position);
+ helper.
+ }
+ else
+ {
+ formula.
+ }
}
else if (predefinedFormula != null)
{
summary: |
- Rendering of accent symbols + Rendering of accent symbols [PATCH] |
Hello, Marc. Years later, your patch has finally been applied to the fork: https:/ /github. com/ForNeVeR/ wpf-math/ pull/8
Thank you!