
Soy nuevo en LaTex. Estoy intentando copiar algunas ecuaciones de Mathematica como LaTex y para ciertas ecuaciones, la cadena contiene "\left\left". Un ejemplo:
\begin{equation}
\omega _3-\omega _2\gg \left\left| \omega _1-\omega _2\right\right|
\end{equation}\newline
Esto da un error: ! Falta un delimitador (. insertado)
¿Estoy en lo cierto en que \left\left no tiene sentido? ¿Ese \left siempre debería ir acompañado de algo, por ejemplo \left\{
?
Gracias.
Respuesta1
El software que produce ese código es defectuoso \left\left
y \right\right
no tiene sentido.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
This is what perhaps the software wanted to produce
\begin{equation}
\omega _3-\omega _2\gg \left|\left| \omega _1-\omega _2\right|\right|
\end{equation}
but this is wrong anyway and should possibly be
\begin{equation}
\omega _3-\omega _2\gg \left\| \omega _1-\omega _2\right\|
\end{equation}
but neither is actually the right one: there is no need for growing
delimiters in this case
\begin{equation}
\omega _3-\omega _2\gg \lVert \omega _1-\omega _2 \rVert
\end{equation}
Finally, if the software produces \verb|\newline| after
\verb|\end{equation}|, it's another error.
\end{document}
El espacio entre las barras dobles en (1) es definitivamente incorrecto. Si miras de cerca, (2) no está realmente centrado, porque \right\|
agrega un pequeño espacio después.
Sólo (3) tiene toda la razón.
Nunca agregue \newline
después \end{equation}
(si el software lo agrega, elimínelo).