Using PSTricks with pdflatex on Overleaf

Author
LianTze Lim (Overleaf)
View Count
1763
License
Creative Commons CC BY 4.0
Abstract

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).

Using PSTricks with pdflatex on Overleaf