Welcome to the PSTricks web site Using PSTricks and TikZ |
||||||||||||||||||||||||||
|
\documentclass{article} \usepackage{auto-pst-pdf} \ifpdf \usepackage{tikz} \else \usepackage{pst-plot} \fi \begin{document} \begin{pspicture}[showgrid](4,4) \psdot[dotscale=10](2,2) \end{pspicture} \tikz\draw (0,0) -- (1,3) -- (3,0); \end{document} Using lualatex instead of pdflatex makes more sense here: \RequirePackage{pdfmanagement-testphase} \DocumentMetadata{} \documentclass{article} \usepackage{tikz} \usepackage{pst-plot} \begin{document} \begin{pspicture}[showgrid](4,4) \psdot[dotscale=10](2,2) \end{pspicture} \tikz\draw (0,0) -- (1,3) -- (3,0); \end{document} |