Wiki-Quellcode von Formeln

Version 215.1 von Carina Enke am 29.01.2019

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5
6
7 {{conditionalcontent 0="Zielgruppe: (BPS)" sv-attr:866DE48701525447C13BC59401CD793F="866DE48701525447C13C469E1E314A59" atlassian-macro-output-type="INLINE"}}{{details}}
8 |=(((
9 Verantwortlicher
10 )))|(((
11
12 )))
13 |=(% colspan="1" %)(% colspan="1" %)
14 (((
15 Status
16 )))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
17 (((
18 {{sv-metadata type="workflow-status"/}}
19
20 {{status colour="Green" title="Fertig"/}}
21 )))
22 |=(% colspan="1" %)(% colspan="1" %)
23 (((
24 Varianten
25 )))|(% colspan="1" %)(% colspan="1" %)
26 (((
27 {{sv-metadata type="variants"/}}
28 )))
29 |=(% colspan="1" %)(% colspan="1" %)
30 (((
31 Attribute
32 )))|(% colspan="1" %)(% colspan="1" %)
33 (((
34 {{sv-metadata type="attributes"/}}
35 )))
36 |=(% colspan="1" %)(% colspan="1" %)
37 (((
38 Pagekey
39 )))|(% colspan="1" %)(% colspan="1" %)
40 (((
41 {{sv-metadata type="pagekey"/}}
42 )))
43 |=(% colspan="1" %)(% colspan="1" %)
44 (((
45 Übersetzung
46 )))|(% colspan="1" %)(% colspan="1" %)
47 (((
48 {{status colour="Green" title="fertig"/}}
49 )))
50 |=(% colspan="1" %)(% colspan="1" %)
51 (((
52 TODOs
53 )))|(% colspan="1" %)(% colspan="1" %)
54 (((
55 (% class="task-list" %)
56 (((
57 {{task reference="/Tasks/Task_1" status="Done"}}
58 carina: MARKETING-143 Versionstypen angepasst
59 Englische Bilder fehlen noch.
60 {{/task}}
61 )))
62 )))
63 {{/details}}{{/conditionalcontent}}
64
65
66 {{/layout-cell}}
67 {{/layout-section}}
68
69 {{layout-section ac:type="two_right_sidebar"}}
70 {{layout-cell}}
71 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.
72
73 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"]].
74
75
76
77 [[image:attach:image2016-10-24 10:18:57.png]]
78 {{/layout-cell}}
79
80 {{layout-cell}}
81 {{scroll-ignore}}
82 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
83
84
85 {{toc/}}
86
87 **Verwandte Themen**(% class="sv-pt-link confluence-link" %)
88
89
90 * (% 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"]]
91 * (% 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"]]
92 * (% class="sv-pt-link confluence-link" %)[[Formeldarstellung: MathJax>>doc:Testen in OPAL]]
93 * (% 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"]]
94
95
96 (% class="confluence-link" %) (%%)
97 {{/panel}}
98 {{/scroll-ignore}}
99
100
101
102
103 {{/layout-cell}}
104 {{/layout-section}}
105
106 {{layout-section ac:type="single"}}
107 {{layout-cell}}
108 == Formelerstellung mit LaTeX ==
109
110 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.
111
112 |(((
113 [[image:attach:onyx-math1_de.png]]
114
115 (% style="text-align: center;" %)
116 //Abb.: LaTeX-Eingabe im ONYX Editor
117 //
118 )))|(((
119 [[image:attach:onyx-math2_de.png]]
120
121 (% style="text-align: center;" %)
122 //Abb.: Formeldarstellung in der Testdurchführung//
123 )))
124
125 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:
126
127 * (((
128 \( Formel \)
129 )))
130 * \[ Formel \]
131 * $$ Formel $$
132
133 Die LaTeX-Syntax $Formel$ wird in ONYX nicht unterstützt.
134
135
136
137 {{info}}
138 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"]].
139 {{/info}}
140
141 == Formelerstellung mit dem Formel-Dialog ==
142
143 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.
144
145 1. Klicken Sie im Text-Editor auf die Option Formel [[image:attach:onyx-math3_de.png]].
146 1. Geben Sie im Dialog Ihre Formel in das Textfeld in MathML- oder LaTeX -Notation ein.
147 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.
148 1. (((
149 (% style="text-align: left;" %)
150 Fügen Sie die Formel mit Klick auf den Button „Fertig“ in den Testinhalt ein.
151 )))
152
153 Unterhalb des Eingabefeldes wird Ihnen eine Formelvorschau angezeigt.
154
155
156
157 |(((
158 [[image:attach:onyx-math4_de.png]]
159
160 //Abb.: Formel-Dialog des ONYX HTML-Editors//
161 )))|(((
162 (% class="confluence-embedded-file-wrapper confluence-embedded-manual-size confluence-embedded-file-wrapper confluence-embedded-manual-size" %)[[image:attach:Formel.png]]
163 )))
164
165
166
167 Möchten Sie bestehende Formel-Inhalte mit dem Formel-Plugin bearbeiten, gehen Sie wie folgt vor:
168
169 1. Klicken Sie auf den Formel-Platzhalter [[image:attach:placeholder_formula.png]] oder markieren Sie die gesamte Formel in LaTeX-Notation.
170 (((
171 (% style="margin-left: 30.0px;" %)
172 [[image:attach:onyx-math6_de.png]]
173
174
175 \\\\\\\\\\\\\\
176 )))
177 1. Klicken Sie im Text-Editor auf die Option Formel [[image:attach:onyx-math3_de.png]].
178 1. Die Formel öffnet sich im Formel-Dialog und Sie können die Formel im Textfeld bearbeiten.
179 1. Bestätigen Sie Ihre Änderung mit Klick auf den Button „Fertig“.
180
181
182
183 {{info}}
184 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).
185 {{/info}}
186
187 == Formelerstellung mit einem Formeleditor ==
188
189 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.
190
191 [[image:attach:image2016-10-12 15:11:25.png]]
192
193 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.
194
195 |(((
196 [[image:attach:image2016-10-12 15:14:14.png]]
197
198 //Abb.: ONYX Editor Formel-Dialog//
199 )))|(((
200 [[image:attach:image2016-10-12 15:14:51.png]]
201
202 //Abb.: ONYX Editor HTML-Editor//
203
204 [[image:attach:image2016-10-12 15:17:21.png]]
205
206 //Abb.: ONYX Testdurchführung Formel-Anzeige//
207 )))
208
209 == Formelbeispiele ==
210
211 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"]].
212
213 [[image:attach:onyx-math7_de.png]]
214
215 (% style="text-align: center;" %)
216 //Abb.: Beispiel für die Formeldarstellung innerhalb der Zeile//
217
218 [[image:attach:onyx-math8_de.png]]
219
220 (% style="text-align: center;" %)
221 //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile//
222
223
224 {{/layout-cell}}
225 {{/layout-section}}
226 {{/layout}}
227 {{/sv-translation}}
228
229 {{sv-translation language="en"}}
230 {{layout}}
231 {{layout-section ac:type="two_right_sidebar"}}
232 {{layout-cell}}
233 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.
234
235 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.
236
237
238
239 [[image:attach:image2016-10-24 10:18:57.png]]
240 {{/layout-cell}}
241
242 {{layout-cell}}
243 {{scroll-ignore}}
244 {{panel title="Content"}}
245
246
247 {{toc/}}
248
249 **Related topics**
250
251 * [[LaTeX help: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]]
252 * [[MathML help: Official specification of MathML 3.0>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]
253 * [[Formula representation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]]
254 * [[Formula editor: Daum Equation Editor>>url:http://s1.daumcdn.net/editor/fp/service_nc/pencil/Pencil_chromestore.html||shape="rect"]]
255 {{/panel}}
256 {{/scroll-ignore}}
257 {{/layout-cell}}
258 {{/layout-section}}
259
260 {{layout-section ac:type="single"}}
261 {{layout-cell}}
262 == Formula creation with LaTeX ==
263
264 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.
265
266
267
268 |(((
269 [[image:attach:onyx-math1_de.png]]
270
271 (% style="text-align: center;" %)
272 //Fig.: LaTeX input in the ONYX Editor//
273 )))|(((
274 [[image:attach:onyx-math2_de.png]]
275
276 (% style="text-align: center;" %)
277 //Fig.: Formula representation during the test implementation//
278 )))
279
280 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:
281
282 * \( Formula \)
283 * \[ Formula \]
284 * $$ Formula $$
285
286 The LaTeX syntax $formula$ is not supported in ONYX.
287
288
289
290 {{info}}
291 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).
292 {{/info}}
293
294 (% style="margin-right: 3.05pt;" %)
295 == Formula creation with the formula dialogue ==
296
297 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.
298
299 1. Click on the option formula [[image:attach:onyx-math3_de.png]] in the text editor.
300 1. In the dialogue, enter your formula into the text field in MathML or LaTeX notation.
301 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]].
302 1. Add the formula to the test content by clicking on "Finish". 
303 \\
304
305 Below the input field, you will be given a preview of the formula.
306
307 |(((
308 [[image:attach:onyx-math4_de.png]]
309
310 (% style="text-align: center;" %)
311 //Fig.: Formula dialogue of the ONYX HTML Editor//
312 )))|(((
313 [[image:attach:Formel.png]]
314 )))
315
316 To edit already existing formula content with the formula plugin, proceed as follows:
317
318 1. Click on the formula placeholder [[image:attach:placeholder_formula.png]] or mark the entire formula in LaTeX notation.
319 \\[[image:attach:onyx-math6_de.png]]
320 1. (((
321 Click on the option formula [[image:attach:onyx-math3_de.png]] in the text editor.
322 )))
323 1. The formula opens in the formula dialogue. You can edit the formula in the text field.
324 1. Confirm your changes with a click on "Finished".
325
326 \\
327
328 {{info}}
329 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"]].
330 {{/info}}
331
332 == Formula creation with a formula editor ==
333
334 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.
335
336 [[image:attach:image2016-10-12 15:11:25.png]]
337
338 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.
339
340 |(((
341 [[image:attach:image2016-10-12 15:14:14.png]]
342
343 (% style="text-align: center;" %)
344 //Fig.: ONYX Editor formula dialogue//
345 )))|(((
346 [[image:attach:image2016-10-12 15:14:51.png]]
347
348 (% style="text-align: center;" %)
349 //Fig.: ONYX Editor HTML Editor//
350
351 (% style="text-align: center;" %)
352 [[image:attach:image2016-10-12 15:17:21.png]]
353
354 (% style="text-align: center;" %)
355 //Fig.: ONYX test implementation formula display//
356 )))
357
358 == Formula examples ==
359
360 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"]].
361
362 (% style="text-align: center;" %)
363 [[image:attach:onyx-math7_de.png]]
364
365 (% style="text-align: center;" %)
366 //Fig.: Example of an inlined formula//
367
368 (% style="text-align: center;" %)
369 [[image:attach:onyx-math8_de.png]]
370
371 (% style="text-align: center;" %)
372 //Fig.: Example of a formula centred on a separate line//
373
374
375 {{/layout-cell}}
376 {{/layout-section}}
377 {{/layout}}
378 {{/sv-translation}}