Site index page
Site Settings page

PSTricks test

XeTeX

XeTeX needs a custom configuration to work with pstricks with recent ghostscript releases.

% !TeX xelatex
\documentclass[varwidth]{standalone}

\usepackage{pstricks-add}

\begin{document}
\psset{fillstyle=solid,linewidth=0.1,opacity=0.4,strokeopacity=0.7}

\begin{pspicture}(-3.48,-3.06)(3.48,3.48)
\pscircle[fillcolor=green,linecolor=green](2;135){2cm}
\pscircle[fillcolor=red,linecolor=red](2;45){2cm}
\pscircle[fillcolor=blue,linecolor=blue](1;-90){2cm}
\end{pspicture}
\end{document}

LuaTeX

LuaTeX PSTricks needs (April 2022) a latex-dev release or the PDF Management test code

% !TeX lualatex-dev

\DocumentMetadata{}
\documentclass[varwidth]{standalone}


\usepackage{pstricks-add}

\begin{document}
\psset{fillstyle=solid,linewidth=0.1,opacity=0.4,strokeopacity=0.7}

\begin{pspicture}(-3.48,-3.06)(3.48,3.48)
\pscircle[fillcolor=green,linecolor=green](2;135){2cm}
\pscircle[fillcolor=red,linecolor=red](2;45){2cm}
\pscircle[fillcolor=blue,linecolor=blue](1;-90){2cm}
\end{pspicture}
\end{document}