Comandos LaTeX admitidos
Los comandos, entornos, símbolos y paquetes de LaTeX que NeoMath entiende, incluida la química con mhchem y el color por fragmento.
En esta página
NeoMath entiende el LaTeX cotidiano de libros, apuntes y exámenes. Esto vale en el modo LaTeX del editor, al pegar, en la línea de comandos, en la API, en MCP, en NeoScript y en los plugins.
Estructuras#
| Comando | Resultado |
|---|---|
\frac{a}{b}, \dfrac, \tfrac, \cfrac |
fracción |
a \over b, a \atop b, n \choose k |
fracción al estilo TeX |
\binom{n}{k}, \dbinom |
coeficiente binomial |
\sqrt{x}, \sqrt[n]{x} |
raíz cuadrada y raíz con índice |
x^{2}, x_{i}, x_i^2 |
exponente y subíndice |
\left( … \right), \big, \Big, \bigg, \Bigg (y las variantes l, r, m) |
delimitadores |
\overline, \bar, \vec, \overrightarrow, \overleftarrow, \overleftrightarrow |
barras y flechas encima |
\hat, \widehat, \tilde, \widetilde, \dot, \ddot, \mathring, \overarc |
acentos |
\overbrace, \underbrace |
llaves horizontales |
\boxed, \fbox, \cancel, \bcancel, \xcancel, \sout |
caja y tachados |
\longdiv{d}{q} |
división larga |
\xRightarrow, \xLeftarrow, \xleftrightarrow, \xmapsto, \xhookrightarrow |
flechas con rótulo |
\phantom, \hphantom, \vphantom, \hspace |
espacios |
\tag{1} |
etiqueta de la ecuación |
Entornos#
| Entorno | Resultado |
|---|---|
matrix, pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix |
matrices con y sin delimitadores |
cases |
sistema con llave a la izquierda |
array (con l, c, r, ` |
y@{}`) |
aligned, align, align*, alignat, split, flalign, eqnarray |
ecuaciones alineadas en el signo igual |
Operadores grandes y funciones#
\sum,\prod,\coprod,\int,\iint,\iiint,\oint,\bigcup,\bigcap,\bigoplus,\bigotimes,\bigodot,\biguplus,\bigsqcup,\bigvee,\bigwedge,\bigtimes, con límites por_y^.- Funciones en tipo recto:
\sin,\cos,\tan,\log,\ln,\exp,\lim,\max,\min,\sup,\inf,\det,\gcd,\liminf,\limsupy otras. \operatorname{nombre}para cualquier otro nombre;\mod,\bmod,\pmod.
Letras y alfabetos#
- Griegas:
\alphaa\omega, mayúsculas (\Gamma,\Delta…), variantes (\varepsilon,\vartheta,\varphi,\varrho,\varsigma,\varpi,\varkappa,\digamma). - Alfabetos:
\mathbf,\boldsymbol,\bm,\mathit,\mathrm,\mathcal,\mathscr,\mathfrak,\mathbb,\mathsf,\mathtt. - Texto:
\text,\textrm,\textit,\textbf,\textsf,\texttt,\mbox. - Hebreo y otros:
\aleph,\beth,\gimel,\daleth,\hbar,\ell,\Re,\Im,\wp,\imath,\jmath.
Relaciones, flechas y símbolos#
| Grupo | Ejemplos |
|---|---|
| Relaciones | \leq, \geq, \neq, \approx, \equiv, \sim, \simeq, \cong, \propto, \ll, \gg, \prec, \succ, \leqslant, \geqslant |
| Negaciones | \not, \nleq, \ngeq, \nsubseteq, \nparallel, \nmid, \nexists, \nequiv |
| Conjuntos y lógica | \in, \notin, \subset, \subseteq, \cup, \cap, \setminus, \emptyset, \forall, \exists, \neg, \wedge, \vee, \vdash, \models |
| Flechas | \to, \gets, \leftrightarrow, \Rightarrow, \iff, \mapsto, \longrightarrow, \Longleftrightarrow, \rightleftharpoons, \hookrightarrow, \nearrow |
| Operadores | \pm, \mp, \times, \div, \cdot, \ast, \star, \circ, \bullet, \oplus, \otimes, \odot |
| Puntos | \ldots, \cdots, \vdots, \ddots, \iddots |
| Geometría | \angle, \measuredangle, \perp, \parallel, \triangle, \degree, \square |
| Delimitadores | \langle, \rangle, \lfloor, \rfloor, \lceil, \rceil, \lvert, \rVert |
| Varios | \infty, \partial, \nabla, \therefore, \because, \checkmark, \dagger |
Color#
\textcolor{red}{x}
\textcolor[HTML]{1A2B3C}{y}
\textcolor[rgb]{1,0,0}{z}
\textcolor[cmyk]{0,1,1,0}{w}
{\color{blue} a+b}Tamaños#
\tiny, \scriptsize, \footnotesize y \small reducen el fragmento.
Paquetes#
Se aceptan los comandos de paquetes muy usados: siunitx, nicematrix, xlop, polynom, physics, mathtools, mhchem y cancel.
Química#
NeoMath dibuja fórmulas y reacciones escritas con mhchem y chemmacros:
\ce{2 H2 + O2 -> 2 H2O}
\ce{CaCO3 ->[\Delta] CaO + CO2 ^}
\ce{Fe^{3+} + 3 OH- -> Fe(OH)3 v}
\pu{25 °C}Se aceptan \ce{}, \ch{}, \pu{}, \ox, \enthalpy y los demás comandos de chemmacros, en cualquier ruta de generación. Para modelos de IA, el recurso MCP neomath://quimica-latex los lista todos.