[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: graphics and sub and super scripts



You could place two text items --- one for the variable and one for
the subscript such as

v 20050313 1
A 510 400 200 224 272 3 0 0 0 -1 -1
{
T 510 400 5 10 0 1 0 0 1
device=none
T 1510 400 5 10 0 1 0 0 1
graphical=1
T 510 400 5 10 0 1 0 0 1
description=Symbols of mesh current.
}
T 446 350 8 10 1 1 0 0 1
refdes=i
T 510 320 8 6 1 1 0 0 1
sub=?
L 360 270 380 200 3 0 0 0 -1 -1
L 360 270 430 260 3 0 0 0 -1 -1

Since you are using LaTeX you may want to check out 
http://www.ece.uwaterloo.ca/~aplevich/Circuit_macros

Creating a schematic with the macros is quite a bit more difficult
than using gschem but it does produce some great looking graphics.

(* jcl *)

On 9/14/05, H.S. <hs.samix@xxxxxxxxx> wrote:
> 
> Hi,
> 
> Is there any method in geda or gschem which I can put pretty graphics in
> symbols? Specifically, I am trying to make an arc with an arrow that I
> can put in circuit examples to denote mesh currents. I am drawing the
> arrows using two lines currently. And the refdes inside the arc is
> supposed to i_? where ? is a number. Currently I am just using i?. Can I
> put superscripts or subscripts in gschem?
> 
> Here is a mesh current symbols I just made in gschem, comments are welcome:
> $> cat mesh-arc-clk-1.sym
> v 20050313 1
> A 510 400 200 224 272 3 0 0 0 -1 -1
> {
> T 510 400 5 10 0 1 0 0 1
> device=none
> T 1510 400 5 10 0 1 0 0 1
> graphical=1
> T 510 400 5 10 0 1 0 0 1
> description=Symbols of mesh current.
> }
> T 446 350 8 10 1 1 0 0 1
> refdes=i?
> L 360 270 380 200 3 0 0 0 -1 -1
> L 360 270 430 260 3 0 0 0 -1 -1
> 
> 
> thanks,
> ->HS
> 
>