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

I want to draw the circuits below, however, the code doesn't work. would someone help me?

enter image description here






share|improve this question
None of the \sb... commands is defined... – Tom Bombadil Jul 29 '12 at 13:03

You need to include the schemabloc package1:




share|improve this answer
thanks,I tried it, however there is still error says "please type another file name",why? – sweetyBaby Jul 29 '12 at 13:15
You probably need to download and install that package first. (The download link can be found on the referenced page on texample.net) – knittl Jul 29 '12 at 13:23
@sweetyBaby usually that error comes when you try to overwrite the pdf and in the meanwhile you visualize it with adobe reader. This reader doesn't allow to overwrite files while open, so close your file before compiling or use a viewer that allows that (SumatraPDF on Windows) – Spike Jul 29 '12 at 13:35
@Spike in fact I don't use any viewer or visualize it when I compiling the file~~ – sweetyBaby Jul 29 '12 at 16:08
@sweetyBaby And what happens if you just press ENTER when the compilation stops? Anyway, I think that you should edit the first post and report the useful part of the .log file – Spike Jul 29 '12 at 16:32

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.