0 votes
in SoSci Survey (English) by s155806 (110 points)
edited by s155806

(german below)

Hello,

we need to insert complicated mathematical terms into the survey. currently we do so by pictures of them and including them by < img >-HTML tag.
I found that "MathJax" is a JavaScript-Library to show mathematical terms on an website. Normally this library needs to be inserted into the < head >< /head >-HTML tag.
I tried to copy it into the Question-Box and then copied an example below.
The mathematical term was not shown. I believe the library was not loaded.

=> Is there a way to show complicated mathematical terms in the survey, by including MathJax or an other technology?

Thanks

german text:
Hallo,

wir müssen komplizierte mathematische Formeln in unsere Umfrage einfügen. Aktuell machen wir Bilder von den Formeln und fügen diese über den < img >-HTML Tag ein.
Ich habe herausgefunden, dass "MathJax" eine JavaScript-Bibliothek ist, die mathematische Formeln auf einer Webseite anzeigen kann.
Normalerweise soll diese Bibliiothek zwischen dem < head >< /head >-HTML Tag eingefügt werden. Ich habe versucht es stattdessen in der Fragen-Box einzufügen und fügte eine Beispielformel darunter. Die mathematische Formel wurde nicht angezeigt. Ich vermute die Bibliothek wurde nicht geladen.

=> Ist es irgendwie möglich komplizierte mathematische Formeln in den Umfragen einzubinden, in wir MathJax oder eine andere Technologie verwenden?

Dankeschön

1 Answer

0 votes
by SoSci Survey (302k points)

I found that "MathJax" is a JavaScript-Library to show mathematical terms on an website. Normally this library needs to be inserted into the < head >< /head >-HTML tag.

Kein Problem - Sie können im Fragebogen-Layout beliebigen HTML-Code im <head>-Bereich der Seite unterbringen. Optional können Sie auch eine Kopie des Layouts anlegen und mittels option() nur auf einer Seite im Fragebogen dieses Layout verwenden.

Aber wahrscheinlich wäre es sinnvoller, nur eventuelles CSS im Kopfbereich zu platzieren und den JavaScript-Code im <body>. Dort funktioniert es ganz genauso wie im Kopfbereich, ist aber einfacher auf bestimmte Seiten einzuschränken.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...