LaTeX templates and examples — latexmkrc
Recent

latexmkrc example how to set pdfcrop for includegraphics

An example of generating PDF/A and PDF/X documents using the pdfx package on Overleaf.

This project demonstrates how the xr package can be used on Overleaf to resolve labels in other .tex files that have not been \include-d in the main file. Make sure you enable the correct system call in latexmkrc, depending on the LaTeX engine you're using!

An example on using pTeX on Overleaf. See this help page and blog post for further details on using pTeX on Overleaf.

PSTricks drawings can't be compiled under pdflatex and lualatex (Frequently done errors #5). Instead, compilation with XeLaTeX is preferred if you need to use .jpg/.png/.pdf images in your project. But if you absolutely need to compile with pdflatex, this example demonstrates how to use PStricks with pdflatex using auto-pst-pdf on Overleaf (But you still can't use .jpg/.png/.pdf images within your PSTricks drawings).

This example demonstrates how to write polyphonic or instrumental music on Overleaf, using M-Tx (.mtx) syntax. This was made possible with a custom latexmkrc file. The music piece examples here were taken from the M-Tx documentation.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.