Wiki-Quellcode von Formeln

Version 208.1 von Carina Enke am 22.01.2019

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5
6
7 (% class="removedPlaceholderWrapper" %)
8
9
10
11
12
13 {{/layout-cell}}
14 {{/layout-section}}
15
16 {{layout-section ac:type="two_right_sidebar"}}
17 {{layout-cell}}
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.
19
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"]].
21
22
23
24 [[image:attach:image2016-10-24 10:18:57.png]]
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]]
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"]]
41
42
43 (% class="confluence-link" %) (%%)
44 {{/panel}}
45 {{/scroll-ignore}}
46
47
48
49
50 {{/layout-cell}}
51 {{/layout-section}}
52
53 {{layout-section ac:type="single"}}
54 {{layout-cell}}
55 == Formelerstellung mit LaTeX ==
56
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.
58
59 |(((
60 [[image:attach:onyx-math1_de.png]]
61
62 (% style="text-align: center;" %)
63 //Abb.: LaTeX-Eingabe im ONYX Editor
64 //
65 )))|(((
66 [[image:attach:onyx-math2_de.png]]
67
68 (% style="text-align: center;" %)
69 //Abb.: Formeldarstellung in der Testdurchführung//
70 )))
71
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:
73
74 * (((
75 \( Formel \)
76 )))
77 * \[ Formel \]
78 * $$ Formel $$
79
80 Die LaTeX-Syntax $Formel$ wird in ONYX nicht unterstützt.
81
82
83
84 {{info}}
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"]].
86 {{/info}}
87
88 == Formelerstellung mit dem Formel-Dialog ==
89
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.
91
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.
98 )))
99
100 Unterhalb des Eingabefeldes wird Ihnen eine Formelvorschau angezeigt.
101
102
103
104 |(((
105 [[image:attach:onyx-math4_de.png]]
106
107 //Abb.: Formel-Dialog des ONYX HTML-Editors//
108 )))|(((
109 (% class="confluence-embedded-file-wrapper confluence-embedded-manual-size confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Formel.png]]
110 )))
111
112
113
114 Möchten Sie bestehende Formel-Inhalte mit dem Formel-Plugin bearbeiten, gehen Sie wie folgt vor:
115
116 1. Klicken Sie auf den Formel-Platzhalter [[image:attach:placeholder_formula.png]] oder markieren Sie die gesamte Formel in LaTeX-Notation.
117 (((
118 (% style="margin-left: 30.0px;" %)
119 [[image:attach:onyx-math6_de.png]]
120
121
122 \\\\\\\\\\\\\\
123 )))
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“.
127
128
129
130 {{info}}
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).
132 {{/info}}
133
134 == Formelerstellung mit einem Formeleditor ==
135
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.
137
138 [[image:attach:image2016-10-12 15:11:25.png]]
139
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.
141
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
156 == Formelbeispiele ==
157
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"]].
159
160 [[image:attach:onyx-math7_de.png]]
161
162 (% style="text-align: center;" %)
163 //Abb.: Beispiel für die Formeldarstellung innerhalb der Zeile//
164
165 [[image:attach:onyx-math8_de.png]]
166
167 (% style="text-align: center;" %)
168 //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile//
169
170
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}}
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.
181
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.
183
184
185
186 [[image:attach:image2016-10-24 10:18:57.png]]
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"]]
199 * [[MathML help: Official specification of MathML 3.0>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]
200 * [[Formula representation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]]
201 * [[Formula editor: Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]]
202 {{/panel}}
203 {{/scroll-ignore}}
204 {{/layout-cell}}
205 {{/layout-section}}
206
207 {{layout-section ac:type="single"}}
208 {{layout-cell}}
209 == Formula creation with LaTeX ==
210
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.
212
213
214
215 |(((
216 [[image:attach:onyx-math1_de.png]]
217
218 (% style="text-align: center;" %)
219 //Fig.: LaTeX input in the ONYX Editor//
220 )))|(((
221 [[image:attach:onyx-math2_de.png]]
222
223 (% style="text-align: center;" %)
224 //Fig.: Formula representation during the test implementation//
225 )))
226
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:
228
229 * \( Formula \)
230 * \[ Formula \]
231 * $$ Formula $$
232
233 The LaTeX syntax $formula$ is not supported in ONYX.
234
235
236
237 {{info}}
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).
239 {{/info}}
240
241 (% style="margin-right: 3.05pt;" %)
242 == Formula creation with the formula dialogue ==
243
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.
245
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 \\
251
252 Below the input field, you will be given a preview of the formula.
253
254 |(((
255 [[image:attach:onyx-math4_de.png]]
256
257 (% style="text-align: center;" %)
258 //Fig.: Formula dialogue of the ONYX HTML Editor//
259 )))|(((
260 [[image:attach:Formel.png]]
261 )))
262
263 To edit already existing formula content with the formula plugin, proceed as follows:
264
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.
269 )))
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".
272
273 \\
274
275 {{info}}
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"]].
277 {{/info}}
278
279 == Formula creation with a formula editor ==
280
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.
282
283 [[image:attach:image2016-10-12 15:11:25.png]]
284
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.
286
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
305 == Formula examples ==
306
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"]].
308
309 (% style="text-align: center;" %)
310 [[image:attach:onyx-math7_de.png]]
311
312 (% style="text-align: center;" %)
313 //Fig.: Example of an inlined formula//
314
315 (% style="text-align: center;" %)
316 [[image:attach:onyx-math8_de.png]]
317
318 (% style="text-align: center;" %)
319 //Fig.: Example of a formula centred on a separate line//
320
321
322 {{/layout-cell}}
323 {{/layout-section}}
324 {{/layout}}
325 {{/sv-translation}}