Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big operator rendering problem inside \frac #119

Closed
ProSimPC opened this issue Mar 14, 2018 · 5 comments
Closed

Big operator rendering problem inside \frac #119

ProSimPC opened this issue Mar 14, 2018 · 5 comments
Assignees
Labels

Comments

@ProSimPC
Copy link

Hello,

First I would like to say WpfMath is a wonderful library. I had searched something like this for a long time.

I went into a small rendering bug when using this kind of formula: \frac{1}{\sum{a}}
The "a" is not at the right place but looks like a superscript. It happens only when the sum is under a fraction.

Best regards,
Pierre

@ForNeVeR ForNeVeR self-assigned this Mar 25, 2018
@ForNeVeR ForNeVeR changed the title Small rendering problem Sum sign rendering problem Mar 25, 2018
@ForNeVeR
Copy link
Owner

Here's how it looks:

  • without \frac:
    image

-with \frac:
image

Obviously something's wrong on our side.

@ForNeVeR
Copy link
Owner

Also, it works the same for every "big operator" (\int, \prod, etc.)

@ForNeVeR ForNeVeR changed the title Sum sign rendering problem Big operator rendering problem inside \frac Mar 25, 2018
@ForNeVeR
Copy link
Owner

NOTE FOR IMPLEMENTORS: When fixing that, be careful not to break cases such as \frac{\sum^a_bx}{2}. With current implementation, it works okay. Although, it was broken by my initial naïve fix.

@ForNeVeR
Copy link
Owner

@ProSimPC, looks like I was able to fix the bug. While other maintainers are reviewing my PR, could you please tell me if it's critical for you? If it is, we could release a fix version (and push it onto NuGet) right after merging the PR.

@ProSimPC
Copy link
Author

@ForNeVeR, it's nice to see you've found the source of the bug. It not critical at all for me, I will wait for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants