Closed Joalland closed 3 years ago
Thanks for the plugin. I like my vector to be in bold. I ussualy redefine the latex \vec{} command :
If i put
$\renewcommand\vec[1]{\mathbf{#1}}\vec{AA'}$
inside a dokuwiki page i get :
If I put in on the mathax config file above :
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], displayMath: [ ["$$","$$"], ["\\[","\\]"] ], processEscapes: true }, TeX: { Macros: { RR: '{\\bf R}', bold: ['{\\bf #1}',1], vec: ['{\\mathbf #1}',1] } } });
I get :
Is this a bug or I'm missing something in the matjax configuration file ?
Thanks
I may be way off, but does the line in the config need to be vec: ['{\\mathbf{#1}}',1]?
vec: ['{\\mathbf{#1}}',1]
Yes your are right. Thanks and sorry for the spurious issue.
No worries. Glad it was an easy fix.
Thanks for the plugin. I like my vector to be in bold. I ussualy redefine the latex \vec{} command :
If i put
inside a dokuwiki page i get :
If I put in on the mathax config file above :
I get :
Is this a bug or I'm missing something in the matjax configuration file ?
Thanks