> For the complete documentation index, see [llms.txt](https://docs.overleaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overleaf.com/writing-and-editing.md).

# Writing and editing

- [Writing and editing](https://docs.overleaf.com/writing-and-editing/writing-and-editing.md)
- [Inserting images](https://docs.overleaf.com/writing-and-editing/inserting-images.md)
- [Uploading images](https://docs.overleaf.com/writing-and-editing/inserting-images/uploading-images.md)
- [LaTeX code for including images in your document](https://docs.overleaf.com/writing-and-editing/inserting-images/latex-code-for-including-images-in-your-document.md)
- [Using the Insert figure button](https://docs.overleaf.com/writing-and-editing/inserting-images/using-the-insert-figure-button.md)
- [Pasting images into your project](https://docs.overleaf.com/writing-and-editing/inserting-images/pasting-images-into-your-project.md)
- [Changing image size and rotating the picture](https://docs.overleaf.com/writing-and-editing/inserting-images/changing-image-size-and-rotating-the-picture.md)
- [Positioning figures](https://docs.overleaf.com/writing-and-editing/inserting-images/positioning-figures.md)
- [Captioning and referencing figures](https://docs.overleaf.com/writing-and-editing/inserting-images/captioning-and-referencing-figures.md)
- [Advanced LaTeX image topics](https://docs.overleaf.com/writing-and-editing/inserting-images/advanced-latex-image-topics.md)
- [Generating and inserting tables](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables.md)
- [AI Table Generator](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/ai-table-generator.md)
- [Edit or customize an inserted table](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/edit-or-customize-an-inserted-table.md)
- [Set the width of table columns](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/set-the-width-of-table-columns.md)
- [Pasting tables into your project](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/pasting-tables-into-your-project.md): You can copy and paste tables from webpages, word processors and spreadsheets into Overleaf.
- [Inserting symbols](https://docs.overleaf.com/writing-and-editing/inserting-symbols.md)
- [Using Word Count](https://docs.overleaf.com/writing-and-editing/using-word-count.md): Overleaf's Word Count feature helps you track the size of your project
- [History and versioning](https://docs.overleaf.com/writing-and-editing/history-and-versioning.md): Sometimes you need to travel back in time.
- [Creating accessible PDFs in LaTeX](https://docs.overleaf.com/writing-and-editing/creating-accessible-pdfs.md): This page describes LaTeX accessibility in Overleaf and relevant considerations.
- [Working offline](https://docs.overleaf.com/writing-and-editing/working-offline.md): Brief internet connectivity issues don't have to prevent progress on your work


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.overleaf.com/writing-and-editing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
