> 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/it/errori-latex/06-extra-right.md).

# \right extra

Questo errore si verifica quando si compone la matematica se il comando \right viene usato ma il corrispondente \left manca. Questo articolo parla delle cause comuni di questo errore e di come correggerle.

## Breve introduzione ai comandi \left e \right

Il `\left` e `\right` i comandi impaginano delimitatori di dimensione dinamica e devono essere usati insieme, all'interno di materiale matematico, nella forma

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

dove $$\textit{delim}*{\thinspace\text{L}}$$ e $$\textit{delim}*{\thinspace\text{R}}$$ sono delimitatori usati per racchiudere la tua $$\textit{math expression}$$. In genere, $$\textit{delim}*{\thinspace\text{L}}$$ e $$\textit{delim}*{\thinspace\text{R}}$$ sono uno dei caratteri `() [] | \| \{ \}` o il punto ‘`.`’, che viene usato come un “[delimitatore vuoto](#using-a-blank-delimiter)”.

### Esempio

Ecco un esempio che usa `\left` e `\right` per impaginare parentesi che racchiudano completamente una frazione:

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

Questo codice produce $$\left(\frac{x}{y}\right)$$

Se non usi i `\left` e `\right` comandi quando posizioni i delimitatori, incluse le parentesi, quei delimitatori non racchiuderanno completamente l'espressione matematica; ad esempio, scrivendo

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

produce questo

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

## Cause di questo errore e alcune soluzioni

### Dimenticare di includere un comando \left

Questo errore in genere si verifica quando si scrive un `\right` comando ma dimenticando di includere il corrispondente `\left`, come mostrato nell'esempio seguente:

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

[Apri questo **che genera l'errore** esempio in 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)

Questo esempio genera il seguente errore:

![Un'immagine che mostra un delimitatore mancante in LaTeX](/files/b41447c1173492d85888495ab9c85395d9f97b77)

Aggiungi il comando mancante `\left` per risolvere questo errore scrivendo

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

che produce il seguente risultato

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

### Uso di un delimitatore vuoto

Se desideri comporre un `\right` delimitatore soltanto, usa il carattere ‘`.`’ come `\left` delimitatore scrivendo `\left.`, che non compone un carattere delimitatore. L'esempio seguente usa un `.` delimitatore all'interno di un `aligned` fornito da `amsmath` pacchetto:

```latex
\documentclass{article}
\usepackage{amsmath} % Necessario per usare l'ambiente aligned

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

[Apri questo esempio in 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)

Questo esempio compone la seguente espressione:

$$\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/it/errori-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.
