Skip to content

Instantly share code, notes, and snippets.

@tausen
Created October 11, 2012 08:35
Show Gist options
  • Save tausen/3871013 to your computer and use it in GitHub Desktop.
Save tausen/3871013 to your computer and use it in GitHub Desktop.
Pstricks & pst-circ example
\begin{figure}[h!]
\begin{centering}
\begin{pspicture}(5,3)
%\psgrid % uncomment to show grid :)
\resistor[dipolestyle=zigzag,labeloffset=0.6](1,2)(3,2){$R_1$}
\newcapacitor[arrows=*-](3,2)(3,1){$C_1$}
\newground[connectingdot=false](3,1)
\wire[arrows=-o,arrowscale=1.5](1,2)(0.5,2)
\wire[arrows=-o,arrowscale=1.5](3,2)(4,2)
\rput(0,2){$V_i$}
\rput(4.5,2){$V_o$}
\end{pspicture}
\caption{Pst-circ example}
\label{putlabelhere}
\end{centering}
\end{figure}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment