On Saturday 20 January 2007 16:03, Tom Schlangen wrote:
> Hello,
>
> I would like to give a short introduction on myself and why I joined this
> mailing list about a week ago (only lurking so far).
>
> My name is Tom Schlangen and I am from Germany. My hobby is audio
> amplifiers using old electron valve technology, and some weeks ago I
> started writing a book about this theme, aimed at other valve audio DIYers.
Congratulations. You're using exactly the right software to write your book!
I've (so far) written three self-published books in LyX.
> To start, I have two somewhat related questions:
>
> 1) I need to use Greek letters (for example capital Omega for Ohm) outside
> formulae, within plain text. Of course I can use the "math pad" to insert
> them, but looking at the generated code, it reads:
>
> \begin_inset Formula $\Omega$
> \end_inset
>
> so I suspect I am doing something wrong, since I actually do not want a
> formula there (containing a single Greek character) but only a single Greek
> character. What is the correct way to do so?
I don't know what's correct or incorrect, but within either the layout file or
the document prefix you could define a TeX command to do that for you:
\def\myomega{$\Omega$}
From then on, you'd simply need to put \myomega and the character would be
made for you. ERT stands for Evil Red Text, a nickname for stuff you insert
using Insert->TexCode.
I think within LyX you might be able to do something with Environments so that
no ERT is required, but I'm not sure how to do that.
>
> 2) Using Edit / Find & Replace (or the Ctrl-F shortcut) will bring up a box
> where you can enter what you want to find and/or replace. How to enter
> Greek characters there?
If you're putting these characters in via ERT, then on my LyX (1.4.2) LyX's
find command searches ERT right along with regular text.
SteveT