Graphics, Figures & Tables ⇒ Circuit Diagrams
-
New to TeX
- Posts: 4
- Joined: Sun Jun 10, 2012 10:53 am
Circuit Diagrams
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Circuit Diagrams
welcome to the board!
Sure, it can be installed on MiKTeX. You need to install m4, dpic, and that macro collection. It's described here, also regarding MiKTeX 2.9 on Windows 7: M4 Circuit Macros - Installation.
Do you really need Circuit_Macros or do you just want to try it? Perhaps have a look at
circuitikz, it's easier to install, simply use the MikTeX package manager and install the packages pgf and circuitikz.Regarding pgf and TikZ, there's already a circuit library in TikZ. You can read about it in the
TikZ manual, in 29 Circuit Libraries. Using circuitikz or TikZ has the advantage, that once you learned TikZ, you can do many other things with it, because TikZ is a very capable graphics package.Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Circuit Diagrams
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
New to TeX
- Posts: 4
- Joined: Sun Jun 10, 2012 10:53 am
Re: Circuit Diagrams
Cannot Open File C:\Program Files\MiKTeX\2.9\miktek\bin\\README.TXT
Im stuck.
Circuit Diagrams
You have a configuration problem but unless you give a minimal example or a log file it is impossible to know where it is. However, you have to read your library files and source files into m4 and feed the result into dpic so your command should look something like the following:New to TeX wrote:I want to use it because I believe its better. I have done all the set-up instructions I tried placing the example.m4 into C\Users\Username\texmf\Circuit_Macros, however when I go dpic -p example.m4 > example.tex I get the following error warning
Cannot Open File C:\Program Files\MiKTeX\2.9\miktek\bin\\README.TXT
Im stuck.
Code: Select all
m4 -I <macro directory> pstricks.m4 example.m4 | dpic -p > example.tex