> 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/overleaf-learn-latex-pt/nocoes-basicas-de-latex/05-errors.md).

# Erros

As mensagens de erro do LaTeX podem, por vezes, ser difíceis de entender e corrigir. Compilámos abaixo uma lista de erros comuns, juntamente com mais informação sobre o que significam e como os resolver.

## Alinhamento

* [Caráter de tabulação de alinhamento mal posicionado &](/latex/overleaf-learn-latex-pt/erros-do-latex/23-misplaced-alignment-tab-character.md)
* [A tabulação de alinhamento extra foi alterada para \cr.](/latex/overleaf-learn-latex-pt/erros-do-latex/07-extra-alignment-tab-has-been-changed-to-cr.md)

## Subscrito duplo

* [Subscrito duplo](/latex/overleaf-learn-latex-pt/erros-do-latex/04-double-subscript.md)

## Faltam caracteres do modo matemático

* [A matemática em exibição deve terminar com $$](/latex/overleaf-learn-latex-pt/erros-do-latex/03-display-math-should-end-with.md)
* [Faltou inserir $](/latex/overleaf-learn-latex-pt/erros-do-latex/25-missing-inserted.md)

## Referências

* [Houve referências indefinidas](/latex/overleaf-learn-latex-pt/erros-do-latex/30-there-were-undefined-references.md)
* [A referência XXX na página XXX está indefinida na linha de entrada XXX](/latex/overleaf-learn-latex-pt/erros-do-latex/30-there-were-undefined-references.md)

## Rotulagem

* [Houve rótulos definidos múltiplas vezes.](/latex/overleaf-learn-latex-pt/erros-do-latex/29-there-were-multiply-defined-labels.md)
* [O rótulo XXX foi definido várias vezes.](/latex/overleaf-learn-latex-pt/erros-do-latex/29-there-were-multiply-defined-labels.md)

## Especificadores de flutuação

* [O especificador de flutuação \`h' foi alterado para \`ht'.](/latex/overleaf-learn-latex-pt/erros-do-latex/01-h-float-specifier-changed-to-ht.md)
* [Sem posições no especificador opcional de flutuação.](/latex/overleaf-learn-latex-pt/erros-do-latex/28-no-positions-in-optional-float-specifier.md)

## Sequências de controlo indefinidas

* [Sequência de controlo indefinida.](/latex/overleaf-learn-latex-pt/erros-do-latex/31-undefined-control-sequence.md)

## Ficheiro não encontrado

* [Ficheiro XXX não encontrado na linha de entrada XXX."](/latex/overleaf-learn-latex-pt/erros-do-latex/09-file-xxx-not-found-on-input-line-xxx.md)
* [Erro LaTeX: Ficheiro XXX não encontrado."](/latex/overleaf-learn-latex-pt/erros-do-latex/09-file-xxx-not-found-on-input-line-xxx.md)
* [Erro do pacote pdftex.def: Ficheiro XXX não encontrado."](/latex/overleaf-learn-latex-pt/erros-do-latex/09-file-xxx-not-found-on-input-line-xxx.md)

## Número em falta/unidades de medida ilegais

* [Número em falta, tratado como zero](/latex/overleaf-learn-latex-pt/erros-do-latex/26-missing-number-treated-as-zero.md)
* [Unidade de medida ilegal (pt inserido)](/latex/overleaf-learn-latex-pt/erros-do-latex/10-illegal-unit-of-measure-pt-inserted.md)

## Ambiente indefinido (pacote em falta)

* [Erro LaTeX: ambiente tikzpicture indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente theorem indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente split indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente minipage\* indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente maplelatex indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente mapleinput indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente maplegroup indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente flalign indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente figure\* indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente comment indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente biblio\_lat indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente align\* indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente align indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente algorithm indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)
* [Erro LaTeX: ambiente adjustbox indefinido](/latex/overleaf-learn-latex-pt/erros-do-latex/14-latex-error-environment-xxx-undefined.md)

## Caixas subpreenchidas e sobrepreenchidas

Embora estes avisos sejam *contém* erros, listamo-los aqui por conveniência:

* [Compreender o aviso de caixa subpreenchida e sobrepreenchida](/latex/overleaf-learn-latex-pt/base-de-conhecimento/138-understanding-underfull-and-overfull-box-warnings.md)

## Outros

* [Erro LaTeX: só pode ser usado no preâmbulo](/latex/overleaf-learn-latex-pt/erros-do-latex/13-latex-error-can-be-used-only-in-preamble.md)
* [Erro LaTeX: falta \begindocument](/latex/overleaf-learn-latex-pt/erros-do-latex/16-latex-error-missing-begin-document.md)
* [Erro LaTeX: \verb terminado pelo fim da linha](/latex/overleaf-learn-latex-pt/erros-do-latex/12-latex-error-verb-ended-by-end-of-line.md)
* [Nenhum \author fornecido](/latex/overleaf-learn-latex-pt/erros-do-latex/27-no-author-given.md)
* [\noalign mal posicionado](/latex/overleaf-learn-latex-pt/erros-do-latex/22-misplaced-noalign.md)
* [Erro LaTeX: Algo está errado--talvez falte um \item](/latex/overleaf-learn-latex-pt/erros-do-latex/17-latex-error-something-s-wrong-perhaps-a-missing-item.md)
* [Não há nenhuma linha aqui para terminar](/latex/overleaf-learn-latex-pt/erros-do-latex/18-latex-error-there-s-no-line-here-to-end.md)
* [Extensão gráfica desconhecida: .XXX](/latex/overleaf-learn-latex-pt/erros-do-latex/21-latex-error-unknown-graphics-extension-.xxx.md)


---

# 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/overleaf-learn-latex-pt/nocoes-basicas-de-latex/05-errors.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.
