Tag Info

New answers tagged

4

I'd like to propose here an alternative, using the ground symbol from the circuits.ee.IEC library and using the powerful forest package to draw the tree: The code: \documentclass{llncs} \usepackage{llncsdoc} \usepackage{tikz} \usetikzlibrary{shapes.geometric,arrows,fit,matrix,positioning,pgfplots.groupplots,circuits.ee.IEC} \usepackage{forest} \tikzset{ ...


5

After one hour investigation, removing -> from tikzpicture environment to path command will solve the problem. Code \documentclass{llncs} \usepackage{llncsdoc} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{shapes.geometric,arrows,fit,matrix,positioning,pgfplots.groupplots} \usepackage{circuitikz} \begin{document} ...


0

\documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{figure}[h!] \begin{center} \begin{circuitikz} \draw (0,0) toshort (0,0)to[battery] (0,4) % The voltage source to[diode] (1.5,4) toshort to[inductor=$L1$] (4,4) % The resistor toshort; \draw(9,0)toshort; %(2,4)tocapacitor \draw(3,0)to[inductor=$L2$] (4,0); ...


1

The problem is that pgfcirctripoles.sty defines the path of the shape and then draws it independently of your options, instead of just declaring the path and not using it. If you modify the definition of the or ports in line 498 of pgfcirctripoles.sty as follows: \pgfcircdeclarelogicport{or}{ \pgfpathmoveto{\pgfpoint {\pgf@circ@res@left} ...


5

Since the circle is already drawn, adding an N inside is not that difficult. One approach consists in adding a node: \documentclass [tikz,border=10pt]{standalone} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0, 0) to[sV] (0, 6) (0, 6) -- (7, 6) (7, 6) -- (7, 5) (7, 5) to[R] (5, 3) (5, 3) ...


1

I have finally managed to apply percusee's answer (here) to my problem. It works with the following loop: \makeatletter \foreach \n in {0,...,7}{ \xdef\doanchor{ \noexpand\anchor{in\n}{ \noexpand\pgfpoint{.5*\w}{7*.25cm-\n*.5cm} } } \doanchor } \makeatother



Top 50 recent answers are included