How to display mathematical terms correctly?

Mehr
3 Monate 1 Woche her #180325 von mariaa
COM_KUNENA_MESSAGE_CREATED_NEW
Hi all,

I´d like to create a mathematical quiz for students in limesurvey.

But when I paste the mathematical terms into lime survey, they are displayed differently.
:
Here you have an example of what the term should look like:



and what it actually looks like after having pasted it into limesurvey :



This problem also affects fractions and other mathematical terms.

Do you know a solution to solve this problem?

Thanks a lot for sharing your ideas with me.


Kind regards and thanks a lot


Maria
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
3 Monate 1 Woche her #180333 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW

mariaa schrieb: But when I paste the mathematical terms into lime survey, they are displayed differently.

This issue is unrelated to LimeSurvey. It's a HTML Browser issue.
Cut and paste will not work in most cases.

Most common approach is to create an image for every math equation.

Newer technologies are available, but might not work in the browser your respondents are using.
developer.mozilla.org/en-US/docs/Web/MathML

Some symbols can be accessed in the UTF fonts (even older browsers can display them).
www.w3schools.com/charsets/ref_utf_math.asp

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Folgende Benutzer bedankten sich: DenisChenu, mariaa

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #180344 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
Seems include MathML directly in source code is OK, just need
1. No XSS protection
2. add the declaration line

I just quickly test on Firefox :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Anhang:
Folgende Benutzer bedankten sich: LouisGac, mariaa

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #180352 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW

DenisChenu schrieb: 1. No XSS protection

XSS protection and AJAX mode are the first things you need to disable to get LS in a usable state. Sad, but true.


But mariaa should use MathML only if respondents are using a predefined browser.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Anhang:
Folgende Benutzer bedankten sich: DenisChenu, mariaa

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #180377 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW

jelo schrieb:

DenisChenu schrieb: 1. No XSS protection

XSS protection and AJAX mode are the first things you need to disable to get LS in a usable state. Sad, but true.

Yes but we STILL must disable XSS for common admin user . Because it muts be a decision to allow any admin usere to put XSS and javascript :).

We already disable XSS for super-admin : i think it's OK, but not for other admin (by default) : think it's OK too.

About MathML : how great firefox \o/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #180456 von mariaa
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi Jelo,

thanks a lot for your help! Creating images of the equations seems to be the easiest option. I`ll try thar =)

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #180458 von mariaa
COM_KUNENA_MESSAGE_REPLIED_NEW
Thanks a lot Denis!

Since I´ve never used MathML before but if Jelo´s suggestion ( creating an image for every math equation) is not working, I´ll get to grips with this topic.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha