Graphics, Figures & Tables ⇒ Making Circuit Diagrams
Making Circuit Diagrams
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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Making Circuit Diagrams
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
Re: Making Circuit Diagrams
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 320 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Making Circuit Diagrams
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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Making Circuit Diagrams
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 325 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Making Circuit Diagrams
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Making Circuit Diagrams
Fayez
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Making Circuit Diagrams
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10