Wiki-Quellcode von Formeln einbinden
Version 139.1 von Carina Enke am 24.09.2021
Zeige letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
1 | {{sv-translation language="de"}} | ||
2 | {{layout}} | ||
3 | {{layout-section ac:type="single"}} | ||
4 | {{layout-cell}} | ||
5 | \\ | ||
6 | |||
7 | |||
8 | |||
9 | {{/layout-cell}} | ||
10 | {{/layout-section}} | ||
11 | |||
12 | {{layout-section ac:type="two_right_sidebar"}} | ||
13 | {{layout-cell}} | ||
14 | 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. | ||
15 | |||
16 | 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"]](%%). | ||
17 | |||
18 | [[image:attach:Beispiel - Formel_de.png]] | ||
19 | {{/layout-cell}} | ||
20 | |||
21 | {{layout-cell}} | ||
22 | {{scroll-ignore}} | ||
23 | {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} | ||
24 | |||
25 | |||
26 | {{toc/}} | ||
27 | |||
28 | **Verwandte Themen**(% class="sv-pt-link confluence-link" %) | ||
29 | |||
30 | |||
31 | * (% 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"]] | ||
32 | * (% 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"]] | ||
33 | * (% class="sv-pt-link confluence-link" %)[[Formeldarstellung: MathJax>>doc:Testen in OPAL]] | ||
34 | |||
35 | (% class="sv-pt-link confluence-link" %)**Externe Formeleditoren** | ||
36 | |||
37 | * (% class="sv-pt-link confluence-link" %)[[MyScript Math>>url:https://webdemo.myscript.com/views/||shape="rect"]] | ||
38 | * (% class="sv-pt-link confluence-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]] | ||
39 | * (% class="sv-pt-link confluence-link" %)[[Zahlenkern LaTeX-Formeleditor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]] | ||
40 | {{/panel}} | ||
41 | {{/scroll-ignore}} | ||
42 | {{/layout-cell}} | ||
43 | {{/layout-section}} | ||
44 | |||
45 | {{layout-section ac:type="single"}} | ||
46 | {{layout-cell}} | ||
47 | == Formelerstellung mit LaTeX == | ||
48 | |||
49 | 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: 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 dabei automatisch in eine professionell formatierte Formel konvertiert. | ||
50 | {{/layout-cell}} | ||
51 | {{/layout-section}} | ||
52 | |||
53 | {{layout-section ac:type="single"}} | ||
54 | {{layout-cell}} | ||
55 | \\ | ||
56 | {{/layout-cell}} | ||
57 | {{/layout-section}} | ||
58 | |||
59 | {{layout-section ac:type="two_equal"}} | ||
60 | {{layout-cell}} | ||
61 | (% style="text-align: center;" %) | ||
62 | [[image:attach:Editor - Aufgabenstellung mit Formel_de.png]]//Abb.: LaTeX-Eingabe im ONYX Editor// | ||
63 | {{/layout-cell}} | ||
64 | |||
65 | {{layout-cell}} | ||
66 | (% style="text-align: center;" %) | ||
67 | [[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]]//Abb.: Formeldarstellung in der Testdurchführung// | ||
68 | {{/layout-cell}} | ||
69 | {{/layout-section}} | ||
70 | |||
71 | {{layout-section ac:type="single"}} | ||
72 | {{layout-cell}} | ||
73 | \\ | ||
74 | {{/layout-cell}} | ||
75 | {{/layout-section}} | ||
76 | |||
77 | {{layout-section ac:type="single"}} | ||
78 | {{layout-cell}} | ||
79 | Um Mathematische Formeln in LaTeX darzustellen, muss man lediglich die Formel in seinen Text integrieren. Eine Formel kann wie folgt in einen Text integriert werden: | ||
80 | |||
81 | * ((( | ||
82 | \( Formel \) | ||
83 | ))) | ||
84 | * \[ Formel \] | ||
85 | * $$ Formel $$ | ||
86 | |||
87 | Die LaTeX-Syntax $Formel$ wird in ONYX nicht unterstützt. | ||
88 | |||
89 | {{info}} | ||
90 | 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"]]. | ||
91 | {{/info}} | ||
92 | {{/layout-cell}} | ||
93 | {{/layout-section}} | ||
94 | |||
95 | {{layout-section ac:type="single"}} | ||
96 | {{layout-cell}} | ||
97 | \\ | ||
98 | {{/layout-cell}} | ||
99 | {{/layout-section}} | ||
100 | |||
101 | {{layout-section ac:type="single"}} | ||
102 | {{layout-cell}} | ||
103 | == Formelerstellung mit dem Formel-Dialog == | ||
104 | |||
105 | 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. | ||
106 | |||
107 | === Eine Formel im Texteditor erstellen === | ||
108 | |||
109 | (% class="wrapped" %) | ||
110 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
111 | ((( | ||
112 | 1 | ||
113 | )))|((( | ||
114 | (% class="content-wrapper" %) | ||
115 | ((( | ||
116 | Klicken Sie im Text-Editor auf die Option Formel [[image:attach:Onyx Icons und Buttons@Icon_Formeleditor.png]]. | ||
117 | ))) | ||
118 | )))|(% colspan="2" %)(% colspan="2" %) | ||
119 | ((( | ||
120 | (% class="content-wrapper" %) | ||
121 | ((( | ||
122 | [[image:attach:Editor - Formeldialog aufrufen_de.png]] | ||
123 | ))) | ||
124 | ))) | ||
125 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
126 | ((( | ||
127 | 2 | ||
128 | )))|((( | ||
129 | (% class="content-wrapper" %) | ||
130 | ((( | ||
131 | Geben Sie im Dialog Ihre Formel in das Textfeld in MathML- oder LaTeX-Notation ein. | ||
132 | |||
133 | Unterhalb des Eingabefelds wird Ihnen eine Formelvorschau der angegebenen Formel angezeigt. | ||
134 | |||
135 | Für LaTeX-Eingaben können Sie per Radiobutton wählen, ob die Formel in LaTeX-Notation oder als Platzhalter in den Text-Editor eingefügt werden soll. | ||
136 | ))) | ||
137 | )))|(% colspan="2" %)(% colspan="2" %) | ||
138 | ((( | ||
139 | (% class="content-wrapper" %) | ||
140 | ((( | ||
141 | [[image:attach:Editor - Formeldialog_de.png]] | ||
142 | ))) | ||
143 | ))) | ||
144 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
145 | ((( | ||
146 | 3 | ||
147 | )))|((( | ||
148 | (% class="content-wrapper" %) | ||
149 | ((( | ||
150 | Fügen Sie die Formel mit Klick auf den Button **Fertig** in den Testinhalt ein. | ||
151 | ))) | ||
152 | )))|(% colspan="2" %)(% colspan="2" %) | ||
153 | ((( | ||
154 | (% class="content-wrapper" %) | ||
155 | ((( | ||
156 | [[image:attach:Editor - Formeldarstellung_de.png]] | ||
157 | ))) | ||
158 | ))) | ||
159 | {{/layout-cell}} | ||
160 | {{/layout-section}} | ||
161 | |||
162 | {{layout-section ac:type="single"}} | ||
163 | {{layout-cell}} | ||
164 | \\ | ||
165 | {{/layout-cell}} | ||
166 | {{/layout-section}} | ||
167 | |||
168 | {{layout-section ac:type="single"}} | ||
169 | {{layout-cell}} | ||
170 | === Bearbeiten einer bestehenden Formel === | ||
171 | |||
172 | Möchten Sie bestehende Formel-Inhalte mit dem Formel-Plugin bearbeiten, dann gehen Sie wie folgt vor: | ||
173 | |||
174 | (% class="wrapped" %) | ||
175 | |((( | ||
176 | 1 | ||
177 | )))|((( | ||
178 | (% class="content-wrapper" %) | ||
179 | ((( | ||
180 | Klicken Sie auf den Formel-Platzhalter [[image:attach:Icon_Formel.png]] oder markieren Sie die gesamte Formel in LaTeX-Notation. | ||
181 | ))) | ||
182 | )))|(% rowspan="2" %)(% rowspan="2" %) | ||
183 | ((( | ||
184 | (% class="content-wrapper" %) | ||
185 | ((( | ||
186 | [[image:attach:Editor - Formel bearbeiten_de.png]] | ||
187 | ))) | ||
188 | ))) | ||
189 | |((( | ||
190 | 2 | ||
191 | )))|((( | ||
192 | (% class="content-wrapper" %) | ||
193 | ((( | ||
194 | Klicken Sie im Text-Editor auf die Option Formel [[image:attach:Icon_Formeleditor.png]]. | ||
195 | ))) | ||
196 | ))) | ||
197 | |((( | ||
198 | 3 | ||
199 | )))|((( | ||
200 | Die Formel öffnet sich im Formel-Dialog und Sie können die Formel im Textfeld bearbeiten. | ||
201 | )))|(% rowspan="2" %)(% rowspan="2" %) | ||
202 | ((( | ||
203 | (% class="content-wrapper" %) | ||
204 | ((( | ||
205 | [[image:attach:Editor - Dialog Formel eingeben_de.png]] | ||
206 | ))) | ||
207 | ))) | ||
208 | |((( | ||
209 | 4 | ||
210 | )))|(% colspan="1" %)(% colspan="1" %) | ||
211 | ((( | ||
212 | Bestätigen Sie Ihre Änderung mit Klick auf den Button **Fertig** am Ende des Dialogs. | ||
213 | ))) | ||
214 | |||
215 | {{info}} | ||
216 | 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). | ||
217 | {{/info}} | ||
218 | {{/layout-cell}} | ||
219 | {{/layout-section}} | ||
220 | |||
221 | {{layout-section ac:type="single"}} | ||
222 | {{layout-cell}} | ||
223 | \\ | ||
224 | {{/layout-cell}} | ||
225 | {{/layout-section}} | ||
226 | |||
227 | {{layout-section ac:type="single"}} | ||
228 | {{layout-cell}} | ||
229 | == Formelerstellung mit einem Formeleditor == | ||
230 | |||
231 | Im Internet finden Sie zahlreiche LaTeX-Formeleditoren, welche eine Unterstützung zur Erstellung von LaTeX-Formeln bieten. | ||
232 | |||
233 | 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. | ||
234 | |||
235 | [[image:attach:MyScript_de.png]] | ||
236 | |||
237 | (% style="text-align: center;" %) | ||
238 | //Abb.: Formel-Eingabe mit MyScript | ||
239 | // | ||
240 | |||
241 | 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. | ||
242 | |||
243 | \\ | ||
244 | |||
245 | Mit den Editoren von (% class="sv-pt-link confluence-link" %)[[Matheretter LaTeX-Assisstent>>url:https://www.matheretter.de/rechner/latex||shape="rect"]] oder der [[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. | ||
246 | {{/layout-cell}} | ||
247 | {{/layout-section}} | ||
248 | |||
249 | {{layout-section ac:type="single"}} | ||
250 | {{layout-cell}} | ||
251 | \\ | ||
252 | {{/layout-cell}} | ||
253 | {{/layout-section}} | ||
254 | |||
255 | {{layout-section ac:type="two_equal"}} | ||
256 | {{layout-cell}} | ||
257 | (% style="text-align: center;" %) | ||
258 | [[image:attach:Matheretter_de.png]]//Abb.: Formel-Eingabe im Matheretter LaTeX-Assisstent// | ||
259 | {{/layout-cell}} | ||
260 | |||
261 | {{layout-cell}} | ||
262 | (% style="text-align: center;" %) | ||
263 | [[image:attach:LaTeX-Formeleditor_de.png]]//Abb.: Formel-Eingabe im Zahlenkern LaTeX-Formeleditor// | ||
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 | == Formelbeispiele == | ||
276 | |||
277 | 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"]]. | ||
278 | {{/layout-cell}} | ||
279 | {{/layout-section}} | ||
280 | |||
281 | {{layout-section ac:type="single"}} | ||
282 | {{layout-cell}} | ||
283 | [[image:attach:Beispiel - Formel in einer Zeile_de.png]] | ||
284 | |||
285 | (% style="text-align: center;" %) | ||
286 | //Abb.: Beispiel für die Formeldarstellung innerhalb einer Zeile// | ||
287 | |||
288 | [[image:attach:Beispiel - Formel in eigener Zeile_de.png]] | ||
289 | |||
290 | (% style="text-align: center;" %) | ||
291 | //Abb.: Beispiel für die zentrierte Formeldarstellung in einer separaten Zeile// | ||
292 | {{/layout-cell}} | ||
293 | {{/layout-section}} | ||
294 | {{/layout}} | ||
295 | {{/sv-translation}} | ||
296 | |||
297 | {{sv-translation language="en"}} | ||
298 | {{layout}} | ||
299 | {{layout-section ac:type="two_right_sidebar"}} | ||
300 | {{layout-cell}} | ||
301 | 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. | ||
302 | |||
303 | 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"]], which stand out due to their simplicity and extensive functionality. | ||
304 | |||
305 | [[image:attach:Beispiel - Formel_de.png]] | ||
306 | {{/layout-cell}} | ||
307 | |||
308 | {{layout-cell}} | ||
309 | {{scroll-ignore}} | ||
310 | {{panel title="Content"}} | ||
311 | |||
312 | |||
313 | {{toc/}} | ||
314 | |||
315 | **Related topics** | ||
316 | |||
317 | * [[LaTeX help: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]] | ||
318 | * [[MathML help: Official MathML 3.0 specification>>url:https://www.w3.org/TR/MathML3/||shape="rect"]] | ||
319 | * [[Formula presentation: MathJax>>url:https://www.bps-system.de/help/display/ONYXintern/Testen+in+OPAL||shape="rect"]] | ||
320 | |||
321 | **External formula editors** | ||
322 | |||
323 | * [[MyScript Math>>url:https://webdemo.myscript.com/||shape="rect"]] | ||
324 | * [[Matheretter Latex assistant>>url:https://www.matheretter.de/rechner/latex||shape="rect"]] | ||
325 | * [[Zahlenkern Latex formula editor>>url:https://www.zahlen-kern.de/editor/||shape="rect"]] | ||
326 | {{/panel}} | ||
327 | {{/scroll-ignore}} | ||
328 | {{/layout-cell}} | ||
329 | {{/layout-section}} | ||
330 | |||
331 | {{layout-section ac:type="single"}} | ||
332 | {{layout-cell}} | ||
333 | == Creating formulas with LaTeX == | ||
334 | |||
335 | 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: question text, alternative answers, or feedback, using the LaTeX markup language. The formulas will be displayed with the established [[MathJax Framework>>url:http://www.mathjax.org/||shape="rect"]]. Your formula will also be automatically converted to a professionally formatted formula. | ||
336 | {{/layout-cell}} | ||
337 | {{/layout-section}} | ||
338 | |||
339 | {{layout-section ac:type="single"}} | ||
340 | {{layout-cell}} | ||
341 | \\ | ||
342 | {{/layout-cell}} | ||
343 | {{/layout-section}} | ||
344 | |||
345 | {{layout-section ac:type="single"}} | ||
346 | {{layout-cell}} | ||
347 | |((( | ||
348 | (% class="content-wrapper" %) | ||
349 | ((( | ||
350 | [[image:attach:Editor - Aufgabenstellung mit Formel_de.png]] | ||
351 | |||
352 | (% style="text-align: center;" %) | ||
353 | //Fig.: LaTeX input in the ONYX Editor// | ||
354 | ))) | ||
355 | )))|((( | ||
356 | (% class="content-wrapper" %) | ||
357 | ((( | ||
358 | [[image:attach:Testrun - Aufgabenstellung mit Formel_de.png]] | ||
359 | |||
360 | (% style="text-align: center;" %) | ||
361 | //Fig.: Formula presentation in a test situation// | ||
362 | ))) | ||
363 | ))) | ||
364 | {{/layout-cell}} | ||
365 | {{/layout-section}} | ||
366 | |||
367 | {{layout-section ac:type="single"}} | ||
368 | {{layout-cell}} | ||
369 | \\ | ||
370 | {{/layout-cell}} | ||
371 | {{/layout-section}} | ||
372 | |||
373 | {{layout-section ac:type="single"}} | ||
374 | {{layout-cell}} | ||
375 | In order to present mathematical formulas in LaTeX, you need to integrate the formula into your text. This can be done as follows: | ||
376 | |||
377 | * \( Formula \) | ||
378 | * \[ Formula \] | ||
379 | * $$ Formula $$ | ||
380 | |||
381 | The LaTeX syntax $formula$ is not supported in ONYX. | ||
382 | |||
383 | {{info}} | ||
384 | You can find extensive material on generating formulas with LaTeX on the internet. For example, detailed examples can be found in the [[Wikibook: LaTeX compendium for mathematicians>>url:https://de.wikibooks.org/wiki/LaTeX-Kompendium:_F%C3%BCr_Mathematiker||shape="rect"]] (in German). | ||
385 | {{/info}} | ||
386 | {{/layout-cell}} | ||
387 | {{/layout-section}} | ||
388 | |||
389 | {{layout-section ac:type="single"}} | ||
390 | {{layout-cell}} | ||
391 | \\ | ||
392 | {{/layout-cell}} | ||
393 | {{/layout-section}} | ||
394 | |||
395 | {{layout-section ac:type="single"}} | ||
396 | {{layout-cell}} | ||
397 | == Creating formulas with the formula dialogue == | ||
398 | |||
399 | 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 available for the HTML editor integrated into the ONYX Editor. | ||
400 | |||
401 | === Create a formula in the text editor === | ||
402 | |||
403 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
404 | ((( | ||
405 | 1 | ||
406 | )))|((( | ||
407 | (% class="content-wrapper" %) | ||
408 | ((( | ||
409 | Select the formula option [[image:attach:Icon_Formeleditor.png]]in the text editor. | ||
410 | ))) | ||
411 | )))|((( | ||
412 | (% class="content-wrapper" %) | ||
413 | ((( | ||
414 | [[image:attach:Editor - Formeldialog aufrufen_de.png]] | ||
415 | ))) | ||
416 | ))) | ||
417 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
418 | ((( | ||
419 | 2 | ||
420 | )))|(% colspan="1" %)(% colspan="1" %) | ||
421 | ((( | ||
422 | In the dialogue, enter your formula into the text field in MathML or LaTeX notation. | ||
423 | |||
424 | Below the input field, you will be given a preview of the formula. | ||
425 | |||
426 | For LaTeX input, you can choose (by radio button) whether the formula should be inserted into the text editor in LaTeX notation or as a placeholder. | ||
427 | )))|(% colspan="1" %)(% colspan="1" %) | ||
428 | ((( | ||
429 | (% class="content-wrapper" %) | ||
430 | ((( | ||
431 | [[image:attach:Editor - Formeldialog_de.png]] | ||
432 | ))) | ||
433 | ))) | ||
434 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
435 | ((( | ||
436 | 3 | ||
437 | )))|((( | ||
438 | Click on **Finish **to insert the formula into the test content. | ||
439 | )))|((( | ||
440 | (% class="content-wrapper" %) | ||
441 | ((( | ||
442 | [[image:attach:Editor - Formeldarstellung_de.png]] | ||
443 | ))) | ||
444 | ))) | ||
445 | {{/layout-cell}} | ||
446 | {{/layout-section}} | ||
447 | |||
448 | {{layout-section ac:type="single"}} | ||
449 | {{layout-cell}} | ||
450 | \\ | ||
451 | {{/layout-cell}} | ||
452 | {{/layout-section}} | ||
453 | |||
454 | {{layout-section ac:type="single"}} | ||
455 | {{layout-cell}} | ||
456 | === Edit an existing formula === | ||
457 | |||
458 | To edit existing formula content with the formula plugin, proceed as follows: | ||
459 | |||
460 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
461 | ((( | ||
462 | 1 | ||
463 | )))|((( | ||
464 | (% class="content-wrapper" %) | ||
465 | ((( | ||
466 | Click on the formula placeholder [[image:attach:Icon_Formel.png]]or mark the entire formula in LaTeX notation. | ||
467 | ))) | ||
468 | )))|(% rowspan="2" %)(% rowspan="2" %) | ||
469 | ((( | ||
470 | (% class="content-wrapper" %) | ||
471 | ((( | ||
472 | [[image:attach:Editor - Formel bearbeiten_de.png]] | ||
473 | ))) | ||
474 | ))) | ||
475 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
476 | ((( | ||
477 | 2 | ||
478 | )))|((( | ||
479 | (% class="content-wrapper" %) | ||
480 | ((( | ||
481 | Select the formula option [[image:attach:Icon_Formeleditor.png]]in the text editor. | ||
482 | ))) | ||
483 | ))) | ||
484 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
485 | ((( | ||
486 | 3 | ||
487 | )))|((( | ||
488 | The formula opens in the formula dialogue, allowing you to edit the formula in the text field. | ||
489 | )))|(% rowspan="2" %)(% rowspan="2" %) | ||
490 | ((( | ||
491 | (% class="content-wrapper" %) | ||
492 | ((( | ||
493 | [[image:attach:Editor - Dialog Formel eingeben_de.png]] | ||
494 | ))) | ||
495 | ))) | ||
496 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
497 | ((( | ||
498 | 4 | ||
499 | )))|((( | ||
500 | Confirm your changes by clicking on **Finished** at the end of the dialogue. | ||
501 | ))) | ||
502 | |||
503 | {{info}} | ||
504 | Cou can find extensive material on generating formulas with MathML on the internet. A detailed description is provided by the [[Official MathML 3.0 specification>>url:https://www.w3.org/TR/MathML3/||shape="rect"]]. | ||
505 | {{/info}} | ||
506 | {{/layout-cell}} | ||
507 | {{/layout-section}} | ||
508 | |||
509 | {{layout-section ac:type="single"}} | ||
510 | {{layout-cell}} | ||
511 | \\ | ||
512 | {{/layout-cell}} | ||
513 | {{/layout-section}} | ||
514 | |||
515 | {{layout-section ac:type="single"}} | ||
516 | {{layout-cell}} | ||
517 | == Creating formulas with a formula editor == | ||
518 | |||
519 | You can find numerous LaTeX formula editors on the internet, which provide support for creating LaTeX formulas. | ||
520 | |||
521 | For example, the [[MyScript >>url:https://webdemo.myscript.com/||shape="rect"]]website offers simple operation. Write the desired formula in the free area using your mouse or stylus. The formula editor translates the displayed formula into LaTeX notation and, if appropriate to the formula, also shows a graph of the created function. | ||
522 | |||
523 | (% style="text-align: center;" %) | ||
524 | [[image:attach:MyScript_de.png]]//Fig.: Formula input with MyScript// | ||
525 | |||
526 | 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. | ||
527 | |||
528 | \\ | ||
529 | |||
530 | With the editors 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. | ||
531 | {{/layout-cell}} | ||
532 | {{/layout-section}} | ||
533 | |||
534 | {{layout-section ac:type="single"}} | ||
535 | {{layout-cell}} | ||
536 | \\ | ||
537 | {{/layout-cell}} | ||
538 | {{/layout-section}} | ||
539 | |||
540 | {{layout-section ac:type="two_equal"}} | ||
541 | {{layout-cell}} | ||
542 | [[image:attach:Matheretter_de.png]] | ||
543 | |||
544 | (% style="text-align: center;" %) | ||
545 | //Fig.: Formula input in the Matheretter LaTeX assistant// | ||
546 | {{/layout-cell}} | ||
547 | |||
548 | {{layout-cell}} | ||
549 | [[image:attach:LaTeX-Formeleditor_de.png]] | ||
550 | |||
551 | (% style="text-align: center;" %) | ||
552 | //Fig.: Formula input in the Zahlenkern LaTeX formula editor// | ||
553 | {{/layout-cell}} | ||
554 | {{/layout-section}} | ||
555 | |||
556 | {{layout-section ac:type="single"}} | ||
557 | {{layout-cell}} | ||
558 | \\ | ||
559 | {{/layout-cell}} | ||
560 | {{/layout-section}} | ||
561 | |||
562 | {{layout-section ac:type="single"}} | ||
563 | {{layout-cell}} | ||
564 | == Formula examples == | ||
565 | |||
566 | 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"]]. | ||
567 | {{/layout-cell}} | ||
568 | {{/layout-section}} | ||
569 | |||
570 | {{layout-section ac:type="single"}} | ||
571 | {{layout-cell}} | ||
572 | [[image:attach:Beispiel - Formel in einer Zeile_de.png]]//Fig.: Example of an inline formula// | ||
573 | |||
574 | (% style="text-align: center;" %) | ||
575 | [[image:attach:Beispiel - Formel in eigener Zeile_de.png]] | ||
576 | |||
577 | (% style="text-align: center;" %) | ||
578 | //Fig.: Example of a formula centred on a separate line// | ||
579 | {{/layout-cell}} | ||
580 | {{/layout-section}} | ||
581 | {{/layout}} | ||
582 | {{/sv-translation}} |