Paul Smith wrote:
> Thanks, Rich. Xfig is also able to produce eps pictures. I am using
> "insert-->external material" because I would like to have things like
> $\delta$ (LaTeX code) displayed over the picture, in the dvi file, as
> LaTeX would output it, i.e., showing the Greek letter and not the LaTeX
> code. In short, with "insert-->external material" and Xfig, it is
> possible to combine LaTeX code with pictures. I think it would be easy
> for the developers to implement a figure dialog box to scale pictures
> included with "insert-->external material", likewise it already happens
> with the importation of an usual graphic file, as, internally, it seems
> that LyX includes the picture with the usual command \includegraphics.

Ha! Easy! It took three months of quite intensive thought and coding to do
so.

Anyway, this being a 1.4.x feature, it isn't much use to you. You will need
to use some ERT.

<ert>
$$Resize $$Rotate
</ert>
<external inset>
...
</external inset>
<ert>
}}
</ert>

$$Resize is 
        \scalebox{0.5}{0.5}{
or
        \resizebox{<width>}{<height>}{

where <width> and <height> are latex lengths (2cm, 20em, etc) or an
exclamation mark meaning keep the aspect ratio consistent with the other
scaling.

$$Rotate is
        \rotatebox[<origin>]{<angle>}{

where <origin> is some combo of
                default (centre)
        t       top
        b       bottom
        B       baseline
together with
        l       left (default)
        c       centre
        r       right

and <angle> is in degrees.

-- 
Angus

Reply via email to