Introduction

GeoGebra uses [i][url=https://jmathtex.sourceforge.net/index.html]JLaTeXMath[/url][/i] (a powerful ally) to show mathematical formulas (text and symbols) using LaTeX. The first thing to remember is that LaTeX works in two modes [b]text mode[/b] and [b]math mode[/b]. [br][br]Writing text must be in [b]text mode[/b] and writing mathematics in [b]math mode[/b]. When checking the box "LaTeX formula" the text tool enters in [b]math mode [/b](font in italic).[br][left][img]https://www.geogebra.org/resource/rcsqatrh/6IH837utW98HGicw/material-rcsqatrh.png[/img][/left][br]If we enter text (roman font) must switch to [b]text mode[/b] by typing:[br][br][code]\text{text text text}[br][/code][br]or[br] [br][code]\mbox{text text text}[br][br][/code][left][img]https://www.geogebra.org/resource/j46nyxtc/Noz6VrJKKeiTDrqR/material-j46nyxtc.png[/img][/left]
Remark
This is an attempt to keep alive this post [url=https://web.archive.org/web/20240615043817/http://wiki.geogebra.org/en/Comments:LaTeX-tips_font_size_color_box_and_math#LATEX_environment]Comments:LaTeX-tips font size color box and math[/url], from the old GeoGebra Wiki, available now only in the WayBack Machine. I still find it useful for reference when I am typing LaTeX in GeoGebra. [br][br]I also fixed a few typos, updated some links and images, and included an extra section with tools made by the community. I hope you find it useful. Let me know: [url=https://www.patreon.com/jcponce]Patreon[/url].

Informatie: Introduction