TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

In Tikz there is an opportunity to draw logical gates,... I was wondering if it is possible (and easy) to make custom components, like a CMOS-transistor, a Multiplexer, flip-flop,... Perhaps these components also exists. However I was wondering how it is possible to make them myself.

Additionally I have noticed you can of course define anchor points to these components. Like (AND.input 1). How are these anchors defined?

share|improve this question
up vote 5 down vote accepted

There is a D-FlipFlop example in TeXample.

You can find some more references about drawing circuits in A good tool to make electronic schematics and export them vectorially?

share|improve this answer
The D-FlipFlop example made a lot of things clear. Thnx! – Willem Van Onsem Apr 1 '11 at 12:08

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.