Graphics, Figures & Tables ⇒ Making Circuit Diagrams
Making Circuit Diagrams
Hello,
I have been trying to reproduce this example
http://www.texample.net/tikz/examples/circuitikz/
with no success.
I think my main problem is installing the Tikz package which I tried to install it a few times with no success, anyone out there can explain or know how to install it. I downloaded the package from the source above and also from
http://www.ctan.org/tex-archive/help/Ca ... s/pgf.html
and I am not sure where to put them or how its called from TXC other than \usepackage{tikz}
Thanks
I have been trying to reproduce this example
http://www.texample.net/tikz/examples/circuitikz/
with no success.
I think my main problem is installing the Tikz package which I tried to install it a few times with no success, anyone out there can explain or know how to install it. I downloaded the package from the source above and also from
http://www.ctan.org/tex-archive/help/Ca ... s/pgf.html
and I am not sure where to put them or how its called from TXC other than \usepackage{tikz}
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Making Circuit Diagrams
Hi,
I guess you're using MiKTeX. In that case install the pgf package using the MiKTeX package manager: Start/MiKTeX/Browse packages. pgf contains TikZ.
\usepackage{tikz} is ok but \usepackage[symbols]{circuitikz} is needed too.
Stefan
I guess you're using MiKTeX. In that case install the pgf package using the MiKTeX package manager: Start/MiKTeX/Browse packages. pgf contains TikZ.
\usepackage{tikz} is ok but \usepackage[symbols]{circuitikz} is needed too.
Stefan
LaTeX.org admin
Re: Making Circuit Diagrams
thanks Stefan,
but I am not really sure what you are directing me to, because I opened the MiKTeX and found the pgf but whats the point?
when I run that code on TXC it gives me errors because of the errors shown on the attached pdf file... any idea how to fix it ?
sorry I am new to this
Thanks
but I am not really sure what you are directing me to, because I opened the MiKTeX and found the pgf but whats the point?
when I run that code on TXC it gives me errors because of the errors shown on the attached pdf file... any idea how to fix it ?
sorry I am new to this

Thanks
- Attachments
-
- error2.pdf
- Error Output .pdf
- (107.09 KiB) Downloaded 321 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Making Circuit Diagrams
You better attach the complete log file instead of this unhelpfully low quality picture which only shows a small section. Image files in several formats can also be uploaded to the forum server without the unnecessary conversion to PDF.
Make sure that you correctly installed the pgf package. You can check that by looking at the »Installed on« column in the MiKTeX Package Manager. In the MiKTeX Options you can also choose to install required packages »on the fly«.
Best regards
Thorsten
Make sure that you correctly installed the pgf package. You can check that by looking at the »Installed on« column in the MiKTeX Package Manager. In the MiKTeX Options you can also choose to install required packages »on the fly«.
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Making Circuit Diagrams
I installed everything as downloaded from LateX project and I have had no problems except when I copy & paste the code of the circuit I get those errors,
I just checked the *Install on* seems to be installed correctly see the image packages.jpg , I also attached the log file (Thanks for that!).
Fayez
I just checked the *Install on* seems to be installed correctly see the image packages.jpg , I also attached the log file (Thanks for that!).
Fayez
- Attachments
-
- cir.log
- Log File
- (12.91 KiB) Downloaded 327 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Making Circuit Diagrams
Your version of pgf is out of date. Update your MiKTeX System or at least the concerned package.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Making Circuit Diagrams
Thanks very much, its working now. although with too many errors but at least I have something to work with.
Fayez
Fayez
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Making Circuit Diagrams
It is strongly recommendable to fix all occurring errors before continuing with the document.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10