> 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/knowledge-base/047-how-are-the-contents-of-the-overleaf-gallery-licensed.md).

# How are the contents of the Overleaf gallery licensed?

We require that all templates, examples and articles published in the gallery have clear license information, but any license is permitted (at our discretion). The choice of license is entirely up to the contributor, but we recommend the following:

* **Use the** [**Creative Commons Attribution (CC BY 4.0)**](http://creativecommons.org/licenses/by/4.0) **license for articles and examples.** [Creative Commons](http://creativecommons.org/) is a nonprofit organisation that enables the sharing and use of creativity and knowledge through free legal tools. They describe CC BY 4.0 as follows:

  > This license lets others distribute, remix, tweak, and build upon your work, even commercially, as long as they credit you for the original creation. This is the most accommodating of licenses offered. Recommended for maximum dissemination and use of licensed materials.
* **Use the** [**LaTeX Project Public License (LPPL)**](http://latex-project.org/lppl/) **for templates.** The [LaTeX project](http://latex-project.org/) is the open source project that develops LaTeX itself. LaTeX and most of the contributed packages are licensed under the LPPL, so putting your work under the same license is the simplest approach.

There are many licenses to choose from, and the relationships between them are complex, so we recommend keeping it simple and sticking to one of these two options.

If you find an example in our gallery that does not have clear license information, or which has contradictory license information, please [let us know](https://www.overleaf.com/contact), and we will try to resolve the issue with the contributor.


---

# 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/knowledge-base/047-how-are-the-contents-of-the-overleaf-gallery-licensed.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.
