Stefano Franchi <[EMAIL PROTECTED]> writes:
>
> Thank to Matej and Herbert I solved the problem with Greek letters in
> BibTeX title. I am now facing another problem: how to get LyX/LaTex to
> produce the 'slanted' Greek fonts needed for emphasis.
>
> I installed the cbgreek package by Claudio Beccari and it seems to be
> working fine with Babel with the \selectlanguage{greek} option. That
> is, I can get the regular font shape with all the needed accents,
> spirits, etc. and the font size is correctly scaled down from main text
> to footnote text. So far so good. But I cannot produce the slanted
> shape which, according to cbgreek's documentation, does indeed exist.
> But I cannot see any difference between, e.g, the two following lines:
>
> \selectlanguage{greek}pajhtik'on\selectlanguage{english}
>
> \emph \selectlanguage{greek}pajhtik'on\selectlanguage{english}
>
> The problem lies with the installation of cbgreek, I suppose, since I
> get the following warnings when I try to compile directly from LaTeX;
>
You did something wrong. In fact, the problem is the use of \emph. First of
all, I seem to recall this is one of the taboos in moving from old LaTeX209 to
new LaTeX2e. you should use \emph{<text>} (delimiters required).
Second, if you are typesetting short sentences or words, you better use
\foreignlanguage{greek}{pajetik'on}. You skip the selectlangs, and your source
code is less verbose.
If you want to do something *really* cool, try adding
\renewcommand{\textsf}[#1]{\foreignlanguage{greek}{#1}}
to the preamble in Layout/Document/Preamble. This command assigns Greek to the
sans-serifed fonts (if you, like me, you don't have a use for those), so every
time you want to add something in Greek you simply type \textsf{pajhtik'os}.
The font mechanism adds cursive, slanted, boldface, whatever, automagically.
On LyX you see a sans-serifed font (Arial, I think, by default). I suggest you
to stick to the italic font. It's better, to my taste...
Trust me: I'm writing my dissertation too ;)
Luis.