[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: graphics and sub and super scripts
- To: geda-user@xxxxxxxx
- Subject: Re: gEDA-user: graphics and sub and super scripts
- From: John Luciani <jluciani@xxxxxxxxx>
- Date: Wed, 14 Sep 2005 07:22:28 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Wed, 14 Sep 2005 19:29:20 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hovgKbaZuiljJcmOxDUzfqoYCnlcFWWQi2D6GgD10Mo2H6eNj6ApR9ya6QkJtv8f8ZvueLCP3kwit6KIgvJ6kqwJBeH5OHnWPMmxuWSiMpeU2qV4zGExsY31Pep9P3EzXyMGLAVZ8rzIQ3vbU8J2oCSHyXlpkWtKtEtxA+LRHwA=
- In-reply-to: <dg8dv8$p2f$1@sea.gmane.org>
- References: <dg8dv8$p2f$1@sea.gmane.org>
- Reply-to: geda-user@xxxxxxxx
- Sender: owner-geda-user@xxxxxxxx
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
>
>