Änderungen von Dokument 06 Formeln einbinden

Zuletzt geändert von Carina Enke am 12.08.2024

Von Version 288.1
bearbeitet von Carina Enke
am 24.04.2024
Änderungskommentar: Neues Bild Editor - Formeldarstellung_de.png hochladen
Auf Version 282.3
bearbeitet von Carina Enke
am 20.12.2023
Änderungskommentar: Update document after refactoring.

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -06 Formeln einbinden
1 +Formeln einbinden
Inhalt
... ... @@ -1,9 +1,15 @@
1 1  {{layout}}
2 +{{layout-section ac:type="single"}}
3 +{{layout-cell}}
4 +\\
5 +{{/layout-cell}}
6 +{{/layout-section}}
7 +
2 2  {{layout-section ac:type="two_right_sidebar"}}
3 3  {{layout-cell}}
4 -ONYX bietet die Möglichkeit zur Integration von Formeln. Formeln können durch den Autor in 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.
10 +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.
5 5  
6 -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="confluence-link sv-pt-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/math/index.html||shape="rect" class="external-link"]](%%) oder die LaTeX-Formeleditoren von (% class="confluence-link sv-pt-link" %)[[Matheretter>>url:https://www.matheretter.de/rechner/latex||shape="rect" class="external-link"]](%%) und (% class="confluence-link sv-pt-link" %)[[Zahlenkern>>url:https://www.zahlen-kern.de/editor/||shape="rect" class="external-link"]](%%).
12 +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"]](%%).
7 7  
8 8  [[image:attach:Beispiel - Formel_de.png]]
9 9  {{/layout-cell}}
... ... @@ -10,20 +10,20 @@
10 10  
11 11  {{layout-cell}}
12 12  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
13 -{{toc start="2"/}}
19 +{{toc/}}
14 14  
15 15  **Verwandte Themen**
16 16  
17 17  
18 -* (% class="confluence-link sv-pt-link" %)[[LaTeX-Hilfe: LaTeX-Kompendium für Mathematiker>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
19 -* (% class="confluence-link sv-pt-link" %)[[MathML-Hilfe: Offizielle Spezifikation von MathML 3.0>>url:http://www.w3.org/TR/MathML3/||rel="nofollow" shape="rect" class="external text"]]
20 -* (% class="confluence-link sv-pt-link" %)[[Formeldarstellung: MathJax>>doc:ONYX.Durchführung von Tests.Testen in OPAL.WebHome]]
24 +* (% 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"]]
25 +* (% 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"]]
26 +* (% class="sv-pt-link confluence-link" %)[[Formeldarstellung: MathJax>>doc:ONYX.ONYX Editor.Aufgaben.Formeln einbinden.Testen in OPAL]]
21 21  
22 -(% class="confluence-link sv-pt-link" %)**Externe Formeleditoren**
28 +(% class="sv-pt-link confluence-link" %)**Externe Formeleditoren**
23 23  
24 -* (% class="confluence-link sv-pt-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/||shape="rect"]]
25 -* (% class="confluence-link sv-pt-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]]
26 -* (% class="confluence-link sv-pt-link" %)[[Zahlenkern LaTeX-Formeleditor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]]
30 +* (% class="sv-pt-link confluence-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/||shape="rect"]]
31 +* (% class="sv-pt-link confluence-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]]
32 +* (% class="sv-pt-link confluence-link" %)[[Zahlenkern LaTeX-Formeleditor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]]
27 27  {{/panel}}
28 28  {{/layout-cell}}
29 29  {{/layout-section}}
... ... @@ -32,24 +32,36 @@
32 32  {{layout-cell}}
33 33  == Formelerstellung mit LaTeX ==
34 34  
35 -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/||shape="rect" title="Weitere Informationen zu MathJax"]]. Ihre Formel wird dabei automatisch in eine professionell formatierte Formel konvertiert.
41 +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.
36 36  {{/layout-cell}}
37 37  {{/layout-section}}
38 38  
45 +{{layout-section ac:type="single"}}
46 +{{layout-cell}}
47 +\\
48 +{{/layout-cell}}
49 +{{/layout-section}}
50 +
39 39  {{layout-section ac:type="two_equal"}}
40 40  {{layout-cell}}
41 41  (% style="text-align: center;" %)
42 -[[image:attach:Editor - Aufgabenstellung mit Formel_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]//Abb.: LaTeX-Eingabe im ONYX Editor//
54 +[[image:attach:Editor - Aufgabenstellung mit Formel_de.png]]//Abb.: LaTeX-Eingabe im ONYX Editor//
43 43  {{/layout-cell}}
44 44  
45 45  {{layout-cell}}
46 46  (% style="text-align: center;" %)
47 -[[image:attach:Testrun - Aufgabenstellung mit Formel_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]//Abb.: Formeldarstellung in der Testdurchführung//
59 +[[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]]//Abb.: Formeldarstellung in der Testdurchführung//
48 48  {{/layout-cell}}
49 49  {{/layout-section}}
50 50  
51 51  {{layout-section ac:type="single"}}
52 52  {{layout-cell}}
65 +\\
66 +{{/layout-cell}}
67 +{{/layout-section}}
68 +
69 +{{layout-section ac:type="single"}}
70 +{{layout-cell}}
53 53  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:
54 54  
55 55  * (((
... ... @@ -68,9 +68,15 @@
68 68  
69 69  {{layout-section ac:type="single"}}
70 70  {{layout-cell}}
89 +\\
90 +{{/layout-cell}}
91 +{{/layout-section}}
92 +
93 +{{layout-section ac:type="single"}}
94 +{{layout-cell}}
71 71  == Formelerstellung mit dem Formel-Dialog ==
72 72  
73 -Für eine einfache Eingabe steht für den im ONYX Editor integrierten HTML-Editor ein spezielles Formel-Plugin zur Verfügung.
97 +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.
74 74  
75 75  === Eine Formel im Texteditor erstellen ===
76 76  
... ... @@ -81,13 +81,13 @@
81 81  )))|(((
82 82  (% class="content-wrapper" %)
83 83  (((
84 -Klicken Sie im Text-Editor auf die Option Formel [[image:Icon_Formeleditor.png]].
108 +Klicken Sie im Text-Editor auf die Option Formel [[image:attach:ONYX.ONYX Editor.Aufgaben.Formeln einbinden.Onyx Icons und Buttons.WebHome@Icon_Formeleditor.png]].
85 85  )))
86 86  )))|(% colspan="2" %)(% colspan="2" %)
87 87  (((
88 88  (% class="content-wrapper" %)
89 89  (((
90 -[[image:attach:Editor - Formeldialog aufrufen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
114 +[[image:attach:Editor - Formeldialog aufrufen_de.png]]
91 91  )))
92 92  )))
93 93  |(% class="numberingColumn" %)(% class="numberingColumn" %)
... ... @@ -96,7 +96,7 @@
96 96  )))|(((
97 97  (% class="content-wrapper" %)
98 98  (((
99 -Geben Sie im Dialog Ihre Formel in das Textfeld in LaTeX-Notation ein. Unterhalb des Eingabefelds wird Ihnen eine Vorschau der angegebenen Formel angezeigt.
123 +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.
100 100  )))
101 101  
102 102  Fügen Sie die Formel mit Klick auf den Button **Fertig** in den Testinhalt ein.
... ... @@ -104,7 +104,7 @@
104 104  (((
105 105  (% class="content-wrapper" %)
106 106  (((
107 -[[image:attach:Editor - Formeldialog_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
131 +[[image:attach:Editor - Formeldialog_de.png]]
108 108  )))
109 109  )))
110 110  |(% class="numberingColumn" %)(% class="numberingColumn" %)
... ... @@ -121,7 +121,7 @@
121 121  (((
122 122  (% class="content-wrapper" %)
123 123  (((
124 -[[image:attach:Editor - Formeldarstellung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
148 +[[image:attach:Editor - Formeldarstellung_de.png]]
125 125  )))
126 126  )))
127 127  |(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
... ... @@ -134,14 +134,34 @@
134 134  (((
135 135  (% class="content-wrapper" %)
136 136  (((
137 -[[image:attach:Player - Anzeige einer Formel_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
161 +[[image:attach:Player - Anzeige einer Formel_de.png]]
138 138  )))
139 139  )))
164 +
165 +{{info}}
166 +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).
167 +{{/info}}
140 140  {{/layout-cell}}
141 141  {{/layout-section}}
142 142  
143 143  {{layout-section ac:type="single"}}
144 144  {{layout-cell}}
173 +\\
174 +{{/layout-cell}}
175 +{{/layout-section}}
176 +
177 +{{layout-section ac:type="single"}}
178 +{{layout-cell}}{{/layout-cell}}
179 +{{/layout-section}}
180 +
181 +{{layout-section ac:type="single"}}
182 +{{layout-cell}}
183 +\\
184 +{{/layout-cell}}
185 +{{/layout-section}}
186 +
187 +{{layout-section ac:type="single"}}
188 +{{layout-cell}}
145 145  == Formelerstellung mit einem Formeleditor ==
146 146  
147 147  Im Internet finden Sie zahlreiche LaTeX-Formeleditoren, welche eine Unterstützung zur Erstellung von LaTeX-Formeln bieten.
... ... @@ -148,46 +148,60 @@
148 148  
149 149  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.
150 150  
151 -[[image:attach:MyScript_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
195 +[[image:attach:MyScript_de.png]]
152 152  
153 153  (% style="text-align: center;" %)
154 -//Abb.: Formel-Eingabe mit MyScript//
198 +//Abb.: Formel-Eingabe mit MyScript
199 +//
155 155  
156 156  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.
157 157  
203 +\\
158 158  
159 -Mit dem Editor von (% class="confluence-link sv-pt-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.
205 +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.
160 160  {{/layout-cell}}
161 161  {{/layout-section}}
162 162  
209 +{{layout-section ac:type="single"}}
210 +{{layout-cell}}
211 +\\
212 +{{/layout-cell}}
213 +{{/layout-section}}
214 +
163 163  {{layout-section ac:type="two_equal"}}
164 164  {{layout-cell}}
165 165  (% style="text-align: center;" %)
166 -[[image:attach:Matheretter_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]//Abb.: Formel-Eingabe im Matheretter LaTeX-Assisstent//
218 +[[image:attach:Matheretter_de.png]]//Abb.: Formel-Eingabe im Matheretter LaTeX-Assisstent//
167 167  {{/layout-cell}}
168 168  
169 169  {{layout-cell}}
170 170  (% style="text-align: center;" %)
171 -[[image:attach:LaTeX-Formeleditor_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]//Abb.: Formel-Eingabe im Zahlenkern LaTeX-Formeleditor//
223 +[[image:attach:LaTeX-Formeleditor_de.png]]//Abb.: Formel-Eingabe im Zahlenkern LaTeX-Formeleditor//
172 172  {{/layout-cell}}
173 173  {{/layout-section}}
174 174  
175 175  {{layout-section ac:type="single"}}
176 176  {{layout-cell}}
229 +\\
230 +{{/layout-cell}}
231 +{{/layout-section}}
232 +
233 +{{layout-section ac:type="single"}}
234 +{{layout-cell}}
177 177  == Formelbeispiele ==
178 178  
179 -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.
237 +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"]].
180 180  {{/layout-cell}}
181 181  {{/layout-section}}
182 182  
183 183  {{layout-section ac:type="single"}}
184 184  {{layout-cell}}
185 -[[image:attach:Beispiel - Formel in einer Zeile_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="121" width="359"]]
243 +[[image:attach:Beispiel - Formel in einer Zeile_de.png]]
186 186  
187 187  (% style="text-align: center;" %)
188 188  //Abb.: Beispiel für die Formeldarstellung innerhalb einer Zeile//
189 189  
190 -[[image:attach:Beispiel - Formel in eigener Zeile_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="238" width="357"]]
248 +[[image:attach:Beispiel - Formel in eigener Zeile_de.png]]
191 191  
192 192  (% style="text-align: center;" %)
193 193  //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile//
... ... @@ -194,3 +194,258 @@
194 194  {{/layout-cell}}
195 195  {{/layout-section}}
196 196  {{/layout}}
255 +
256 +
257 +
258 +{{layout}}
259 +{{layout-section ac:type="two_right_sidebar"}}
260 +{{layout-cell}}
261 +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.
262 +
263 +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.
264 +
265 +[[image:attach:Beispiel - Formel_de.png]]
266 +{{/layout-cell}}
267 +
268 +{{layout-cell}}
269 +
270 +{{panel title="Content"}}
271 +
272 +
273 +{{toc/}}
274 +
275 +**Related topics**
276 +
277 +* [[LaTeX help: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
278 +* [[MathML help: Official MathML 3.0 specification>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]
279 +* [[Formula presentation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]]
280 +
281 +**External formula editors**
282 +
283 +* [[MyScript Math>>url:https://webdemo.myscript.com/||shape="rect"]]
284 +* [[Matheretter Latex assistant>>url:https://www.matheretter.de/rechner/latex||shape="rect"]]
285 +* [[Zahlenkern Latex formula editor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]]
286 +{{/panel}}
287 +
288 +{{/layout-cell}}
289 +{{/layout-section}}
290 +
291 +{{layout-section ac:type="single"}}
292 +{{layout-cell}}
293 +== Creating formulas with LaTeX ==
294 +
295 +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.
296 +{{/layout-cell}}
297 +{{/layout-section}}
298 +
299 +{{layout-section ac:type="single"}}
300 +{{layout-cell}}
301 +\\
302 +{{/layout-cell}}
303 +{{/layout-section}}
304 +
305 +{{layout-section ac:type="single"}}
306 +{{layout-cell}}
307 +(% class="wrapped" %)
308 +|(((
309 +(% class="content-wrapper" %)
310 +(((
311 +[[image:attach:Editor - Aufgabenstellung mit Formel_de.png]]
312 +
313 +(% style="text-align: center;" %)
314 +//Fig.: LaTeX input in the ONYX Editor//
315 +)))
316 +)))|(((
317 +(% class="content-wrapper" %)
318 +(((
319 +[[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]]
320 +
321 +(% style="text-align: center;" %)
322 +//Fig.: Formula display in a test situation//
323 +)))
324 +)))
325 +{{/layout-cell}}
326 +{{/layout-section}}
327 +
328 +{{layout-section ac:type="single"}}
329 +{{layout-cell}}
330 +\\
331 +{{/layout-cell}}
332 +{{/layout-section}}
333 +
334 +{{layout-section ac:type="single"}}
335 +{{layout-cell}}
336 +In order to display mathematical formulas in LaTeX, you just need to integrate the formula into your text. This can be done as follows:
337 +
338 +* \( Formula \)
339 +* \[ Formula \]
340 +* $$ Formula $$
341 +
342 +The $Formula$ LaTeX syntax is not supported in ONYX.
343 +
344 +{{info}}
345 +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).
346 +{{/info}}
347 +{{/layout-cell}}
348 +{{/layout-section}}
349 +
350 +{{layout-section ac:type="single"}}
351 +{{layout-cell}}
352 +\\
353 +{{/layout-cell}}
354 +{{/layout-section}}
355 +
356 +{{layout-section ac:type="single"}}
357 +{{layout-cell}}
358 +== Creating formulas with the formula dialogue ==
359 +
360 +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.
361 +
362 +=== Create a formula in the text editor ===
363 +
364 +(% class="wrapped" %)
365 +|(% class="numberingColumn" %)(% class="numberingColumn" %)
366 +(((
367 +1
368 +)))|(((
369 +(% class="content-wrapper" %)
370 +(((
371 +Select the formula option [[image:attach:Icon_Formeleditor.png]]in the text editor.
372 +)))
373 +)))|(((
374 +(% class="content-wrapper" %)
375 +(((
376 +[[image:attach:Editor - Formeldialog aufrufen_de.png]]
377 +)))
378 +)))
379 +|(% class="numberingColumn" %)(% class="numberingColumn" %)
380 +(((
381 +2
382 +)))|(% colspan="1" %)(% colspan="1" %)
383 +(((
384 +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.
385 +
386 +Click on **Finish **to insert the formula into the test content.
387 +)))|(% colspan="1" %)(% colspan="1" %)
388 +(((
389 +(% class="content-wrapper" %)
390 +(((
391 +[[image:attach:Editor - Formeldialog_de.png]]
392 +)))
393 +)))
394 +|(% class="numberingColumn" %)(% class="numberingColumn" %)
395 +(((
396 +3
397 +)))|(((
398 +The formula is then displayed in LaTeX notation in the text field.
399 +
400 +If necessary, you can change this default configuration in your ONYX user settings and display a placeholder image instead.
401 +)))|(((
402 +(% class="content-wrapper" %)
403 +(((
404 +[[image:attach:Editor - Formeldarstellung_de.png]]
405 +)))
406 +)))
407 +|(% class="numberingColumn" colspan="1" %)(% class="numberingColumn" colspan="1" %)
408 +(((
409 +4
410 +)))|(% colspan="1" %)(% colspan="1" %)
411 +(((
412 +In the question preview and later in the user view, the formula is displayed the same way as in the formula preview.
413 +)))|(% colspan="1" %)(% colspan="1" %)
414 +(((
415 +(% class="content-wrapper" %)
416 +(((
417 +[[image:attach:Player - Anzeige einer Formel_de.png]]
418 +)))
419 +)))
420 +
421 +{{info}}
422 +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"]].
423 +{{/info}}
424 +{{/layout-cell}}
425 +{{/layout-section}}
426 +
427 +{{layout-section ac:type="single"}}
428 +{{layout-cell}}
429 +\\
430 +{{/layout-cell}}
431 +{{/layout-section}}
432 +
433 +{{layout-section ac:type="single"}}
434 +{{layout-cell}}{{/layout-cell}}
435 +{{/layout-section}}
436 +
437 +{{layout-section ac:type="single"}}
438 +{{layout-cell}}
439 +\\
440 +{{/layout-cell}}
441 +{{/layout-section}}
442 +
443 +{{layout-section ac:type="single"}}
444 +{{layout-cell}}
445 +== Creating formulas with a formula editor ==
446 +
447 +You can find numerous LaTeX formula editors on the internet to assist you in creating LaTeX formulas.
448 +
449 +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.
450 +
451 +(% style="text-align: center;" %)
452 +[[image:attach:MyScript_de.png]]//Fig.: Formula input with MyScript//
453 +
454 +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.
455 +
456 +\\
457 +
458 +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.
459 +{{/layout-cell}}
460 +{{/layout-section}}
461 +
462 +{{layout-section ac:type="single"}}
463 +{{layout-cell}}
464 +\\
465 +{{/layout-cell}}
466 +{{/layout-section}}
467 +
468 +{{layout-section ac:type="two_equal"}}
469 +{{layout-cell}}
470 +[[image:attach:Matheretter_de.png]]
471 +
472 +(% style="text-align: center;" %)
473 +//Fig.: Formula input in the Matheretter LaTeX assistant//
474 +{{/layout-cell}}
475 +
476 +{{layout-cell}}
477 +[[image:attach:LaTeX-Formeleditor_de.png]]
478 +
479 +(% style="text-align: center;" %)
480 +//Fig.: Formula input in the Zahlenkern LaTeX formula editor//
481 +{{/layout-cell}}
482 +{{/layout-section}}
483 +
484 +{{layout-section ac:type="single"}}
485 +{{layout-cell}}
486 +\\
487 +{{/layout-cell}}
488 +{{/layout-section}}
489 +
490 +{{layout-section ac:type="single"}}
491 +{{layout-cell}}
492 +== Formula examples ==
493 +
494 +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"]].
495 +{{/layout-cell}}
496 +{{/layout-section}}
497 +
498 +{{layout-section ac:type="single"}}
499 +{{layout-cell}}
500 +[[image:attach:Beispiel - Formel in einer Zeile_de.png]]//Fig.: Example of an inline formula//
501 +
502 +(% style="text-align: center;" %)
503 +[[image:attach:Beispiel - Formel in eigener Zeile_de.png]]
504 +
505 +(% style="text-align: center;" %)
506 +//Fig.: Example of a formula centred on a separate line//
507 +{{/layout-cell}}
508 +{{/layout-section}}
509 +{{/layout}}
Editor - Formeldarstellung_de.png
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.carina
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,1 +1,1 @@
1 -13.6 KB
1 +9.7 KB
Inhalt
Player - Anzeige einer Formel_de.png
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.carina
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,1 +1,1 @@
1 -4.2 KB
1 +6.9 KB
Inhalt