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

Re: gEDA-user: LaTeX in schematics



On Mon, 2007-11-26 at 18:11 +0000, Peter TB Brett wrote:
> On Monday 26 November 2007 12:39:39 Dan McMahill wrote:
> > Kai-Martin Knaak wrote:
> > > On Sat, 24 Nov 2007 21:48:20 +0100, Christoph Lechner wrote:
> > >> Having something TeX-/LaTeX-like in gschem would be a wonderful feature.
> > >> But I don't have any clue how to do this.
> > >
> > > xfig seems to do it the right way:
> > > It produces two files --- an eps file with all the graphics and a tex
> > > file to include into your latex document. The commands in the latex file
> > > typeset the text and place it at the proper place.
> >
> > I think that is the opposite of what the original poster was looking
> > for.  
> 
> Actually, that's exactly what I was looking for.

Another way (in this case), is then to use gschem's standard text, but
restrict yourself to a single letter "key" for where you want various
text, then use psfrag to replace those letters with LaTeX equations.

See attached:

And use the following in LaTeX just prior to importing the image:

\psfrag{E}[Br]{$E_1$}
\psfrag{L}[Bc]{$\mathbf{M}_{1,1}$}
\psfrag{R}[Bc]{$R_\mathrm{coil} \times N_\mathrm{coils}$}
\psfrag{M}[Bc]{$\underset{n}{\overset{n\neq1}\sum}\left(\mathbf{M}_{1,n}\times\frac{dI_n}{dt}\right)$}
\psfrag{I}[Bl]{$I_1$}
\psfrag{V}[Bc]{$V_1$}
\psfrag{r}[Bl]{$R_\mathrm{load}$}
\psfrag{o}[Bc]{(Other phases)}
\psfrag{+}[cc]{$+$}
\psfrag{-}[Bc]{$-$}
\psfrag{p}[cl]{$+$}
\psfrag{m}[cl]{$-$}

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)

Attachment: resistive_phase.sch
Description: application/geda-schematic


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user