numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
199 stars 118 forks source link

Constant does not display in preview #914

Closed msgj603 closed 2 years ago

msgj603 commented 2 years ago

I defined a constant j=sqrt(-1) The question is marked correctly but the j is not appearing the preview. image

msgj603 commented 2 years ago

Ah, I have just seen the option for laTex in the options for the constant and it is working fine now!

christianp commented 2 years ago

Phew! Maybe the editor should warn you if the latex is empty, or it should make up a rendering based on the JME name.