Maria Torres wrote:

> I would like to type out a mathematical formula, but
> have some of the letters upright, not italicized. I
> found a command \texterm{} that seemed useful. I click
> on the insert math button, begin typing my equation. I
> then type \texterm{ and it completes the second } for
> me. I put my text to be upright in the container, and
> finish the rest of my text outside of the container.
> I am completely new to this, and would appreciate some
> guidance. Thanks,
> Maria
> 
> This is the error I get when I try to view the DVI.
> 
> Undefined control sequence.
>  1. The formula weight of the $\texterm

That's because the macro is '\textrm'

Run your lyx file though something like this:

$ sed 's/texterm/textrm/g' your_file.lyx > your_repaired_file.lyx

Incidentally, you might also have a look at '\mathrm' if all you want 
is upright letters rather than 'real' text.

-- 
Angus

Reply via email to