There are several possibilities for drawing such diagrams. Using the circuit macros, for example, you might use something like the following code:
.PS
cct_init
arrow down dimen_/3 then right_ dimen_*2/3 "$I_i$" above
{ line up_ dimen_*2/3 with .c at Here; "$V_i$" above }
arrowline(right_ dimen ...
Search found 5 matches
- Mon Mar 17, 2014 3:22 am
- Forum: Graphics, Figures & Tables
- Topic: Advice on drawing circuit diagram
- Replies: 3
- Views: 3976
- Sun Jun 17, 2012 11:29 pm
- Forum: Graphics, Figures & Tables
- Topic: Circuit Diagrams
- Replies: 4
- Views: 4807
Circuit Diagrams
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 ...
Cannot Open File C:\Program Files\MiKTeX\2.9\miktek ...
- Thu May 03, 2012 11:38 pm
- Forum: Graphics, Figures & Tables
- Topic: circuitikz | Electrical Circuits
- Replies: 4
- Views: 6671
Re: circuitikz | Electrical Circuits
There are several ways of including circuit diagram in LaTeX documents, but since you ask for alternatives, have a look at graphics/circuit_macros on a CTAN site, or look at examples at
https://ece.uwaterloo.ca/~aplevich/Circ ... mples.html
https://ece.uwaterloo.ca/~aplevich/Circ ... mples.html
- Fri Mar 11, 2011 7:21 pm
- Forum: Others
- Topic: Invoke M4 macrocompiler from LaTeX (AUCTeX)
- Replies: 5
- Views: 8627
Re: Invoke M4 macrocompiler from LaTeX (AUCTeX)
The \write18 statement writes to the operating system. The
commands executed by the operating system depend on what
the system is and, perhaps, on environment variables. You
might try the following:
Write a script that goes a suitable working directory,
invokes m4 on the source file,feeds the result ...
commands executed by the operating system depend on what
the system is and, perhaps, on environment variables. You
might try the following:
Write a script that goes a suitable working directory,
invokes m4 on the source file,feeds the result ...
- Thu Mar 10, 2011 1:49 pm
- Forum: Others
- Topic: Invoke M4 macrocompiler from LaTeX (AUCTeX)
- Replies: 5
- Views: 8627
Re: Invoke M4 macrocompiler from LaTeX (AUCTeX)
The backslashes in the path to pgf.m4 are the problem, since LaTeX is
trying to expand parts of the path as macros. One workaround is to
omit the first file read by m4 in the definition of mtopgf so that it reads
m4 #1.m4 ... but then the first line of each diagram source must be
include(<path>pgf ...
trying to expand parts of the path as macros. One workaround is to
omit the first file read by m4 in the definition of mtopgf so that it reads
m4 #1.m4 ... but then the first line of each diagram source must be
include(<path>pgf ...