Hello,
Tanks to Jean-Pierre for the solution he gave me. Note that since it
is not possible to insert directly 8bits characters in math mode, one
have to use \acute, \grave... commands if one wants to use accentuated
characters (to get � you have to type "\acute e"). See Jean-Pierre's
examples below.
--Nabil
Jean-Pierre.Chretien writes:
> ----------
> X-Sun-Data-Type: text
> X-Sun-Content-Length: 1093
> X-Sun-Charset: X-iso-8859-1
>
>
> >>From: Nabil Hathout <[EMAIL PROTECTED]>
> >>Date: Wed, 29 Sep 1999 17:37:40 +0200 (CEST)
> >>To: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
> >>Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
> [EMAIL PROTECTED]
> >>Subject: Re: Bug? Reading math mode formulas
> >>
> >>You mean I don't need to insert a mbox and that inserting textrm
> >>directly would be suffisant ?
> >>
> >>--Nabil
>
> Just do it:
> M-m m \frac M-m m abc... gives
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\textrm{eff}} \)
> \end_inset
> (I've replaced g by f to show that the ligature works).
>
> If you want an accented character, you may have it
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\acute{\textrm{e}}\textrm{ff}} \)
> \end_inset
>
> but as you can see, this is quite different of the result obtained with
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\testac } \)
> \end_inset
>
> once
> \newcommand{\testac}{\mbox{�ff}}
> is defined in the preamble.
>
> If you are a typographic addict, you will make a difference between a math accent
> on letter e and a real � letter...
>
> --
> Jean-Pierre
>
> ----------
> X-Sun-Data-Type: text
> X-Sun-Content-Length: 1197
> X-Sun-Data-Name: newfile.lyx
> X-Sun-Data-Description: newfile.lyx
> X-Sun-Charset: X-iso-8859-1
>
> #This file was created by <chretien> Wed Sep 29 17:49:40 1999
> #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
> \lyxformat 2.15
> \textclass report
> \begin_preamble
> \input{preamb_rapport}
> \let\realcleardoublepage=\cleardoublepage
>
> \renewcommand{\cleardoublepage}{\newpage{\pagestyle{empty}\realcleardoublepage}}
>
>
> \newcommand{\testac}{\mbox{�ff}}
> \end_preamble
> \options 12pt,twoside,a4paper
> \language french
> \inputencoding latin1
> \fontscheme default
> \graphics default
> \float_placement !ht
> \paperfontsize default
> \spacing single
> \papersize a4paper
> \paperpackage a4
> \use_geometry 1
> \use_amsmath 0
> \paperorientation portrait
> \leftmargin 30mm
> \topmargin 20mm
> \rightmargin 30mm
> \bottommargin 24mm
> \headheight 10mm
> \headsep 9mm
> \footskip 10mm
> \secnumdepth 3
> \tocdepth 3
> \paragraph_separation indent
> \defskip medskip
> \quotes_language english
> \quotes_times 2
> \papercolumns 1
> \papersides 2
> \paperpagestyle default
>
> \layout Standard
>
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\acute{\textrm{e}}\textrm{ff}} \)
> \end_inset
>
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\textrm{eff}} \)
> \end_inset
>
>
> \layout Standard
>
>
> \begin_inset Formula \( \frac{\textrm{abc}}{\testac } \)
> \end_inset
>
>
> \the_end
>