Wiki-Quellcode von Formeln

Version 201.1 von Carina Enke am 27.02.2019

Verstecke letzte Bearbeiter
Carina Enke 92.1 1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
Carina Enke 196.1 5
6
7 (% class="removedPlaceholderWrapper" %)
8
9
Carina Enke 190.1 10
Carina Enke 136.1 11
Carina Enke 190.1 12
Carina Enke 92.1 13 {{/layout-cell}}
14 {{/layout-section}}
15
16 {{layout-section ac:type="two_right_sidebar"}}
17 {{layout-cell}}
Carina Enke 140.1 18 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.
Carina Enke 92.1 19
Carina Enke 188.1 20 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 der [[Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]].
Carina Enke 92.1 21
Carina Enke 190.1 22
Carina Enke 188.1 23
24 [[image:attach:image2016-10-24 10:18:57.png]]
Carina Enke 92.1 25 {{/layout-cell}}
26
27 {{layout-cell}}
28 {{scroll-ignore}}
29 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
30
31
32 {{toc/}}
33
34 **Verwandte Themen**(% class="sv-pt-link confluence-link" %)
35
36
37 * (% 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"]]
38 * (% 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"]]
39 * (% class="sv-pt-link confluence-link" %)[[Formeldarstellung: MathJax>>doc:Testen in OPAL]]
Carina Enke 188.1 40 * (% class="sv-pt-link confluence-link" %)[[(% class="sv-pt-link confluence-link sv-pt-link confluence-link" %) >>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]](%%)[[Formeleditor: Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]]
Carina Enke 92.1 41
Carina Enke 188.1 42
Carina Enke 190.1 43 (% class="confluence-link" %) (%%)
Carina Enke 92.1 44 {{/panel}}
45 {{/scroll-ignore}}
Carina Enke 188.1 46
Carina Enke 190.1 47
Carina Enke 188.1 48
Carina Enke 190.1 49
Carina Enke 92.1 50 {{/layout-cell}}
51 {{/layout-section}}
52
53 {{layout-section ac:type="single"}}
54 {{layout-cell}}
55 == Formelerstellung mit LaTeX ==
56
Carina Enke 188.1 57 Der ONYX Editor bietet für alle Autoreneingaben eine LaTeX Unterstützung. Über den im ONYX Editor integrierten HTML Editor können Formeln mit Hilfe der Auszeichnungssprache LaTeX in alle Aufgabenbereiche: der Aufgabenstellung, den Antwortalternativen oder im 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 automatisch in eine professionell formatierte Formel konvertiert.
Carina Enke 92.1 58
Carina Enke 146.1 59 |(((
Carina Enke 188.1 60 [[image:attach:onyx-math1_de.png]]
Carina Enke 146.1 61
Carina Enke 92.1 62 (% style="text-align: center;" %)
Carina Enke 146.1 63 //Abb.: LaTeX-Eingabe im ONYX Editor
64 //
65 )))|(((
Carina Enke 188.1 66 [[image:attach:onyx-math2_de.png]]
Carina Enke 92.1 67
68 (% style="text-align: center;" %)
Carina Enke 146.1 69 //Abb.: Formeldarstellung in der Testdurchführung//
70 )))
Carina Enke 92.1 71
Carina Enke 140.1 72 Um Mathematische Formeln in LaTeX darzustellen, muss man lediglich die Formel in seinen Text integrieren. Eine Formel kann wie folgt in den Text integriert werden:
Carina Enke 92.1 73
74 * (((
75 \( Formel \)
76 )))
77 * \[ Formel \]
78 * $$ Formel $$
79
80 Die LaTeX-Syntax $Formel$ wird in ONYX nicht unterstützt.
81
Carina Enke 190.1 82
Carina Enke 188.1 83
Carina Enke 92.1 84 {{info}}
Carina Enke 188.1 85 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"]].
Carina Enke 92.1 86 {{/info}}
87
88 == Formelerstellung mit dem Formel-Dialog ==
89
Carina Enke 188.1 90 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 eine spezielles Formel-Plugin zur Verfügung.
Carina Enke 92.1 91
Carina Enke 188.1 92 1. Klicken Sie im Text-Editor auf die Option Formel [[image:attach:onyx-math3_de.png]].
93 1. Geben Sie im Dialog Ihre Formel in das Textfeld in MathML- oder LaTeX -Notation ein.
94 1. Für LaTeX-Eingaben können Sie wählen, ob die Formel in LaTeX-Notation oder als Platzhalter [[image:attach:placeholder_formula.png]] in den Text-Editor eingefügt werden soll.
95 1. (((
96 (% style="text-align: left;" %)
97 Fügen Sie die Formel mit Klick auf den Button „Fertig“ in den Testinhalt ein.
Carina Enke 92.1 98 )))
Carina Enke 138.1 99
Carina Enke 188.1 100 Unterhalb des Eingabefeldes wird Ihnen eine Formelvorschau angezeigt.
Carina Enke 138.1 101
Carina Enke 190.1 102
Carina Enke 188.1 103
104 |(((
105 [[image:attach:onyx-math4_de.png]]
106
107 //Abb.: Formel-Dialog des ONYX HTML-Editors//
Carina Enke 92.1 108 )))|(((
Carina Enke 188.1 109 (% class="confluence-embedded-file-wrapper confluence-embedded-manual-size confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Formel.png]]
Carina Enke 92.1 110 )))
Carina Enke 138.1 111
Carina Enke 190.1 112
Carina Enke 138.1 113
Carina Enke 140.1 114 Möchten Sie bestehende Formel-Inhalte mit dem Formel-Plugin bearbeiten, gehen Sie wie folgt vor:
Carina Enke 138.1 115
Carina Enke 188.1 116 1. Klicken Sie auf den Formel-Platzhalter [[image:attach:placeholder_formula.png]] oder markieren Sie die gesamte Formel in LaTeX-Notation.
Carina Enke 146.1 117 (((
Carina Enke 188.1 118 (% style="margin-left: 30.0px;" %)
119 [[image:attach:onyx-math6_de.png]]
120
121
122 \\\\\\\\\\\\\\
Carina Enke 138.1 123 )))
Carina Enke 188.1 124 1. Klicken Sie im Text-Editor auf die Option Formel [[image:attach:onyx-math3_de.png]].
125 1. Die Formel öffnet sich im Formel-Dialog und Sie können die Formel im Textfeld bearbeiten.
126 1. Bestätigen Sie Ihre Änderung mit Klick auf den Button „Fertig“.
Carina Enke 92.1 127
Carina Enke 190.1 128
Carina Enke 146.1 129
Carina Enke 92.1 130 {{info}}
Carina Enke 140.1 131 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"]] (englisch).
Carina Enke 92.1 132 {{/info}}
133
134 == Formelerstellung mit einem Formeleditor ==
135
Carina Enke 188.1 136 Im Internet finden Sie zahlreiche LaTeX-Formeleditoren, welche eine Unterstützung zur Erstellung von LaTeX-Formeln bieten. Eine einfache Bedienung trotz umfangreicher Funktionalität bietet der [[Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]] . Hierbei handelt es sich um eine Web-Applikation, welche auch als Browser-Plugin für Google-Chrome zur Verfügung steht.
Carina Enke 92.1 137
Carina Enke 188.1 138 [[image:attach:image2016-10-12 15:11:25.png]]
Carina Enke 92.1 139
Carina Enke 146.1 140 Die Bedienung des Daum Formeleditors ist ähnlich der Formeleditoren von Textprogrammen. Mathematische Formeln können durch vorgefertigte, grafische Formelsymbole zusammengestellt und angepasst werden. Der Formeleditor übersetzt die dargestellte Formel in LaTeX-Schreibweise. Die LaTeX-Notation können Sie markieren, kopieren und anschließend in die ONYX HTML-Eingabefelder einfügen.
Carina Enke 92.1 141
Carina Enke 188.1 142 |(((
143 [[image:attach:image2016-10-12 15:14:14.png]]
144
145 //Abb.: ONYX Editor Formel-Dialog//
146 )))|(((
147 [[image:attach:image2016-10-12 15:14:51.png]]
148
149 //Abb.: ONYX Editor HTML-Editor//
150
151 [[image:attach:image2016-10-12 15:17:21.png]]
152
153 //Abb.: ONYX Testdurchführung Formel-Anzeige//
154 )))
155
Carina Enke 92.1 156 == Formelbeispiele ==
157
Carina Enke 146.1 158 ONYX verwendet das Framework MathJax zur Formeldarstellung. Auf den Demo-Seiten von MathJax finden Sie verschiedene [[Beispiele zur Formeleingabe>>url:http://www.mathjax.org/demos/||title="Zur MathJax Demo-Seite" shape="rect"]].
Carina Enke 92.1 159
Carina Enke 188.1 160 [[image:attach:onyx-math7_de.png]]
Carina Enke 92.1 161
162 (% style="text-align: center;" %)
Carina Enke 188.1 163 //Abb.: Beispiel für die Formeldarstellung innerhalb der Zeile//
Carina Enke 92.1 164
Carina Enke 188.1 165 [[image:attach:onyx-math8_de.png]]
Carina Enke 92.1 166
167 (% style="text-align: center;" %)
168 //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile//
Carina Enke 188.1 169
Carina Enke 190.1 170
Carina Enke 92.1 171 {{/layout-cell}}
172 {{/layout-section}}
173 {{/layout}}
174 {{/sv-translation}}
175
176 {{sv-translation language="en"}}
177 {{layout}}
178 {{layout-section ac:type="two_right_sidebar"}}
179 {{layout-cell}}
Carina Enke 188.1 180 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 representation of your formulas in all browser views.
Carina Enke 92.1 181
Carina Enke 188.1 182 For the easy compilation and automatic conversion of your formulas into the LaTeX markup language, several LaTeX formula editors can be downloaded from the internet. The [[Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]], for example, stands out due to its simplicity and extensive functionality.
Carina Enke 92.1 183
Carina Enke 188.1 184
185
186 [[image:attach:image2016-10-24 10:18:57.png]]
Carina Enke 92.1 187 {{/layout-cell}}
188
189 {{layout-cell}}
190 {{scroll-ignore}}
191 {{panel title="Content"}}
192
193
194 {{toc/}}
195
196 **Related topics**
197
198 * [[LaTeX help: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
Carina Enke 140.1 199 * [[MathML help: Official specification of MathML 3.0>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]
Carina Enke 188.1 200 * [[Formula representation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]]
Carina Enke 140.1 201 * [[Formula editor: Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]]
Carina Enke 92.1 202 {{/panel}}
203 {{/scroll-ignore}}
204 {{/layout-cell}}
205 {{/layout-section}}
206
207 {{layout-section ac:type="single"}}
208 {{layout-cell}}
Carina Enke 140.1 209 == Formula creation with LaTeX ==
Carina Enke 92.1 210
Carina Enke 188.1 211 The ONYX Editor provides LaTeX support for all author inputs. Via the HTML Editor, which is a part of the ONYX Editor, you can integrate formulas into all task areas, i.e. task texts, alternative answers, or feedback, using the LaTeX markup language. The formulas are represented with the established [[MathJax Framework>>url:http://www.mathjax.org/||shape="rect"]]. Your formula is automatically converted to a professionally formatted formula.
Carina Enke 92.1 212
Carina Enke 188.1 213
Carina Enke 92.1 214
215 |(((
Carina Enke 188.1 216 [[image:attach:onyx-math1_de.png]]
Carina Enke 92.1 217
218 (% style="text-align: center;" %)
219 //Fig.: LaTeX input in the ONYX Editor//
220 )))|(((
Carina Enke 188.1 221 [[image:attach:onyx-math2_de.png]]
Carina Enke 92.1 222
223 (% style="text-align: center;" %)
Carina Enke 188.1 224 //Fig.: Formula representation during the test implementation//
Carina Enke 92.1 225 )))
226
Carina Enke 188.1 227 In order to represent mathematical formulas in LaTeX, you need to integrate the formula into your text. A formula can be integrated into a text as follows:
Carina Enke 92.1 228
229 * \( Formula \)
230 * \[ Formula \]
231 * $$ Formula $$
232
Carina Enke 136.1 233 The LaTeX syntax $formula$ is not supported in ONYX.
Carina Enke 92.1 234
Carina Enke 188.1 235
236
Carina Enke 92.1 237 {{info}}
Carina Enke 140.1 238 On the internet, you will find extensive material for generating formulas with LaTeX. More detailed examples can, for example, be found in the [[Wikibook: LaTeX-Kompendium für Mathematiker>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]] (German).
Carina Enke 92.1 239 {{/info}}
240
Carina Enke 140.1 241 (% style="margin-right: 3.05pt;" %)
242 == Formula creation with the formula dialogue ==
Carina Enke 92.1 243
Carina Enke 188.1 244 In addition to the markup language LaTeX, mathematical formulas and complex expressions can also be integrated by means of the Mathematical Markup Language (MathML). For simple input, a special formula plugin is available for the HTML Editor.
Carina Enke 92.1 245
Carina Enke 188.1 246 1. Click on the option formula [[image:attach:onyx-math3_de.png]] in the text editor.
247 1. In the dialogue, enter your formula into the text field in MathML or LaTeX notation.
248 1. For LaTeX input, you can select whether the formula should be inserted into the text editor in LaTeX notation or as a placeholder [[image:attach:placeholder_formula.png]].
249 1. Add the formula to the test content by clicking on "Finish". 
250 \\
Carina Enke 92.1 251
Carina Enke 136.1 252 Below the input field, you will be given a preview of the formula.
253
Carina Enke 188.1 254 |(((
255 [[image:attach:onyx-math4_de.png]]
256
257 (% style="text-align: center;" %)
258 //Fig.: Formula dialogue of the ONYX HTML Editor//
Carina Enke 140.1 259 )))|(((
Carina Enke 188.1 260 [[image:attach:Formel.png]]
Carina Enke 92.1 261 )))
Carina Enke 136.1 262
Carina Enke 188.1 263 To edit already existing formula content with the formula plugin, proceed as follows:
Carina Enke 136.1 264
Carina Enke 188.1 265 1. Click on the formula placeholder [[image:attach:placeholder_formula.png]] or mark the entire formula in LaTeX notation.
266 \\[[image:attach:onyx-math6_de.png]]
267 1. (((
268 Click on the option formula [[image:attach:onyx-math3_de.png]] in the text editor.
Carina Enke 136.1 269 )))
Carina Enke 188.1 270 1. The formula opens in the formula dialogue. You can edit the formula in the text field.
271 1. Confirm your changes with a click on "Finished".
Carina Enke 92.1 272
Carina Enke 140.1 273 \\
274
Carina Enke 92.1 275 {{info}}
Carina Enke 188.1 276 On the internet, you will find extensive material for generating formulas with MathML. A detailed description is offered by the [[Official specification of MathML 3.0>>url:https://www.w3.org/TR/MathML3/||shape="rect"]].
Carina Enke 92.1 277 {{/info}}
278
Carina Enke 140.1 279 == Formula creation with a formula editor ==
Carina Enke 92.1 280
Carina Enke 188.1 281 On the Internet, you can find numerous LaTeX formula editors which provide support for the creation of LaTeX formulas. The [[Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]], for example, stands out due to its simplicity and extensive functionality. It comes as a web application, which is also available as a browser plugin for Google Chrome.
Carina Enke 92.1 282
Carina Enke 188.1 283 [[image:attach:image2016-10-12 15:11:25.png]]
Carina Enke 92.1 284
Carina Enke 188.1 285 The operation of the Daum Equation Editor is similar to the formula editors of text programmes. Mathematical formulas can be compiled and adapted thanks to ready-to-use, graphical formula symbols. The formula editor translates the displayed formula into LaTeX notation. You can then select the LaTeX notation, copy it, and paste it to the ONYX HTML input fields.
Carina Enke 92.1 286
Carina Enke 188.1 287 |(((
288 [[image:attach:image2016-10-12 15:14:14.png]]
289
290 (% style="text-align: center;" %)
291 //Fig.: ONYX Editor formula dialogue//
292 )))|(((
293 [[image:attach:image2016-10-12 15:14:51.png]]
294
295 (% style="text-align: center;" %)
296 //Fig.: ONYX Editor HTML Editor//
297
298 (% style="text-align: center;" %)
299 [[image:attach:image2016-10-12 15:17:21.png]]
300
301 (% style="text-align: center;" %)
302 //Fig.: ONYX test implementation formula display//
303 )))
304
Carina Enke 140.1 305 == Formula examples ==
Carina Enke 92.1 306
Carina Enke 140.1 307 ONYX uses the MathJax framework to display formulas. On the demo pages of MathJax, you will find several [[examples on how to insert formulas>>url:https://www.mathjax.org/||shape="rect"]].
Carina Enke 92.1 308
309 (% style="text-align: center;" %)
Carina Enke 188.1 310 [[image:attach:onyx-math7_de.png]]
Carina Enke 92.1 311
312 (% style="text-align: center;" %)
Carina Enke 140.1 313 //Fig.: Example of an inlined formula//
Carina Enke 92.1 314
315 (% style="text-align: center;" %)
Carina Enke 188.1 316 [[image:attach:onyx-math8_de.png]]
Carina Enke 92.1 317
318 (% style="text-align: center;" %)
319 //Fig.: Example of a formula centred on a separate line//
Carina Enke 188.1 320
321
Carina Enke 92.1 322 {{/layout-cell}}
323 {{/layout-section}}
324 {{/layout}}
325 {{/sv-translation}}