Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

not showing Fraction line #115

Closed
andsilver opened this issue Mar 8, 2018 · 3 comments
Closed

not showing Fraction line #115

andsilver opened this issue Mar 8, 2018 · 3 comments

Comments

@andsilver
Copy link

I tried to display fractions but it shows like this.

screenshot-localhost-4200-2018 03 08-07-56-50

The line between fractions isn't displayed.
Please give some advice for this.

@garciparedes
Copy link
Owner

garciparedes commented Mar 11, 2018

Hi @eliteluxury! Can you share a minimal reproducible example of this issue on Plunker or something like that? Many thanks to notify this issue. 🙂

@andsilver
Copy link
Author

andsilver commented Mar 11, 2018

I put them into array and simply displayed them.

fractions = [ "\frac{1}{6}", "\frac{1}{4}", "\frac{1}{3}","\frac{1}{2}" ];

<div *ngFor="let fraction of fractions">
      <ng-katex [equation] = "fraction"></ng-katex>
</div>

The fraction line isn't displayed in third line in the image.

@garciparedes
Copy link
Owner

Maybe your issue comes from KaTeX css version. Can you check if the bad redering continues when you use 0.9.0 version? I.e. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">

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

No branches or pull requests

2 participants