PDA

View Full Version : LaTeX & pst-circ


Astrophysiker
March 29th, 2008, 06:16 AM
I have a problem with the pst-circ package. I used this example as source code:
\documentclass[a4paper,10pt]{article}

\usepackage{pst-circ}
%opening
\title{}
\author{}

\begin{document}

\pnode(0,1){A}
\pnode(3,1){B}
\pnode(3,3){C}
\resistor(A)(B){$R$}
\resistor(B)(C){$R_2$}
\end{document}
but the output (dvi and pdf) shows the labels at the wrong place. Here my dvi-file:
DVI (http://astrophysiker.as.funpic.de/test.dvi)
Putting more element means more labels at the same place.
Has somebody an idea whats going wrong?

Thx, Astro

beren.olvar
March 29th, 2008, 08:35 AM
nvm

beren.olvar
March 29th, 2008, 08:39 AM
in the thread you posted before is the solution

you have to do as follows:

latex circuit.tex
dvipdf circuit.dvi
evince circuit.pdf

that worked for me

cheers

Astrophysiker
March 29th, 2008, 09:17 AM
Ok, the pdf-file is correct. Is there any possibility to show also the dvi-file correctly?