Wiki-Quellcode von Formeln einbinden

Version 106.1 von Carina Enke am 20.10.2023

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5 \\
6
7 {{details}}
8 (% class="wrapped" %)
9 |=(((
10 Verantwortlicher
11 )))|(((
12 \\
13 )))
14 |=(% colspan="1" %)(% colspan="1" %)
15 (((
16 Status
17 )))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
18 (((
19 (% class="content-wrapper" %)
20 (((
21 {{sv-metadata type="workflow-status"/}}
22
23 {{status colour="Green" title="Fertig"/}}
24 )))
25 )))
26 |=(% colspan="1" %)(% colspan="1" %)
27 (((
28 Varianten
29 )))|(% colspan="1" %)(% colspan="1" %)
30 (((
31 (% class="content-wrapper" %)
32 (((
33 {{sv-metadata type="variants"/}}
34 )))
35 )))
36 |=(% colspan="1" %)(% colspan="1" %)
37 (((
38 Attribute
39 )))|(% colspan="1" %)(% colspan="1" %)
40 (((
41 (% class="content-wrapper" %)
42 (((
43 {{sv-metadata type="attributes"/}}
44 )))
45 )))
46 |=(% colspan="1" %)(% colspan="1" %)
47 (((
48 Pagekey
49 )))|(% colspan="1" %)(% colspan="1" %)
50 (((
51 (% class="content-wrapper" %)
52 (((
53 {{sv-metadata type="pagekey"/}}
54 )))
55 )))
56 |=(% colspan="1" %)(% colspan="1" %)
57 (((
58 Übersetzung
59 )))|(% colspan="1" %)(% colspan="1" %)
60 (((
61 (% class="content-wrapper" %)
62 (((
63 Integrate formulas 
64
65 {{status colour="Green" title="fertig"/}}
66 )))
67 )))
68 |=(% colspan="1" %)(% colspan="1" %)
69 (((
70 TODOs
71 )))|(% colspan="1" %)(% colspan="1" %)
72 (((
73 (% class="content-wrapper" %)
74 (((
75 (% class="task-list" %)
76 (((
77 {{task reference="/Tasks/Task_7" status="Done"}}
78 carina: Formeleditoren angepasst
79
80 {{/task}}
81
82 {{task reference="/Tasks/Task_11" status="Done"}}
83 (% class="placeholder-inline-tasks placeholder-inline-tasks" %)carina {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-TEoYo"/}} Update zum Abschnitt "(%%)Formelerstellung mit einem Formeleditor" und Änderungen in den Listen in der Inhaltsbox {{date value="2021-08-31" format="yyyy-MM-dd"/}}
84 {{/task}}
85
86 {{task reference="/Tasks/Task_13" status="Done"}}
87 carina: Anpassungen durch neuen Tiny und neuer Benutzereinstellung zru Platzhaltergrafik
88 {{/task}}
89
90 {{task reference="/Tasks/Task_17" status="Done"}}
91 carina: {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-Qidrf"/}} Update wg. Änderung im Dialog zum Einfügen einer Grafik. {{date value="2022-01-31" format="yyyy-MM-dd"/}} (Zum Bearbeiten einer bestehenden gibt es grad noch einen Bug, den teil aktualisiere ich wenn der behoben ist ([[ONYX-9215)>>url:https://www.bps-system.de/devel/browse/ONYX-9215||shape="rect"]]
92 {{/task}}
93 )))
94 )))
95 )))
96 {{/details}}
97 {{/layout-cell}}
98 {{/layout-section}}
99
100 {{layout-section ac:type="two_right_sidebar"}}
101 {{layout-cell}}
102 ONYX bietet die Möglichkeit zur Integration von Formeln. Formeln können durch den Autor in MathML- oder LaTeX-Schreibweise eingegeben werden. ONYX nutzt das etablierte [[MathJax>>url:http://www.mathjax.org/||shape="rect"]]-Framework zur optimalen Darstellung Ihrer Formeln in allen Browseransichten.
103
104 Wünschen Sie einen Formeleditor zur einfachen Zusammenstellung Ihrer Formeln mit automatischer Umwandlung in die Auszeichnungssprache LaTeX, stehen im Internet zahlreiche LaTeX-Formeleditoren zur Verfügung. Eine einfache Bedienung trotz umfangreicher Funktionalität bietet (% class="sv-pt-link confluence-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/math/index.html||shape="rect" class="external-link"]](%%) oder die LaTeX-Formeleditoren von (% class="sv-pt-link confluence-link" %)[[Matheretter>>url:https://www.matheretter.de/rechner/latex||shape="rect" class="external-link"]](%%) und (% class="sv-pt-link confluence-link" %)[[Zahlenkern>>url:https://www.zahlen-kern.de/editor/||shape="rect" class="external-link"]](%%).
105
106 [[image:attach:Beispiel - Formel_de.png]]
107 {{/layout-cell}}
108
109 {{layout-cell}}
110 {{scroll-ignore}}
111 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
112
113
114 {{toc/}}
115
116 **Verwandte Themen**(% class="sv-pt-link confluence-link" %)
117
118
119 * (% class="sv-pt-link confluence-link" %)[[LaTeX-Hilfe: LaTeX-Kompendium für Mathematiker>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
120 * (% class="sv-pt-link confluence-link" %)[[MathML-Hilfe: Offizielle Spezifikation von MathML 3.0>>url:http://www.w3.org/TR/MathML3/||rel="nofollow" shape="rect" class="external text"]]
121 * (% class="sv-pt-link confluence-link" %)[[Formeldarstellung: MathJax>>doc:Testen in OPAL]]
122
123 (% class="sv-pt-link confluence-link" %)**Externe Formeleditoren**
124
125 * (% class="sv-pt-link confluence-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/||shape="rect"]]
126 * (% class="sv-pt-link confluence-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]]
127 * (% class="sv-pt-link confluence-link" %)[[Zahlenkern LaTeX-Formeleditor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]]
128 {{/panel}}
129 {{/scroll-ignore}}
130 {{/layout-cell}}
131 {{/layout-section}}
132
133 {{layout-section ac:type="single"}}
134 {{layout-cell}}
135 == Formelerstellung mit LaTeX ==
136
137 Der ONYX Editor bietet für alle Autoreneingaben eine LaTeX-Unterstützung. Über den im ONYX Editor integrierten HTML-Editor können Formeln mithilfe der Auszeichnungssprache LaTeX in alle Aufgabenbereiche wie die Aufgabenstellung, Antwortalternativen oder Feedback eingefügt werden. Die Darstellung der Formeln erfolgt mit dem etablierten [[MathJax-Framework>>url:http://www.mathjax.org/||title="Weitere Informationen zu MathJax" shape="rect"]]. Ihre Formel wird dabei automatisch in eine professionell formatierte Formel konvertiert.
138 {{/layout-cell}}
139 {{/layout-section}}
140
141 {{layout-section ac:type="single"}}
142 {{layout-cell}}
143 \\
144 {{/layout-cell}}
145 {{/layout-section}}
146
147 {{layout-section ac:type="two_equal"}}
148 {{layout-cell}}
149 (% style="text-align: center;" %)
150 [[image:attach:Editor - Aufgabenstellung mit Formel_de.png]]//Abb.: LaTeX-Eingabe im ONYX Editor//
151 {{/layout-cell}}
152
153 {{layout-cell}}
154 (% style="text-align: center;" %)
155 [[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]]//Abb.: Formeldarstellung in der Testdurchführung//
156 {{/layout-cell}}
157 {{/layout-section}}
158
159 {{layout-section ac:type="single"}}
160 {{layout-cell}}
161 \\
162 {{/layout-cell}}
163 {{/layout-section}}
164
165 {{layout-section ac:type="single"}}
166 {{layout-cell}}
167 Um Mathematische Formeln in LaTeX darzustellen, muss man lediglich die Formel in seinen Text integrieren. Eine Formel kann wie folgt in einen Text eingebettet werden:
168
169 * (((
170 \( Formel \)
171 )))
172 * \[ Formel \]
173 * $$ Formel $$
174
175 Die LaTeX-Syntax $Formel$ wird in ONYX nicht unterstützt.
176
177 {{info}}
178 Im Internet finden sich umfangreiche Materialien zur Formelerzeugung mit LaTeX. Ausführliche Beispiele finden sich u. a. im [[Wikibook: LaTeX-Kompendium für Mathematiker>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]].
179 {{/info}}
180 {{/layout-cell}}
181 {{/layout-section}}
182
183 {{layout-section ac:type="single"}}
184 {{layout-cell}}
185 \\
186 {{/layout-cell}}
187 {{/layout-section}}
188
189 {{layout-section ac:type="single"}}
190 {{layout-cell}}
191 == Formelerstellung mit dem Formel-Dialog ==
192
193 Neben der Auszeichnungssprache LaTeX können mathematische Formeln und komplexe Ausdrücke auch mit der Mathematical Markup Language (MathML) eingefügt werden. Für eine einfache Eingabe steht für den im ONYX Editor integrierten HTML-Editor ein spezielles Formel-Plugin zur Verfügung.
194
195 === Eine Formel im Texteditor erstellen ===
196
197 (% class="wrapped" %)
198 |(% class="numberingColumn" %)(% class="numberingColumn" %)
199 (((
200 1
201 )))|(((
202 (% class="content-wrapper" %)
203 (((
204 Klicken Sie im Text-Editor auf die Option Formel [[image:attach:Onyx Icons und Buttons@Icon_Formeleditor.png]].
205 )))
206 )))|(% colspan="2" %)(% colspan="2" %)
207 (((
208 (% class="content-wrapper" %)
209 (((
210 [[image:attach:Editor - Formeldialog aufrufen_de.png]]
211 )))
212 )))
213 |(% class="numberingColumn" %)(% class="numberingColumn" %)
214 (((
215 2
216 )))|(((
217 (% class="content-wrapper" %)
218 (((
219 Geben Sie im Dialog Ihre Formel in das Textfeld in MathML- oder LaTeX-Notation ein. Unterhalb des Eingabefelds wird Ihnen eine Vorschau der angegebenen Formel angezeigt.
220 )))
221
222 Fügen Sie die Formel mit Klick auf den Button **Fertig** in den Testinhalt ein.
223 )))|(% colspan="2" %)(% colspan="2" %)
224 (((
225 (% class="content-wrapper" %)
226 (((
227 [[image:attach:Editor - Formeldialog_de.png]]
228 )))
229 )))
230 |(% class="numberingColumn" %)(% class="numberingColumn" %)
231 (((
232 3
233 )))|(((
234 (% class="content-wrapper" %)
235 (((
236 Im Textfeld wird die Formel anschließend in LaTeX-Notation angezeigt.
237
238 Diese Standardkonfiguration können Sie bei Bedarf in Ihren ONYX-Benutzereinstellungen ändern und eine Platzhalter-Grafik stellvertretend anzeigen lassen.
239 )))
240 )))|(% colspan="2" %)(% colspan="2" %)
241 (((
242 (% class="content-wrapper" %)
243 (((
244 [[image:attach:Editor - Formeldarstellung_de.png]]
245 )))
246 )))
247 |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
248 (((
249 4
250 )))|(% colspan="1" %)(% colspan="1" %)
251 (((
252 In der Vorschau der Aufgabe und später in der Nutzeransicht wird die Formel analog zur Formelvorschau angezeigt.
253 )))|(% colspan="2" %)(% colspan="2" %)
254 (((
255 (% class="content-wrapper" %)
256 (((
257 [[image:attach:Player - Anzeige einer Formel_de.png]]
258 )))
259 )))
260
261 {{info}}
262 Im Internet finden sich umfangreiche Materialien zur Formelerzeugung mit MathML. Eine ausführliche Beschreibung bietet die [[Offizielle Spezifikation von MathML 3.0>>url:http://www.w3.org/TR/MathML3/||rel="nofollow" shape="rect" class="external text"]] (in Englisch).
263 {{/info}}
264 {{/layout-cell}}
265 {{/layout-section}}
266
267 {{layout-section ac:type="single"}}
268 {{layout-cell}}
269 \\
270 {{/layout-cell}}
271 {{/layout-section}}
272
273 {{layout-section ac:type="single"}}
274 {{layout-cell}}
275
276
277 === Bearbeiten einer bestehenden Formel ===
278
279 Möchten Sie bestehende Formel-Inhalte mit dem Formel-Plugin bearbeiten, dann gehen Sie wie folgt vor:
280
281 (% class="wrapped" %)
282 |(((
283 1
284 )))|(((
285 (% class="content-wrapper" %)
286 (((
287 Klicken Sie auf den Formel-Platzhalter [[image:attach:Icon_Formel.png]] oder markieren Sie die gesamte Formel in LaTeX-Notation.
288 )))
289 )))|(% rowspan="2" %)(% rowspan="2" %)
290 (((
291 (% class="content-wrapper" %)
292 (((
293 [[image:attach:Editor - Formel bearbeiten_de.png]]
294 )))
295 )))
296 |(((
297 2
298 )))|(((
299 (% class="content-wrapper" %)
300 (((
301 Klicken Sie im Text-Editor auf die Option Formel [[image:attach:Icon_Formeleditor.png]].
302 )))
303 )))
304 |(((
305 3
306 )))|(((
307 Die Formel öffnet sich im Formel-Dialog und Sie können die Formel im Textfeld bearbeiten.
308 )))|(% rowspan="2" %)(% rowspan="2" %)
309 (((
310 (% class="content-wrapper" %)
311 (((
312 [[image:attach:Editor - Dialog Formel eingeben_de.png]]
313 )))
314 )))
315 |(((
316 4
317 )))|(% colspan="1" %)(% colspan="1" %)
318 (((
319 Bestätigen Sie Ihre Änderung mit Klick auf den Button **Fertig** am Ende des Dialogs.
320 )))
321
322
323 {{/layout-cell}}
324 {{/layout-section}}
325
326 {{layout-section ac:type="single"}}
327 {{layout-cell}}
328 \\
329 {{/layout-cell}}
330 {{/layout-section}}
331
332 {{layout-section ac:type="single"}}
333 {{layout-cell}}
334 == Formelerstellung mit einem Formeleditor ==
335
336 Im Internet finden Sie zahlreiche LaTeX-Formeleditoren, welche eine Unterstützung zur Erstellung von LaTeX-Formeln bieten.
337
338 Eine einfache Bedienung bietet die Webseite [[MyScript>>url:https://webdemo.myscript.com/||shape="rect"]]. Schreiben Sie die gewünschte Formel mittels Maus oder Eingabestift in die Freifläche. Der Formeleditor übersetzt die dargestellte Formel in LaTeX-Schreibweise und zeigt, wenn zur Formel passend, auch einen Graph der erstellten Funktion an.
339
340 [[image:attach:MyScript_de.png]]
341
342 (% style="text-align: center;" %)
343 //Abb.: Formel-Eingabe mit MyScript
344 //
345
346 Im oberen rechten Seitenbereich wird die LaTeX-Notation zur eingegebenen Formel angezeigt. Diese können Sie markieren, kopieren und anschließend in die ONYX-HTML-Eingabefelder einfügen.
347
348 \\
349
350 Mit dem Editor von (% class="sv-pt-link confluence-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]] oder dem [[Zahlenkern LaTeX-Formeleditor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]] (%%)können Sie Formeln durch vorgefertigte, grafische Formelsymbole zusammenstellen und diese anpassen. Die Formeleditoren übersetzen die dargestellte Formel ebenfalls in LaTeX-Schreibweise, die anschließend in die ONYX-HTML-Eingabefelder eingefügt werden kann.
351 {{/layout-cell}}
352 {{/layout-section}}
353
354 {{layout-section ac:type="single"}}
355 {{layout-cell}}
356 \\
357 {{/layout-cell}}
358 {{/layout-section}}
359
360 {{layout-section ac:type="two_equal"}}
361 {{layout-cell}}
362 (% style="text-align: center;" %)
363 [[image:attach:Matheretter_de.png]]//Abb.: Formel-Eingabe im Matheretter LaTeX-Assisstent//
364 {{/layout-cell}}
365
366 {{layout-cell}}
367 (% style="text-align: center;" %)
368 [[image:attach:LaTeX-Formeleditor_de.png]]//Abb.: Formel-Eingabe im Zahlenkern LaTeX-Formeleditor//
369 {{/layout-cell}}
370 {{/layout-section}}
371
372 {{layout-section ac:type="single"}}
373 {{layout-cell}}
374 \\
375 {{/layout-cell}}
376 {{/layout-section}}
377
378 {{layout-section ac:type="single"}}
379 {{layout-cell}}
380 == Formelbeispiele ==
381
382 ONYX verwendet das Framework MathJax zur Formeldarstellung. Auf den Demo-Seiten von [[MathJax>>url:http://www.mathjax.org/||shape="rect"]] finden Sie verschiedene [[Beispiele zur Formeleingabe>>url:http://www.mathjax.org/demos/||title="Zur MathJax Demo-Seite" shape="rect"]].
383 {{/layout-cell}}
384 {{/layout-section}}
385
386 {{layout-section ac:type="single"}}
387 {{layout-cell}}
388 [[image:attach:Beispiel - Formel in einer Zeile_de.png]]
389
390 (% style="text-align: center;" %)
391 //Abb.: Beispiel für die Formeldarstellung innerhalb einer Zeile//
392
393 [[image:attach:Beispiel - Formel in eigener Zeile_de.png]]
394
395 (% style="text-align: center;" %)
396 //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile//
397 {{/layout-cell}}
398 {{/layout-section}}
399 {{/layout}}
400 {{/sv-translation}}
401
402 {{sv-translation language="en"}}
403 {{layout}}
404 {{layout-section ac:type="two_right_sidebar"}}
405 {{layout-cell}}
406 ONYX offers authors the possibility to integrate formulas in MathML or LaTeX notation. ONYX uses the established [[MathJax>>url:http://www.mathjax.org/||shape="rect"]] framework for optimal presentation of your formulas in all browser views.
407
408 For an easy creation and automatic conversion of your formulas into the LaTeX markup language, several LaTeX formula editors can be downloaded from the internet. For example, [[MyScript Math>>url:https://webdemo.myscript.com/views/math/index.html||shape="rect"]] or the Latex formula editors by [[Matheretter >>url:https://www.matheretter.de/rechner/latex||shape="rect"]]and [[Zahlenkern>>url:https://www.zahlen-kern.de/editor/||shape="rect"]] offer extensive functionality and simple operation at the same time.
409
410 [[image:attach:Beispiel - Formel_de.png]]
411 {{/layout-cell}}
412
413 {{layout-cell}}
414 {{scroll-ignore}}
415 {{panel title="Content"}}
416
417
418 {{toc/}}
419
420 **Related topics**
421
422 * [[LaTeX help: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
423 * [[MathML help: Official MathML 3.0 specification>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]
424 * [[Formula presentation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]]
425
426 **External formula editors**
427
428 * [[MyScript Math>>url:https://webdemo.myscript.com/||shape="rect"]]
429 * [[Matheretter Latex assistant>>url:https://www.matheretter.de/rechner/latex||shape="rect"]]
430 * [[Zahlenkern Latex formula editor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]]
431 {{/panel}}
432 {{/scroll-ignore}}
433 {{/layout-cell}}
434 {{/layout-section}}
435
436 {{layout-section ac:type="single"}}
437 {{layout-cell}}
438 == Creating formulas with LaTeX ==
439
440 The ONYX Editor provides LaTeX support for all author inputs. Via the HTML editor, which is part of the ONYX Editor, you can integrate formulas into all question areas such as the question text, alternative answer options, or feedback, using the LaTeX markup language. The formula display is done with the established [[MathJax Framework>>url:http://www.mathjax.org/||shape="rect"]], and your formula is automatically converted to a professionally formatted formula.
441 {{/layout-cell}}
442 {{/layout-section}}
443
444 {{layout-section ac:type="single"}}
445 {{layout-cell}}
446 \\
447 {{/layout-cell}}
448 {{/layout-section}}
449
450 {{layout-section ac:type="single"}}
451 {{layout-cell}}
452 (% class="wrapped" %)
453 |(((
454 (% class="content-wrapper" %)
455 (((
456 [[image:attach:Editor - Aufgabenstellung mit Formel_de.png]]
457
458 (% style="text-align: center;" %)
459 //Fig.: LaTeX input in the ONYX Editor//
460 )))
461 )))|(((
462 (% class="content-wrapper" %)
463 (((
464 [[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]]
465
466 (% style="text-align: center;" %)
467 //Fig.: Formula display in a test situation//
468 )))
469 )))
470 {{/layout-cell}}
471 {{/layout-section}}
472
473 {{layout-section ac:type="single"}}
474 {{layout-cell}}
475 \\
476 {{/layout-cell}}
477 {{/layout-section}}
478
479 {{layout-section ac:type="single"}}
480 {{layout-cell}}
481 In order to display mathematical formulas in LaTeX, you just need to integrate the formula into your text. This can be done as follows:
482
483 * \( Formula \)
484 * \[ Formula \]
485 * $$ Formula $$
486
487 The $Formula$ LaTeX syntax is not supported in ONYX.
488
489 {{info}}
490 You can find extensive material on how to generate formulas with LaTeX on the internet. For example, detailed examples are provided in the [[Wikibook: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]] (in German).
491 {{/info}}
492 {{/layout-cell}}
493 {{/layout-section}}
494
495 {{layout-section ac:type="single"}}
496 {{layout-cell}}
497 \\
498 {{/layout-cell}}
499 {{/layout-section}}
500
501 {{layout-section ac:type="single"}}
502 {{layout-cell}}
503 == Creating formulas with the formula dialogue ==
504
505 Apart from the markup language LaTeX, mathematical formulas and complex expressions can also be integrated using the Mathematical Markup Language (MathML). For easy input, a special formula plugin is also available for the ONYX Editor's integrated HTML editor.
506
507 === Create a formula in the text editor ===
508
509 (% class="wrapped" %)
510 |(% class="numberingColumn" %)(% class="numberingColumn" %)
511 (((
512 1
513 )))|(((
514 (% class="content-wrapper" %)
515 (((
516 Select the formula option [[image:attach:Icon_Formeleditor.png]]in the text editor.
517 )))
518 )))|(((
519 (% class="content-wrapper" %)
520 (((
521 [[image:attach:Editor - Formeldialog aufrufen_de.png]]
522 )))
523 )))
524 |(% class="numberingColumn" %)(% class="numberingColumn" %)
525 (((
526 2
527 )))|(% colspan="1" %)(% colspan="1" %)
528 (((
529 In the dialogue, enter your formula in the text field in MathML or LaTeX notation. Below the input field, you will be given a preview of the formula.
530
531 Click on **Finish **to insert the formula into the test content.
532 )))|(% colspan="1" %)(% colspan="1" %)
533 (((
534 (% class="content-wrapper" %)
535 (((
536 [[image:attach:Editor - Formeldialog_de.png]]
537 )))
538 )))
539 |(% class="numberingColumn" %)(% class="numberingColumn" %)
540 (((
541 3
542 )))|(((
543 The formula is then displayed in LaTeX notation in the text field.
544
545 If necessary, you can change this default configuration in your ONYX user settings and display a placeholder image instead.
546 )))|(((
547 (% class="content-wrapper" %)
548 (((
549 [[image:attach:Editor - Formeldarstellung_de.png]]
550 )))
551 )))
552 |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
553 (((
554 4
555 )))|(% colspan="1" %)(% colspan="1" %)
556 (((
557 In the question preview and later in the user view, the formula is displayed the same way as in the formula preview.
558 )))|(% colspan="1" %)(% colspan="1" %)
559 (((
560 (% class="content-wrapper" %)
561 (((
562 [[image:attach:Player - Anzeige einer Formel_de.png]]
563 )))
564 )))
565
566 {{info}}
567 You can find extensive material on how to generate formulas with MathML on the internet. For example, a detailed description is provided in the [[Official MathML 3.0 Specification>>url:https://www.w3.org/TR/MathML3/||shape="rect"]].
568 {{/info}}
569 {{/layout-cell}}
570 {{/layout-section}}
571
572 {{layout-section ac:type="single"}}
573 {{layout-cell}}
574 \\
575 {{/layout-cell}}
576 {{/layout-section}}
577
578 {{layout-section ac:type="single"}}
579 {{layout-cell}}
580
581
582 === Edit an existing formula ===
583
584 To edit existing formula content with the formula plugin, proceed as follows:
585
586 (% class="wrapped" %)
587 |(% class="numberingColumn" %)(% class="numberingColumn" %)
588 (((
589 1
590 )))|(((
591 (% class="content-wrapper" %)
592 (((
593 Click on the formula placeholder [[image:attach:Icon_Formel.png]]or mark the entire formula in LaTeX notation.
594 )))
595 )))|(% rowspan="2" %)(% rowspan="2" %)
596 (((
597 (% class="content-wrapper" %)
598 (((
599 [[image:attach:Editor - Formel bearbeiten_de.png]]
600 \\
601 )))
602 )))
603 |(% class="numberingColumn" %)(% class="numberingColumn" %)
604 (((
605 2
606 )))|(((
607 (% class="content-wrapper" %)
608 (((
609 Select the formula option [[image:attach:Icon_Formeleditor.png]]in the text editor.
610 )))
611 )))
612 |(% class="numberingColumn" %)(% class="numberingColumn" %)
613 (((
614 3
615 )))|(((
616 The formula opens in the formula dialogue. Here you can edit the formula in the text field.
617 )))|(% rowspan="2" %)(% rowspan="2" %)
618 (((
619 (% class="content-wrapper" %)
620 (((
621 [[image:attach:Editor - Dialog Formel eingeben_de.png]]
622 )))
623 )))
624 |(% class="numberingColumn" %)(% class="numberingColumn" %)
625 (((
626 4
627 )))|(((
628 Confirm your changes by clicking on **Finished** at the end of the dialogue.
629 )))
630
631
632 {{/layout-cell}}
633 {{/layout-section}}
634
635 {{layout-section ac:type="single"}}
636 {{layout-cell}}
637 \\
638 {{/layout-cell}}
639 {{/layout-section}}
640
641 {{layout-section ac:type="single"}}
642 {{layout-cell}}
643 == Creating formulas with a formula editor ==
644
645 You can find numerous LaTeX formula editors on the internet to assist you in creating LaTeX formulas.
646
647 For example, the [[MyScript >>url:https://webdemo.myscript.com/||shape="rect"]]website offers simple operation. Just write the desired formula in the free area using your mouse or stylus. The formula editor then translates the displayed formula into LaTeX notation and, if appropriate to the formula, also shows a graph of the created function.
648
649 (% style="text-align: center;" %)
650 [[image:attach:MyScript_de.png]]//Fig.: Formula input with MyScript//
651
652 The LaTeX notation for the entered formula is displayed in the top right page area. You can mark it, copy it and then paste it into the ONYX HTML input fields.
653
654 \\
655
656 With the editor of the [[Matheretter LaTeX assistant>>url:https://www.matheretter.de/rechner/latex||shape="rect"]] or the [[Zahlenkern LaTeX formula editor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]], you can create formulas using ready-made, graphic formula symbols and adapt them. The formula editors also translate the displayed formula into LaTeX notation, which can then be inserted into the ONYX HTML input fields.
657 {{/layout-cell}}
658 {{/layout-section}}
659
660 {{layout-section ac:type="single"}}
661 {{layout-cell}}
662 \\
663 {{/layout-cell}}
664 {{/layout-section}}
665
666 {{layout-section ac:type="two_equal"}}
667 {{layout-cell}}
668 [[image:attach:Matheretter_de.png]]
669
670 (% style="text-align: center;" %)
671 //Fig.: Formula input in the Matheretter LaTeX assistant//
672 {{/layout-cell}}
673
674 {{layout-cell}}
675 [[image:attach:LaTeX-Formeleditor_de.png]]
676
677 (% style="text-align: center;" %)
678 //Fig.: Formula input in the Zahlenkern LaTeX formula editor//
679 {{/layout-cell}}
680 {{/layout-section}}
681
682 {{layout-section ac:type="single"}}
683 {{layout-cell}}
684 \\
685 {{/layout-cell}}
686 {{/layout-section}}
687
688 {{layout-section ac:type="single"}}
689 {{layout-cell}}
690 == Formula examples ==
691
692 ONYX uses the MathJax framework to display formulas. On the [[MathJax>>url:https://www.mathjax.org/||shape="rect"]] demo pages, you can find several [[examples on how to insert formulas>>url:https://www.mathjax.org/||shape="rect"]].
693 {{/layout-cell}}
694 {{/layout-section}}
695
696 {{layout-section ac:type="single"}}
697 {{layout-cell}}
698 [[image:attach:Beispiel - Formel in einer Zeile_de.png]]//Fig.: Example of an inline formula//
699
700 (% style="text-align: center;" %)
701 [[image:attach:Beispiel - Formel in eigener Zeile_de.png]]
702
703 (% style="text-align: center;" %)
704 //Fig.: Example of a formula centred on a separate line//
705 {{/layout-cell}}
706 {{/layout-section}}
707 {{/layout}}
708 {{/sv-translation}}