Re: Suggestion about \mathrm{}, etc

1999-03-10 Thread Jean-Marc Lasgouttes

> "Kostas" == Kostas Oikonomou <[EMAIL PROTECTED]> writes:

Kostas> Is it possible to simplify font-changing in math mode?  Right
Kostas> now I am trying to do in LyX something that is easy in plain
Kostas> LaTeX:

Kostas> \begin{equation} \Pr(\mathrm{system fails in $[0,\tau)$ and
Kostas> this is covered} $|$ \mathrm{system was up at $t=0$})
Kostas> \end{equation}

You should make it the equivalent of:

\Pr(\textrm{system fails in }[0,\tau)\textrm{ and this is covered }| 
  \textrm{system was up at }t=0)

Where the \textrm is obtained by the so-called 'math text mode' (type
M-m m while in the formula). 

I believe this is covered either in the tutorial or the user guide.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Suggestion about \mathrm{}, etc

1999-03-10 Thread Kostas Oikonomou


Is it possible to simplify font-changing in math mode?
Right now I am trying to do in LyX something that is easy in plain LaTeX:

\begin{equation}
  \Pr(\mathrm{system fails in $[0,\tau)$ and this is covered} $|$ \mathrm{system
   was up at $t=0$})
\end{equation}

I'm having a hard time doing this with LyX's protected spaces and automatic
switching to default font, to the point that I'm tempted to go back to ascii
input and plain LaTeX.  It seems to me it would be much easier to do if, for
example, C-c f r did the equivalent of \mathrm{ and C-c f space did the
equivalent of } (closing the brace).  The only problem I see is the switching
back into math mode inside the \mathrm{}.

Does anyone have any thoughts on this?


Kostas Oikonomou

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.