Difference between revisions of "LaTeX"

From GeoGebra Manual
Jump to: navigation, search
(Created page with 'In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the mode_text_16 Insert Text tool and enter your formula in LaTeX syntax...')
 
Line 1: Line 1:
In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the mode_text_16 Insert Text tool and enter your formula in LaTeX syntax.  
+
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 +
{{objects|general}}
 +
In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the [[Image:Tool Insert Text.gif]][[Insert Text Tool]] and enter your formula in LaTeX syntax.  
  
 
{{Note|In order to create text that contains a LaTeX formula as well as static text you may enter the static part of the text and then add the LaTeX formula in between a set of dollar symbols ($).}}
 
{{Note|In order to create text that contains a LaTeX formula as well as static text you may enter the static part of the text and then add the LaTeX formula in between a set of dollar symbols ($).}}

Revision as of 21:48, 27 December 2010


In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the Tool Insert Text.gifInsert Text Tool and enter your formula in LaTeX syntax.

Note: In order to create text that contains a LaTeX formula as well as static text you may enter the static part of the text and then add the LaTeX formula in between a set of dollar symbols ($).
Example: The length of the diagonal is $\sqrt{ 2 }$.


You can select the syntax for common formula symbols from the drop-down menu next to the LaTeX checkbox. This inserts the corresponding LaTeX code into the text field and places the cursor in between a set of curly brackets. If you would like to create dynamic text within the formula, you need to click on an object causing GeoGebra to insert its name as well as the syntax for mixed text.

Some important LaTeX commands are explained in following table. Please have a look at any LaTeX documentation for further information.

LaTeX input Result
a \cdot b a \cdot b
\frac{a}{b} \frac{a}{b}
\sqrt{x} \sqrt{x}
\sqrt[n]{x} \sqrt[n]{x}
\vec{v} \vec{v}
\overline{AB} \overline{AB}
x^{2} x^{2}
a_{1} a_{1}
\sin\alpha + \cos\beta \sin\alpha + \cos\beta
\int_{a}^{b} x dx \int_{a}^{b} x dx
\sum_{i=1}^{n} i^2 \sum_{i=1}^{n} i^2

See also

Comments

Note: While the most common LaTeX commands used in the context of mathematics and text styling are working in GeoGebra, GeoGebra itself just supports a subset of LaTeX. More advanced and powerful features are therefore not working, e.g. you can't include additional packages.
© 2024 International GeoGebra Institute