> 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/templates/licensing-and-copyright.md).

# Licensing and copyright

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.

{% hint style="info" %}
Any licensing restrictions or conditions expressed in the template apply to the template source code itself (e.g., if you modify and distribute the .tex or .cls files). Generally, copyright does not extend to the layout, style, or formatting of the produced work (the PDF), and you are not required to acknowledge the template author in your text.

However, exceptions may exist if the template includes original, copyrightable elements (such as custom graphics, illustrations, university logos, or substantial boilerplate text) that you choose to leave in your final document. In those specific cases, the license of the template (such as an attribution requirement) may apply to your use of those specific visual or textual elements.
{% endhint %}

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:

```
GET https://docs.overleaf.com/templates/licensing-and-copyright.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
