Hello,
I am using rhe following code
==
\begin{circuitikz} \draw
(0,0) node[transformer] (T) {}
(T.A1) node[anchor=east] {}
(T.A2) node[anchor=east] {}
(T.B1) node[anchor=west] {}
(T.B2) node[anchor=west] {}
(T.base) node{T}
(T.B2) to[pD] (2,-2)
(T.B1) to[pD] (3,0)
(0.5,-1) to[R=$R$] (3,-1)
(2,-2) to[short, -] (3,-2)
(3,-2) to[short, -] (3,0);
\end{circuitikz}
==
to draw a transformer with median outlet. The problem is that I do not
have the precise coordinates of T.A1, T.A2, T.A3 and T.A4. How can I
have them, or at least draw a straight line (at the bottom) at the
place of a little slopped line that this code draws?
Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
We tend to be perfect. That’s why when we make mistakes we are hard
on ourselves.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkvbBxQACgkQM0LLzLt8Mhz8SgCfdKT+yQmQ0d8NrMM6RU630Uwb
6FIAni5R5nqxzkmtRkbzvJ6dqyjyFvA0
=Bj4z
-----END PGP SIGNATURE-----
Merciadri Luca <Luca.Me...@student.ulg.ac.be> writes:
> Hello,
>
> I am using rhe following code
>
> ==
> \begin{circuitikz} \draw
> (0,0) node[transformer] (T) {}
> (T.A1) node[anchor=east] {}
> (T.A2) node[anchor=east] {}
> (T.B1) node[anchor=west] {}
> (T.B2) node[anchor=west] {}
> (T.base) node{T}
> (T.B2) to[pD] (2,-2)
> (T.B1) to[pD] (3,0)
> (0.5,-1) to[R=$R$] (3,-1)
> (2,-2) to[short, -] (3,-2)
> (3,-2) to[short, -] (3,0);
> \end{circuitikz}
> ==
>
> to draw a transformer with median outlet. The problem is that I do not
> have the precise coordinates of T.A1, T.A2, T.A3 and T.A4. How can I
> have them, or at least draw a straight line (at the bottom) at the
> place of a little slopped line that this code draws?
The solution was given to me by the package's author:
==
\begin{circuitikz} \draw
(0,0) node[transformer] (T) {}
(0.5,-1) to[R=$R$] (3.5,-1)
(T.B2) to[pD] ($(T.B2)+(2,0)$) -| (3.5, -1)
(T.B1) to[pD] ($(T.B1)+(2,0)$) -| (3.5, -1)
;
\end{circuitikz}
==
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
Where there's a will, there's a way.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkvbK3cACgkQM0LLzLt8MhygLACeMmsdyYba+0vDEfAinNq3McuI
1J8AniqP45/o9+qG34fhBid/MDEiWtJD
=J7db
-----END PGP SIGNATURE-----