> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/es/errores-de-latex/06-extra-right.md).

# \right adicional

Este error ocurre al componer matemáticas si se usa el comando \right pero falta el \left correspondiente. Este artículo trata sobre las causas comunes de este error y cómo solucionarlas.

## Breve introducción a los comandos \left y \right

El `\left` y `\right` Los comandos componen delimitadores de tamaño dinámico y deben usarse juntos, dentro de material matemático, en la forma

$$\verb'\left'\thinspace\textit{delim}*{\thinspace\text{L}}\quad\textit{math expression}\quad \verb'\right'\thinspace\textit{delim}*{\thinspace\text{R}}$$

donde $$\textit{delim}*{\thinspace\text{L}}$$ y $$\textit{delim}*{\thinspace\text{R}}$$ son delimitadores que se usan para encerrar tu $$\textit{math expression}$$. Normalmente, $$\textit{delim}*{\thinspace\text{L}}$$ y $$\textit{delim}*{\thinspace\text{R}}$$ son uno de los caracteres `() [] | \| \{ \}` o el punto ‘`.`’, que se usa como un “[delimitador en blanco](#using-a-blank-delimiter)”.

### Ejemplo

Aquí hay un ejemplo usando `\left` y `\right` para componer paréntesis que encierran por completo una fracción:

```latex
\[
  \left(\frac{x}{y} \right)
\]
```

Este código produce $$\left(\frac{x}{y}\right)$$

Si no usas los `\left` y `\right` comandos al colocar delimitadores, incluidos los paréntesis, esos delimitadores no encerrarán completamente la expresión matemática; por ejemplo, escribir

```latex
\[
  (\frac{x}{y})
\]
```

produce esto

$$(\frac{x}{y})$$

## Causas de este error y algunas soluciones

### Olvidar incluir un comando \left

Este error suele aparecer al escribir un `\right` comando pero olvidar incluir el correspondiente `\left`, como se muestra en el ejemplo a continuación:

```latex
\[
\pi =
( \int_{-\infty}^{+\infty} e^{-x^2} dx \right)
\]
```

[Abre este **generador de errores** ejemplo en Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+demonstrating+a+missing+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0A%5Cpi+%3D+%0A%28+%5Cint_%7B-%5Cinfty%7D%5E%7B%2B%5Cinfty%7D+e%5E%7B-x%5E2%7D+dx+%5Cright%29%0A%5C%5D%0A%5Cend%7Bdocument%7D)

Este ejemplo genera el siguiente error:

![Una imagen para demostrar un delimitador faltante en LaTeX](/files/6a3cd3bf6ad9591b3cf8092a639d574b60d613b3)

Añade el `\left` para corregir este error escribiendo

```latex
\[
\pi =
\left( \int_{-\infty}^{+\infty} e^{-x^2} dx \right)
\]
```

lo que produce la siguiente salida

$$\pi = \left( \int\_{-\infty}^{+\infty} e^{-x^2} dx \right)$$

### Usar un delimitador en blanco

Si desea componer un `\right` delimitador únicamente, use un carácter ‘`.`’ como el `\left` delimitador escribiendo `\left.`, que no compone un carácter de delimitador. El siguiente ejemplo usa un `.` delimitador dentro de un `aligned` entorno proporcionado por `amsmath` paquete:

```latex
\documentclass{article}
\usepackage{amsmath} % Necesario para usar el entorno aligned

\begin{document}
\[
 \left.\begin{aligned}
        dF &= 0,\\
        d^{\dagger} F &= 0,
       \end{aligned}
\ \right\}
 \qquad \text{Ecuaciones de Maxwell}
\]
\end{document}
```

[Abre este ejemplo en Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Using+the+dot+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D+%25+Required+to+use+the+aligned+environment%0A%0A%5Cbegin%7Bdocument%7D%0A%5C%5B%0A+%5Cleft.%5Cbegin%7Baligned%7D%0A++++++++dF+%26%3D+0%2C%5C%5C%0A++++++++d%5E%7B%5Cdagger%7D+F+%26%3D+0%2C%0A+++++++%5Cend%7Baligned%7D%0A%5C+%5Cright%5C%7D%0A+%5Cqquad+%5Ctext%7BMaxwell%27s+equations%7D%0A%5C%5D%0A%5Cend%7Bdocument%7D)

Este ejemplo compone la siguiente expresión:

$$\left.\begin{aligned} dF &= 0,\d^{\dagger} F &= 0,\end{aligned}\ \right}\qquad \text{Maxwell's equations}$$


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/es/errores-de-latex/06-extra-right.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
