从 LatexDraw 到 Overleaf

从 LatexDraw 到 Overleaf

如何在 Overleaf 上使用 LateXDraw PST 代码?我复制了代码,但当我尝试编译为 pdf 时,什么都没有发生。这是我从 Overleaf 上复制的 LateXDraw 生成的代码……出了什么问题?

    % \usepackage[usenames,dvipsnames]{pstricks}
% \usepackage{epsfig}
% \usepackage{pst-grad} % For gradients
% \usepackage{pst-plot} % For axes
% \usepackage[space]{grffile} % For spaces in paths
% \usepackage{etoolbox} % For spaces in paths
% \makeatletter % For spaces in paths
% \patchcmd\Gread@eps{\@inputcheck#1 }{\@inputcheck"#1"\relax}{}{}
% \makeatother
% % User Packages:
% 
% 

\psscalebox{1.0 1.0} % Change this value to rescale the drawing.
{
\begin{pspicture}(0,-1.5971154)(0.39423096,1.5971154)
\psdots[linecolor=black, dotsize=0.4](0.19711548,1.4000001)
\psdots[linecolor=black, dotsize=0.4](0.19711548,-1.4)
\end{pspicture}
}

相关内容