Graphics, Figures & Tables ⇒ Bezier Curve
Bezier Curve
I looked in the latex-community website about the pst-bezier package to draw bezier curve. I downloaded and I tried to follow the following example from the pdf file http://www.tex.ac.uk/tex-archive/graphi ... er-doc.pdf
1 \documentclass{minimal}
2 \usepackage{pstricks}
3 \usepackage{pst-bezier}
4 \begin{document}
5 \begin{pspicture}(6,4)
6 \psbcurve(1,2)(5,2) % Draw just one straight line.
7 \end{pspicture}
8 \end{document}
But I got the following error:
! undefined control sequence.
<recently read> \c@lo@to@ps
\end
{pspicture}
?
Can you help me to see where is the problem?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
josephwright
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Bezier Curve
Re: Bezier Curve
Did you get a pdf with the curve? I tried to texify it to get PdF and that error occurs. When I texify it to get DVI, it works fine, so I wonder how to use it in my document?
Regards,
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bezier Curve
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10