Getting pst-poker to work

Using lualatex --shell-escape <file>:

\documentclass{article}
\usepackage{pst-poker}
\usepackage{auto-pst-pdf-lua}

\begin{document}
\begin{postscript}
\As \crdAs
\end{postscript}
\end{document}

enter image description here

Package auto-pst-pdf-lua


Compile with latex-dvips-ps2pdf sequence or xelatex.

Example 1

\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-poker}
\begin{document}
\crdAs
\end{document}

enter image description here

Example 2

\documentclass[pstricks,border=12pt]{article}
\usepackage{pst-poker}
\begin{document}
\Ah
\Ad
\Ac
\As
\crdAh
\crdAd
\crdAc
\crdAs
\end{document}

enter image description here

Tags:

Pstricks