我正在尝试让 PSTricks 工作。我已经安装了 PSTricks 并更改了 TexStudio 中的 shell 转义。现在我收到以下错误:
File ´luatex85.sty' not found. \else
我无法通过 google 找到任何有用的东西。
这是乳胶代码:
\documentclass[11pt]{article}
\usepackage{auto-pst-pdf}
\usepackage{pst-intersect}
\begin{document}
\psset{unit=2}
\begin{pspicture*}(-0.5,-0.5)(3,3)
\psaxes{->}(0,0)(2.75,2.75)[$x$,-90][$y$,90]
\psset{algebraic,plotpoints=51,linewidth=1.5pt}
\pssavepath[linecolor=red!40]{Pa}{\psplot{0.15}{3}{1/x}}%
\pssavepath[linecolor=blue!40]{Pb}{\psplot{0.15}{3}{2/x}}%
\pssavepath[linecolor=green!40]{Pc}{\psplot{0}{3}{(x-1)*(x+1)}}%
\pssavepath[linecolor=yellow]{Pd}{\psplot{0}{3}{(x-2)*(x+2)}}%
\psintersect[name=A]{Pa}{Pc}\psintersect[name=B]{Pa}{Pd}
\psintersect[name=C]{Pb}{Pc}\psintersect[name=D]{Pb}{Pd}
\pscustom[fillcolor=magenta,fillstyle=solid,linestyle=none]{%
\psplot{\psGetIsectCenter{A}{}{1} I-A1.x}%
{\psGetIsectCenter{C}{}{1} I-C1.x}{(x-1)*(x+1)}
\psplot{\psGetIsectCenter{C}{}{1} I-C1.x}%
{\psGetIsectCenter{D}{}{1} I-D1.x}{2/x}
\psplot{\psGetIsectCenter{D}{}{1} I-D1.x}%
{\psGetIsectCenter{B}{}{1} I-B1.x}{(x-2)*(x+2)}
\psplot{\psGetIsectCenter{B}{}{1} I-B1.x}%
{\psGetIsectCenter{A}{}{1} I-A1.x}{1/x}
}
\end{pspicture*}
\end{document}
任何帮助,将不胜感激。