in Overleaf kann ich folgenden Code in ein Dokument umwandeln.
\documentclass[a4paper]{article} %% Language and font encodings \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} %% Sets page size and margins \usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry} %% Useful packages \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage[colorlinks=true, allcolors=blue]{hyperref} \title{Your Paper} \author{You} \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 \begin{document} test \begin{figure}[b] \centering \begin{pspicture}(0,-3.0102503)(6.1583786,3.0102503) \definecolor{colour0}{rgb}{0.0,0.6,0.2} \definecolor{colour1}{rgb}{0.2,0.6,0.0} \psline[linecolor=colour0, linewidth=0.04, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.7783785,-0.33974975)(2.7783785,2.8602502) \psline[linecolor=colour0, linewidth=0.04, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.7783785,-0.33974975)(5.9783783,-0.33974975) \psline[linecolor=colour1, linewidth=0.04, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.7783785,-0.33974975)(5.578378,1.6602502) \rput[bl](2.7983785,2.8602502){z} \rput[bl](5.578378,1.6602502){x} \rput[bl](5.9783783,-0.20316438){y} \psline[linecolor=black, linewidth=0.1, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.735135,-0.36137137)(4.8972974,1.1521422) \psline[linecolor=black, linewidth=0.1, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.772866,-0.34483016)(0.15686376,0.78965497) \psline[linecolor=black, linewidth=0.1, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.7832804,-0.38081387)(4.859963,-2.331118) \psline[linecolor=black, linewidth=0.1, arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.0]{->}(2.7771602,-0.33568308)(2.7904074,-3.1870596) \rput[bl](4.71185,0.58997995){$F_1$} \rput[bl](4.6486487,-1.81002){$F_2$} \rput[bl](0.0,0.94673675){$F_3$} \rput[bl](1.9135135,-2.7073174){$F_G$} \psbezier[linecolor=black, linewidth=0.04](3.9243243,-0.36137137)(3.959107,-0.5642699)(3.7699962,-1.0657976)(3.6192715,-1.1933337746607833) \rput[bl](3.38752,-0.73350674){$\alpha$} \rput[bl](2.4602067,0.034609217){$\alpha$} \psbezier[linecolor=black, linewidth=0.04](1.9103422,0.022418957)(2.1968353,0.6105745)(3.202473,0.6920342)(3.5536609,0.2777916767792743) \end{pspicture} \end{figure} hf \end{document}
! Undefined control sequence. <recently read> \c@lor@to@ps l.128 ...m 2.0,arrowlength=1.4,arrowinset=0.0]{->} (2.7783785,-0.33974975)(2.... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. \XC@usec@lor ...\expandafter \c@lor@to@ps #1#2\@@ \else \expandafter \expand... l.128 ...m 2.0,arrowlength=1.4,arrowinset=0.0]{->} (2.7783785,-0.33974975)(2.... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct ......
Vielen Dank und schöne Grüße
Vaschan