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

How to use #30

Open
ghost opened this issue Apr 7, 2019 · 3 comments
Open

How to use #30

ghost opened this issue Apr 7, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 7, 2019

Hello I'm new in rails and i want to implement Tex math formulas in my application, so i find this gem, but i cant figure out how to use it!
Well, I followed the installation process and inserted the following code in a html.erb view home file:
<p>\[\int_a^b f(x) dx=F(b)-F(a)\]</p>
So when i run the server and no math function appeared in my page...
I think I'm missing out on something very obvious.Do I have to use <%= mathjax_tag %> to work with the Tex formulas?

@geo5745
Copy link

geo5745 commented Aug 8, 2020

I am in the same boat - trying to install this gem and its not working.

I tried using the CDN version and it wasn't working either because it did not know how to play with my asset pipeline.

@juneja2
Copy link

juneja2 commented Aug 28, 2020

^

@geo5745
Copy link

geo5745 commented Aug 29, 2020

I ended up using Mathjax React. Got it to work though some issues with the consistency of fonts.

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

No branches or pull requests

2 participants