TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've represented an IC circuit using circuitikz, but it's a bit too rough to what I prefer. In particular I would like to use relative coordinates in this case and connect them to the ``IC device'' so that I don't have to guess where to place components. I would also like to scale the figure and maintain the integrity of the circuit. (Remove scale = 1.4 to get the unbroken circuit)

Any suggestions?


%----IC device: 555 astable timer, or square wave oscillator
\tikzstyle{icdev}=[draw, text width=6em, minimum height=8em]
\begin{tikzpicture}[every node/.style = {font = \footnotesize},scale = 1.4]
    \draw (0,4)
    to[short,o-] (0.8,4)
    to[/tikz/circuitikz/bipoles/length=0.7cm,R] (0.8,2.4)
    to[/tikz/circuitikz/bipoles/length=0.7cm,R] (0.8,1.8)
    to[/tikz/circuitikz/bipoles/length=0.7cm,C] (0.8,0.2) -- (0.8,0)
    to[short,-o] (0,0);
    \node (digichip) [icdev,xshift=3cm,yshift=2cm] {};
% top terminal pins - 4 RESET, 8 Vcc
    \path [draw](0.8,4) -| (2.5,3.4) node[below]{RESET} node[above left]{4};
    \path [draw](2.5,4) -| (3.5,3.4) node[below]{$V_{cc}$} node[above left] {8};
% bottom terminal pins - 1 GND  , 5 CTRL
    \path [draw](0.8,0) -| (2.5,0.6) node[above]{GND} node[below left]{1};
    \path [draw](2.5,0) -- (3.5,0)
        node[above]{CTRL} node[below left]{5};
% leftside terminal pins - 7 DIS, 6 THR, 2 TRG
    \draw (0.8,2.6) -- (1.83,2.6) node[right]{DIS} node[above left]{7}
        (1.2,1.5) |- (1.83,2) node[right]{THR} node[above left]{6}
        (0.8,1.5) -- (1.83,1.5) node[right]{TRG} node[above left]{2};
% rightside terminal pin - 3 out
    \draw (4.17,2) node[left]{Out} -- (4.8,2) node[above left]{3};

IC device - bad/good

share|improve this question
up vote 2 down vote accepted

for the scale problem, use [scale=1.4,transform shape] instead of [scale=] for the other item, not enough experience

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.