[pstricks] pdfpages and pstricks

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Feb 1 10:18:34 CET 2015


Am 31.01.2015 um 14:02 schrieb Poul Riis:
> OK, thank you, but next I want to put my pdf picture on top of a
> pstricks picture. How can I do that?
> The suggestion below does not show the pdf picture.

run this document with xelatex and use \includegraphics instead
of \includepdf. It knows the optional argument page=nn

\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{pstricks-add}
\usepackage[left=3cm,right=1.5cm,top=1.5cm,bottom=1.5cm]{geometry}

\begin{document}

\psset{unit=2cm}
\begin{pspicture}[showgrid](-4.05,-0.25)(4.05,5)
\psaxes[ticksize=0 -3pt,arrows=->](0,0)(-4.05,0)(4.05,5)
\rput(-3,1){\includegraphics[page=1,width=0.25\textwidth]{/tmp/pdftest.pdf}}
\end{pspicture}

\end{document}

Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-02-01 10:16:12.png
Type: image/png
Size: 18169 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20150201/8289fefe/attachment-0001.png>


More information about the PSTricks mailing list