Re: Changing the font size of Markmin formulas

42 views
Skip to first unread message

Massimo Di Pierro

unread,
Jan 26, 2013, 9:23:34 PM1/26/13
to web...@googlegroups.com
By default it sues google charts to render the latex ($$, $$). Instead you can user \(...\) to delimit LaTeX fomulas and user mathjax to render it:

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">                                       
MathJax.Hub.Config({                                                                                                         
 extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],                                                            
 jax: ["input/TeX", "output/HTML-CSS"],                                                                                      
 tex2jax: {                                                                                                                  
     inlineMath: [ ['$','$'], ["\\(","\\)"] ],                                                                               
     displayMath: [ ['$$','$$'], ["\\[","\\]"] ],                                                                            
 },                                                                                                                          
 "HTML-CSS": { availableFonts: ["TeX"] }                                                                                     
});                                                                                                                          
</script> 

Mathjax will not convert to images and the therefore formulas will scale with the page.



On Saturday, 26 January 2013 01:40:29 UTC-6, jakerunzer wrote:

Is there a way to change the size formulas are rendered with Markmin?
For example, if I simply have MARKMIN("$$\int_a^b sin(x)dx$$"), the formula is rendered nicely but the size does not change with css. Text which is not a formula will change but the forumla stays the same size.
Reply all
Reply to author
Forward
0 new messages