The colors supported directly by [i]JLaTeXMath[/i] can be found in [url=https://en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips]The 68 standard colors known to dvips[/url] [br][br]You can use the command: [code]\textcolor{color}{...}[br][br][/code][b]Example 1:[br][/b][code]\text{\textcolor{WildStrawberry}{Geo}\textcolor{blue}{G}\textcolor{red}{ebra}}\,\textcolor{green}{\oldstylenums{4.2}[/code][br][url=https://web.archive.org/web/20240615043817/http://wiki.geogebra.org/en/File:LTX7.PNG][img]https://www.geogebra.org/resource/ae6dgean/DZ4jZYw0i0ZEfjeg/material-ae6dgean.png[/img][/url][br][br][b]1.1 Adding Colors[/b][br][br]If you need to create new color, you can use the command: [code]\definecolor{mycolour}{rgb}{a,b,c}[/code] the numbers a, b and c must be between 0 and 1, can be a slider, for example:[br][br][b]Example 2:[/b][br][code]\definecolor{a}{rgb}{0.63,0.39,0.17}[/code][br][code]\definecolor{b}{rgb}{0.63,0.17,0.39}[/code][br][code]\definecolor{c}{rgb}{0.39,0.63,0.17}[/code][br][code]\definecolor{d}{rgb}{0.39,0.17,0.63}[/code][br][code]\definecolor{e}{rgb}{0.17,0.63,0.39}[/code][br][code]\definecolor{f}{rgb}{0.17,0.39,0.63}[/code][br][code]\text{\textcolor{a}C\textcolor{b}O\textcolor{c}L\textcolor{d}O\textcolor{e}U\textcolor{f}R}[/code][br][url=https://web.archive.org/web/20240615043817/http://wiki.geogebra.org/en/File:LTEX7a.PNG][img]https://www.geogebra.org/resource/ewqxbzzq/GyP9Fb0lepoSX0x5/material-ewqxbzzq.png[/img][/url]
For simple frame boxes (no colors) use:[br][br][code]\boxed{2012\text{ is now!}[br][/code][br]or[br][br][code]\fbox{2012\text{ is now!}[br][br][/code][left][img]https://www.geogebra.org/resource/r3vshdcc/txZ9z9SS6IvGGU90/material-r3vshdcc.png[/img][/left]
[b]A. [/b]For a color box, same color in border and background, use:[br][br][code]\colorbox{red}{2012\text{ is now!}[/code][br][left][br][img]https://www.geogebra.org/resource/t65muunk/C20h7PUXl5tzwGXz/material-t65muunk.png[/img][/left][br][b]B. [/b]For a color box, diferent color in border and background, use:[br][br][code]\fcolorbox{blue}{red}{2012\text{ is now!}[br][/code][left][br][img]https://www.geogebra.org/resource/cqaqgqpx/PavDoOOQk5VHRF9X/material-cqaqgqpx.png[/img][/left]
If you need to rotate a box (or whatever) use: [code]\rotatebox{angle}{...}[br][/code][b][br]Example:[br][br][/b][code]\rotatebox{45}{\fcolorbox{blue}{red}{2012\text{ is now!}}[br][/code][br][img]https://www.geogebra.org/resource/dbftd3jb/Do3bOfhr1J7iVjBa/material-dbftd3jb.png[/img]
If you need to reflect a box (or whatever) use: [code]\reflectbox{...}[br][br][/code][b]Example:[br][br][/b][code]\reflectbox{\fcolorbox{blue}{red}{2012\text{ is now!}}[br][/code][img]https://www.geogebra.org/resource/mwuw4bzj/qcNMJDfAdsVnvsW6/material-mwuw4bzj.png[/img]
Sometimes it is necessary to have these phantom boxes, for systems, control the height under a root, alignment on a formula, etc. It has these three commands:[br][br][table][tr][td]\phantom{XXX}[/td][td]space as wide and high as three X’s[/td][/tr][tr][td]\hphantom{XXX}[/td][td]space as wide as three X’s; height 0[/td][/tr][tr][td]\vphantom{X}[/td][td]space of width 0, height = height of X[/td][/tr][/table][br][b]Example:[/b] [br][br][code]\sqrt{b}+\sqrt{\vphantom{b}a}[br][br][/code][url=https://web.archive.org/web/20240615043817/http://wiki.geogebra.org/en/File:LTXa.PNG][img]https://www.geogebra.org/resource/qdkyhcnf/8S4xGfIbLLuq4Yif/material-qdkyhcnf.png[/img][br][br][/url]I think that's all for now, in the future (if I have time) will write a little about tables and matrices. [i]JLaTeXMath[/i] supports many mathematical environments (whitout *) I recommend reading the [url=https://tug.ctan.org/info/short-math-guide/short-math-guide.pdf]Short Math Guide for LATEX[/url]. If other GeoGebra users wish to contribute with examples (math environments) would be great. Just post your contribution in the [url=https://www.reddit.com/r/geogebra/]GeoGebra Reddit Forum[/url].