# Tag Info

14

Ok maybe not the cleanest solution ever, but I've written all circuit elemts by hand now and applyed some hacking to get the correct planes to draw on. The result: Drawing the botton and top elemts was not that hard, just performing some coordinate calculations. The top-to-bottom elements R8, R9 and R7 were easy too, as they lie on the xz plane so i could ...

13

Here is a solution using tikz. The main feature, I think, is that the pin labels are easy to edit/change. This is possibly fortunate because the labels below are roughly the same as the OPs for pins 1-16 but the remaining labels need to be changed as they just repeat the labels for the first 16 pins. Here is an image for what my code produces: and here is ...

12

The TikZ circuit library is inspired by circuitikz. From the TikZ manual (Chapter 29: Circuit Libraries): Written and documented by Till Tantau, and Mark Wibrow. Inspired by the work of Massimo Redaelli. Massimo Redaelli is the author of the circuitikz package. Apparently (see @CountZero's comment) the two are not compatible, However, as far as I know ...

12

Although the answer by Zarko is correct, the problem in your code (apart a bit of strange path building) is this line: \node (G1) at ([shift=({-1.3cm,0cm})]comp.-) {}; and you can see it if you substitute your code with: \node [draw=red](G1) at ([shift=({-1.3cm,0cm})]comp.-) {}; which gives: Nodes have a minimum size, and when they are connected the ...

11

Sorry. I went lost in your code, so I write new one, which reproduce desired result. I preserve coordinate (C) regardless that it is not needed for drawing this picture. \documentclass[margin=3mm]{standalone} \usepackage[siunitx,RPvoltages]{circuitikz} %Circuit Schematics/Diagram \usetikzlibrary{arrows,shapes,calc,positioning} \begin{document} \begin{...

9

You can simply use the generic circle IEC shape. So you would put \node (name) [generic circle IEC, draw] at (location) {A} for the Ammeter. Just replace the A with a V for the voltmeter. If this is not exactly what you mean or you need additional information on how to apply it to your specific case, you should provide a minimal working example showing the ...

9

With TiKz: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw (0,0)coordinate (O)--++(30:1)coordinate (A)--++(90:4)coordinate (B)--++(150:1)coordinate (C)--cycle; \draw ($(A)!0.5!(B)$)--++(0:1)node[right]{$F$}; \draw ($(O)!0.5!(A)$)--++(-90:1)--++(180:2)node[left]{$b$}; \draw ($(O)!0.25!(A)$)--++(-90:...

9

Inspired by the code given by @qubyte HERE and after adding some new quantum logic gates and patience, drawing the plot is possible. Information: more inform Code \begin{document} \begin{tikzpicture}[thick] % operator' will only be used by Hadamard (H) gates here. % operator2' is for large U gates % phase' is used for controlled phase gates (dots). ...

7

I believe I can help with your first two points. It allows upsidedown labels. This is because you have the sloped option set. If you turn that off, then your right-hand example becomes That fixes the upsidedown labels. But then... Sometimes labels overlap the arrow. This can be fixed by giving the auto option for your voltage info nodes. ...

7

The problem with the labels in the operationals is that the point at which the label is centered is not at the right place. This can be easily spotted if you use a \bullet as label. It is not the "center" of the node either, as can be seen by drawing a red dot at (0,0): \begin{circuitikz} \fill[red] (0,0) circle(2pt); \draw (0,0) node[op amp] (opamp) {$\... 7 The circuits.logic.IEC library offers an and gate that gives you as many input anchors as required: \documentclass{article} \usepackage{circuitikz} \usetikzlibrary{circuits.logic.IEC,calc} \begin{document} \begin{circuitikz}[circuit logic IEC] \node[and gate,inputs={nnnnnnnn},and gate IEC symbol={},text height=3cm, ] (A) {}; \foreach \Valor in {1,...,8} {... 7 You can invert the voltage source by changing the counting direction of the voltage using v<=$V$Your full example will look like: \documentclass{article} \usepackage{graphicx} \usepackage[american]{circuitikz} \begin{document} \begin{figure} \centering \begin{circuitikz} \draw (0,0) to[V,v<=$V$] (0,3) ... 6 Here is a node; it is based upon the circle shape, so you can set its size with the minimum width key. It is not yet finished (I was not able to use it with the to[...] syntax, and I probably need some advices, because I don't really know how to make this) \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{circuits} \begin{document} \... 6 Here is a Circuitiz component version for a general 64 Lead Quad Flat Package. (My OCD seems to be acting up.) Of course, I usually stick components into a separate file where I never have to look at the code again. \documentclass{standalone} \usepackage{circuitikz} \newlength{\ResUp} \newlength{\ResDown} \newlength{\ResLeft} \newlength{\ResRight} % ****... 6 Currently the current arrow color is set to the same color as everything else. But one can always redefine and add things. \documentclass{standalone} \usepackage{circuitikz} \makeatletter \ctikzset{current arrow color/.initial=black}% create key \pgfdeclareshape{currarrow}{ \anchor{center}{ \pgfpointorigin } \anchor{tip}{ \... 6 I don't really use this library but here is a definition based on the existing Zener diode shape. I made up the distances so bettercheck the standards. And the gate anchor is missing. \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \tikzset{ thrystor IEC graphic/.style={ diode IEC graphic, /pgf/generic diode IEC/before ... 6 It's not too difficult to suppress the fourth line in ground nodes: \documentclass{article} \usepackage{circuitikz} \makeatletter \pgfdeclareshape{ground}{ \anchor{center}{ \pgfpointorigin } \behindforegroundpath{ \pgf@circ@res@step=\ctikzvalof{monopoles/ground/width}\pgf@circ@Rlen \pgfscope \... 6 It is possible using TiKz library tikz-relay (https://ctan.org/pkg/tikz-relay): \documentclass[margin=3mm]{standalone} \usepackage{circuitikz,tikz} \usetikzlibrary{circuits.ee.IEC.relay} \begin{document} \begin{circuitikz}[circuit ee IEC relay,thick] \draw (0,0) to [relay coil={info=$K_1$,term=A1,term'=A2}] (0,1); \end{circuitikz} \end{document} 6 Like this ? Edited the resistor code to make this custom element customW. \documentclass[border=3mm]{standalone} \usepackage{circuitikz} \makeatletter \pgfcircdeclarebipole{}{\ctikzvalof{bipoles/resistor/height}}{customW}{\ctikzvalof{bipoles/resistor/height}}{\ctikzvalof{bipoles/resistor/width}}{ \pgfsetlinewidth{\pgfkeysvalueof{/tikz/circuitikz/... 5 You can supply pos=1 to the ground key to position the symbol at the end of the line instead of in the middle: \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture}[circuit ee IEC] \draw (0,0) to [ground={pos=1}] (3,0); \end{tikzpicture} \end{document} Or, as percusse suggested in a comment, you ... 5 Two things are required to get Lionel's node to work like the other circuit components: You need to declare the symbol using circuit declare symbol=<name>, set <name> graphic={shape=<shape name>, draw, transform shape,...}, and you need to construct the shape around the local origin. Here's one way of doing this (note that I used the ... 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} \... 5 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 A PSTricks solution: \documentclass{article} \usepackage[ margin = 2.3cm % avoids overfull \hbox' warning ]{geometry} \usepackage{mathtools} \usepackage{multido} \usepackage{pst-node} % idea taken from http://tex.stackexchange.com/a/24133/15874 \makeatletter \newcommand*\textoverline{$\overline{\hbox{#1}}\m@th\$} \makeatother % labels \def\Left(#1)...

5

Dependently on the complexity of your use-cases and how many of these shapes you need … here is a start. The answer consists the following: A shape declaration that borrows the rectangle ee definition from the circuits.ee (which is just a borrowed rectangle shape with .input and .output anchors). I also borrow from the linked TeXample for the text inside ...

5

In circuitikz, you can use generic which is a rectangular blob: \documentclass[border=10pt]{standalone} \usepackage[siunitx, RPvoltages]{circuitikz} %\usepackage[siunitx, RPvoltages]{circuitikzgit} \begin{document} \begin{circuitikz}[ ] \ctikzset{relaycoil/.style={bipoles/generic/width=0.3, bipoles/generic/height=0.4}} \draw (0,0) to[...

5

If you use the new version (0.9.2, but it's here since 0.9.0) you can use the new generic instruments: \documentclass[border=10pt]{standalone} \usepackage[siunitx, RPvoltages]{circuitikz} %\usepackage[siunitx, RPvoltages]{circuitikzgit} \begin{document} \begin{circuitikz}[ ] \draw (0,0) to[battery2, v=f, ] (0,4) to[R=R, -*] (4,4) to[...

4

transform shape does the job, as suggested by Peter Grill above. The following style definition works for me. \tikzset{current source IEC graphic/.style={ circuit symbol lines, circuit symbol size = width 3 height 3, shape = generic circle IEC, /pgf/generic circle IEC/before background={ % What do I put here? %\draw[->,...

4

When specifying coordinates, don't use empty \nodes, but use \coordinate (<name>) (or, equivalently, \node [coordinate] (<name>) {}). Empty nodes still contain some white space, caused by the inner sep and outer sep, so your lines don't join properly. In your code, the line to ++(0,1) node (lower fork) {} could be replaced by either of to ++(...

Only top voted, non community-wiki answers of a minimum length are eligible