On Mon, Oct 08, 2007 at 04:39:43PM +0200, Jürgen Spitzmüller wrote:

> Enrico Forestieri wrote:
> > So, in the end you always get the same font with babel, too.
> > I think that it is easy to mimic what babel does without requiring
> > to mark as greek the text in LyX.
> 
> I'm not sure. There are the new TeXGyre fonts that come with Greek 
> characters. 
> I think the babel definition is more clever, it uses whatever is defined as 
> the Greek font:
> 
> \DeclareRobustCommand{\greektext}{%
>   \fontencoding{LGR}\selectfont
>   \def\encodingdefault{LGR}}
> \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}

Yes, that is what I was meaning when talking about mimicking babel.
Have a look at the attached .lyx files.

-- 
Enrico

Reply via email to