Maker Pro
Maker Pro

exporting schematic for latex and changing paper size in geda

H

H. S.

Jan 1, 1970
0
Hi,

I am currently experimenting with geda and ngspice to simulate basic
circuits (for a Circuits Analyses course). I drew a basic circuit in
geda and exported it as netlist and got:
#######################################################
$> gnetlist -v -g spice-sdb sch_1.sch -o sch_1.net
... (followed by lots of output) ...
$> cat sch_1.net
* gnetlist -v -g spice-sdb -o sch_1.net sch_1.sch
*********************************************************
* Spice file generated by gnetlist *
* spice-sdb version 10.9.2004 by SDB -- *
* provides advanced spice netlisting capability. *
* Documentation at http://www.brorson.com/gEDA/SPICE/ *
*********************************************************
V1 2 3 10V
R2 1 3 50K
R1 2 1 100K
..END
#######################################################


I was wondering:
1. How can I specify within geda which nodes I want monitored during a
simulation? Or do I specify them on ngspice command line, or in the
output .net file?
2. How do I export the schematic so that I can include it in a LaTeX
file (as PS file perhaps)? I tried exporting it as PNG but I get the
whole big 'sheet' with my tiny circuit in the middle.
3. How do I change the size of the 'sheet' or paper so that it is just
big enough to accomodate my little circuits?

thanks,
->HS
 
D

dlharmon

Jan 1, 1970
0
Hi,

I am currently experimenting with geda and ngspice to simulate basic
circuits (for a Circuits Analyses course). I drew a basic circuit in
geda and exported it as netlist and got:
#######################################################
$> gnetlist -v -g spice-sdb sch_1.sch -o sch_1.net
... (followed by lots of output) ...
$> cat sch_1.net
* gnetlist -v -g spice-sdb -o sch_1.net sch_1.sch
*********************************************************
* Spice file generated by gnetlist *
* spice-sdb version 10.9.2004 by SDB -- *
* provides advanced spice netlisting capability. *
* Documentation at http://www.brorson.com/gEDA/SPICE/ *
*********************************************************
V1 2 3 10V
R2 1 3 50K
R1 2 1 100K
.END
#######################################################


I was wondering:
1. How can I specify within geda which nodes I want monitored during a
simulation? Or do I specify them on ngspice command line, or in the
output .net file?
2. How do I export the schematic so that I can include it in a LaTeX
file (as PS file perhaps)? I tried exporting it as PNG but I get the
whole big 'sheet' with my tiny circuit in the middle.
3. How do I change the size of the 'sheet' or paper so that it is just
big enough to accomodate my little circuits?

thanks,
->HS

First of all, you would get much better answers on the geda-user mailing
list. http://geda.seul.org/mailinglist/index.html

Print doesn't actually print anything, but produces postscript. There is
an option to print what is currently displayed. I just zoom in until I
just have what I want, and then use the print dialog. There is also an
option for extents with margins and extents without margins. These methods
have worked for me in the past to get schematics into LaTeX.

Darrell Harmon
http://dlharmon.com/dspcard
 
Top