Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
 Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
 Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: mathrm

2013-01-17 Thread Guenter Milde
On 2013-01-16, Wolfgang Engelmann wrote:
> Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
>> It's some sort of font issue. I replicated the problem with your
>> document here, then changed the Roman font from Palatino to Times Roman
>> and got the expected output. I suspect the mathpazo package may not
>> contain the needed glyph.

Mathpazo includes (part of) fixmath.sty by the same author. This means that
selecting a math alphabet affects both Greek and Latin letters.

In contrast, with CM or Latin Modern, the default LaTeX behaviour is kept:
Greek letters behave like non-letter symbols and do not change inside a
\math... alphabet:

In the following minimal example:

\documentclass{article}
% \usepackage{lmodern}
% \usepackage{mathpazo}

\usepackage[garamond]{mathdesign}
\usepackage{isomath}

\begin{document}

$VIC \Gamma vic \gamma \varepsilon$

$\mathrm{VIC \Gamma vic \gamma \varepsilon}$

$\mathbold{VIC \Gamma \varepsilon}$

\end{document}

the Greek letters inside \mathrm{...} are still italic with 
\usepackage{lmodern} and garbage characters with mathpazo.

The only package that supports upright Greek characters via
\mathrm{\alpha ... \Omega} is mathdesign in combination with isomath.
For details see the isomath documentation.

Günter





Re: mathrm

2013-01-16 Thread Wolfgang Engelmann
Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.
 
 Paul

Thanks, Paul, 

good to know. Will try to find another font.

Wolfgang


Re: mathrm

2013-01-16 Thread Wolfgang Engelmann
Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
 It's some sort of font issue. I replicated the problem with your
 document here, then changed the Roman font from Palatino to Times Roman
 and got the expected output. I suspect the mathpazo package may not
 contain the needed glyph.
 
 Paul

Thanks, Paul, 

good to know. Will try to find another font.

Wolfgang


Re: mathrm

2013-01-16 Thread Wolfgang Engelmann
Am Mittwoch, 16. Januar 2013, 00:11:05 schrieb Paul A. Rubin:
> It's some sort of font issue. I replicated the problem with your
> document here, then changed the Roman font from Palatino to Times Roman
> and got the expected output. I suspect the mathpazo package may not
> contain the needed glyph.
> 
> Paul

Thanks, Paul, 

good to know. Will try to find another font.

Wolfgang


Re: mathrm

2013-01-15 Thread Paul A . Rubin
It's some sort of font issue. I replicated the problem with your document here,
then changed the Roman font from Palatino to Times Roman and got the expected
output. I suspect the mathpazo package may not contain the needed glyph.

Paul






Re: mathrm

2013-01-15 Thread Paul A . Rubin
It's some sort of font issue. I replicated the problem with your document here,
then changed the Roman font from Palatino to Times Roman and got the expected
output. I suspect the mathpazo package may not contain the needed glyph.

Paul






Re: mathrm

2013-01-15 Thread Paul A . Rubin
It's some sort of font issue. I replicated the problem with your document here,
then changed the Roman font from Palatino to Times Roman and got the expected
output. I suspect the mathpazo package may not contain the needed glyph.

Paul






Re: mathrm

2013-01-11 Thread Wolfgang Engelmann
Am Freitag, 11. Januar 2013, 00:01:15 schrieb Paul A. Rubin:
 Works for me.
 
 Paul
Thanks, Paul

your example works here too, but not the original. Must have to do with my 
setting (Koma script?)
Would you mind to try it out?
Thanks
Wolfgang



Test-greek.lyx
Description: application/lyx


Re: mathrm

2013-01-11 Thread Guenter Milde
On 2013-01-10, Wolfgang Engelmann wrote:
 I try to convert 
 CKI\varepsilon
 into 
 mathrm, but that gives me CKI''

 Is this known, that greek characters do not convert, or am I missing 
 something?

Upright Greek is a known problem. 

* By default, Greek letters are treated as symbols, not letters and left
  as-is if put into \mathrm or other \math... alphabets (i.e. you will
  still get an italic character).
  
* with the fixmath or isomath package, math alphabet changes work for latin
  and greek letters. The downside is, that in the default upright (roman)
  math fonts, the Greek letters are missing and you will get garbage.

See e.g. the isomath packages documentation for a buch of workarounds.

http://www.ctan.org/pkg/isomath

Günter



Re: mathrm

2013-01-11 Thread Wolfgang Engelmann
Am Freitag, 11. Januar 2013, 00:01:15 schrieb Paul A. Rubin:
 Works for me.
 
 Paul
Thanks, Paul

your example works here too, but not the original. Must have to do with my 
setting (Koma script?)
Would you mind to try it out?
Thanks
Wolfgang



Test-greek.lyx
Description: application/lyx


Re: mathrm

2013-01-11 Thread Guenter Milde
On 2013-01-10, Wolfgang Engelmann wrote:
 I try to convert 
 CKI\varepsilon
 into 
 mathrm, but that gives me CKI''

 Is this known, that greek characters do not convert, or am I missing 
 something?

Upright Greek is a known problem. 

* By default, Greek letters are treated as symbols, not letters and left
  as-is if put into \mathrm or other \math... alphabets (i.e. you will
  still get an italic character).
  
* with the fixmath or isomath package, math alphabet changes work for latin
  and greek letters. The downside is, that in the default upright (roman)
  math fonts, the Greek letters are missing and you will get garbage.

See e.g. the isomath packages documentation for a buch of workarounds.

http://www.ctan.org/pkg/isomath

Günter



Re: mathrm

2013-01-11 Thread Wolfgang Engelmann
Am Freitag, 11. Januar 2013, 00:01:15 schrieb Paul A. Rubin:
> Works for me.
> 
> Paul
Thanks, Paul

your example works here too, but not the original. Must have to do with my 
setting (Koma script?)
Would you mind to try it out?
Thanks
Wolfgang



Test-greek.lyx
Description: application/lyx


Re: mathrm

2013-01-11 Thread Guenter Milde
On 2013-01-10, Wolfgang Engelmann wrote:
> I try to convert 
> CKI\varepsilon
> into 
> mathrm, but that gives me CKI''

> Is this known, that greek characters do not convert, or am I missing 
> something?

Upright Greek is a known problem. 

* By default, Greek letters are treated as symbols, not letters and left
  as-is if put into \mathrm or other \math... alphabets (i.e. you will
  still get an italic character).
  
* with the fixmath or isomath package, math alphabet changes work for latin
  and greek letters. The downside is, that in the default upright (roman)
  math fonts, the Greek letters are missing and you will get garbage.

See e.g. the isomath packages documentation for a buch of workarounds.

http://www.ctan.org/pkg/isomath

Günter



mathrm

2013-01-10 Thread Wolfgang Engelmann
I try to convert 
CKI\varepsilon
into 
mathrm, but that gives me CKI''

Is this known, that greek characters do not convert, or am I missing 
something?

Wolfgang


Re: mathrm

2013-01-10 Thread Paul A . Rubin
Works for me.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $a=b=\mathrm{CKI\varepsilon}$
\end_inset


\end_layout

\end_body
\end_document






mathrm

2013-01-10 Thread Wolfgang Engelmann
I try to convert 
CKI\varepsilon
into 
mathrm, but that gives me CKI''

Is this known, that greek characters do not convert, or am I missing 
something?

Wolfgang


Re: mathrm

2013-01-10 Thread Paul A . Rubin
Works for me.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $a=b=\mathrm{CKI\varepsilon}$
\end_inset


\end_layout

\end_body
\end_document






mathrm

2013-01-10 Thread Wolfgang Engelmann
I try to convert 
CKI\varepsilon
into 
mathrm, but that gives me CKI''

Is this known, that greek characters do not convert, or am I missing 
something?

Wolfgang


Re: mathrm

2013-01-10 Thread Paul A . Rubin
Works for me.

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $a=b=\mathrm{CKI\varepsilon}$
\end_inset


\end_layout

\end_body
\end_document






mathrm

2012-01-05 Thread Wolfgang Engelmann
I use 
\mathrm{K}^{+}
to get an upright K^+ (K-Ion) (and other items such as units)
and guess the following message on the terminal from which I start lyx has 
to do with it: 

[Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
mathalpha]]]

Do I have to include some package or use another method?

Wolfgang


Re: mathrm

2012-01-05 Thread Julio Rojas
But it compiles? I have tested it out of the box and it does so.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 5, 2012 at 11:39 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 I use
 \mathrm{K}^{+}
 to get an upright K^+ (K-Ion) (and other items such as units)
 and guess the following message on the terminal from which I start lyx has
 to do with it:

 [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
 mathalpha]]]

 Do I have to include some package or use another method?

 Wolfgang



Re: mathrm

2012-01-05 Thread Guenter Milde
On 2012-01-05, Wolfgang Engelmann wrote:
 I use 
 \mathrm{K}^{+}
 to get an upright K^+ (K-Ion) (and other items such as units)
 and guess the following message on the terminal from which I start lyx has 
 to do with it: 

 [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
 mathalpha]]]

 Do I have to include some package or use another method?

I cannot reproduce this. No messages appear on my terminal (LyX svn on
Debian Linux started from x-terminal emulator).

Do the messages appear:
* when typing the commands in a math-box
* when selecting the text \mathrm{K}^{+} and converting to math with
  Ctrl-m
* when opening a file containing this math, or
* when compiling?

Maybe a minimal example file could help further (e.g. to see whether it
is not *missing* a package but *using* a package that creates the
problem).

Günter




Re: mathrm

2012-01-05 Thread Wolfgang Engelmann
Am Donnerstag, 5. Januar 2012, 14:53:38 schrieb Guenter Milde:
 On 2012-01-05, Wolfgang Engelmann wrote:
  I use
  \mathrm{K}^{+}
  to get an upright K^+ (K-Ion) (and other items such as units)
  and guess the following message on the terminal from which I start lyx
  has to do with it:
  
  [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
  mathalpha]]]
  
  Do I have to include some package or use another method?
 
 I cannot reproduce this. No messages appear on my terminal (LyX svn on
 Debian Linux started from x-terminal emulator).

The reason for the error messages was not the  \mathrm{K}^{+} in the text, 
as a minimal example showed, but an entrance in a reference, which I got 
from a data bank. Shame on me, I should have checked first with and without 
bibliography.
Thanks Guenter and Julio,

Wolfgang


mathrm

2012-01-05 Thread Wolfgang Engelmann
I use 
\mathrm{K}^{+}
to get an upright K^+ (K-Ion) (and other items such as units)
and guess the following message on the terminal from which I start lyx has 
to do with it: 

[Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
mathalpha]]]

Do I have to include some package or use another method?

Wolfgang


Re: mathrm

2012-01-05 Thread Julio Rojas
But it compiles? I have tested it out of the box and it does so.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 5, 2012 at 11:39 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 I use
 \mathrm{K}^{+}
 to get an upright K^+ (K-Ion) (and other items such as units)
 and guess the following message on the terminal from which I start lyx has
 to do with it:

 [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
 mathalpha]]]

 Do I have to include some package or use another method?

 Wolfgang



Re: mathrm

2012-01-05 Thread Guenter Milde
On 2012-01-05, Wolfgang Engelmann wrote:
 I use 
 \mathrm{K}^{+}
 to get an upright K^+ (K-Ion) (and other items such as units)
 and guess the following message on the terminal from which I start lyx has 
 to do with it: 

 [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
 mathalpha]]]

 Do I have to include some package or use another method?

I cannot reproduce this. No messages appear on my terminal (LyX svn on
Debian Linux started from x-terminal emulator).

Do the messages appear:
* when typing the commands in a math-box
* when selecting the text \mathrm{K}^{+} and converting to math with
  Ctrl-m
* when opening a file containing this math, or
* when compiling?

Maybe a minimal example file could help further (e.g. to see whether it
is not *missing* a package but *using* a package that creates the
problem).

Günter




Re: mathrm

2012-01-05 Thread Wolfgang Engelmann
Am Donnerstag, 5. Januar 2012, 14:53:38 schrieb Guenter Milde:
 On 2012-01-05, Wolfgang Engelmann wrote:
  I use
  \mathrm{K}^{+}
  to get an upright K^+ (K-Ion) (and other items such as units)
  and guess the following message on the terminal from which I start lyx
  has to do with it:
  
  [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
  mathalpha]]]
  
  Do I have to include some package or use another method?
 
 I cannot reproduce this. No messages appear on my terminal (LyX svn on
 Debian Linux started from x-terminal emulator).

The reason for the error messages was not the  \mathrm{K}^{+} in the text, 
as a minimal example showed, but an entrance in a reference, which I got 
from a data bank. Shame on me, I should have checked first with and without 
bibliography.
Thanks Guenter and Julio,

Wolfgang


mathrm

2012-01-05 Thread Wolfgang Engelmann
I use 
\mathrm{K}^{+}
to get an upright K^+ (K-Ion) (and other items such as units)
and guess the following message on the terminal from which I start lyx has 
to do with it: 

[Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
mathalpha]]]

Do I have to include some package or use another method?

Wolfgang


Re: mathrm

2012-01-05 Thread Julio Rojas
But it compiles? I have tested it out of the box and it does so.
-
Julio Rojas
jcredbe...@gmail.com


On Thu, Jan 5, 2012 at 11:39 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> I use
> \mathrm{K}^{+}
> to get an upright K^+ (K-Ion) (and other items such as units)
> and guess the following message on the terminal from which I start lyx has
> to do with it:
>
> [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
> mathalpha]]]
>
> Do I have to include some package or use another method?
>
> Wolfgang
>


Re: mathrm

2012-01-05 Thread Guenter Milde
On 2012-01-05, Wolfgang Engelmann wrote:
> I use 
> \mathrm{K}^{+}
> to get an upright K^+ (K-Ion) (and other items such as units)
> and guess the following message on the terminal from which I start lyx has 
> to do with it: 

> [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x 
> mathalpha]]]

> Do I have to include some package or use another method?

I cannot reproduce this. No messages appear on my terminal (LyX svn on
Debian Linux started from x-terminal emulator).

Do the messages appear:
* when typing the commands in a math-box
* when selecting the text \mathrm{K}^{+} and converting to math with
  Ctrl-m
* when opening a file containing this math, or
* when compiling?

Maybe a minimal example file could help further (e.g. to see whether it
is not *missing* a package but *using* a package that creates the
problem).

Günter




Re: mathrm

2012-01-05 Thread Wolfgang Engelmann
Am Donnerstag, 5. Januar 2012, 14:53:38 schrieb Guenter Milde:
> On 2012-01-05, Wolfgang Engelmann wrote:
> > I use
> > \mathrm{K}^{+}
> > to get an upright K^+ (K-Ion) (and other items such as units)
> > and guess the following message on the terminal from which I start lyx
> > has to do with it:
> > 
> > [Unknown [sub [mathrm [char E mathalpha]] [char e mathalpha][char x
> > mathalpha]]]
> > 
> > Do I have to include some package or use another method?
> 
> I cannot reproduce this. No messages appear on my terminal (LyX svn on
> Debian Linux started from x-terminal emulator).

The reason for the error messages was not the  \mathrm{K}^{+} in the text, 
as a minimal example showed, but an entrance in a reference, which I got 
from a data bank. Shame on me, I should have checked first with and without 
bibliography.
Thanks Guenter and Julio,

Wolfgang


weird \mathrm error

2008-12-06 Thread Manoj Rajagopalan

hi all

  I'm getting this strange \mathrm allowed only in math mode when my 
appendix chapters contain equation arrays. This is a latex error and 
also happens when I export to latex and run latex on the file.


  Would someone be familiar with cases when this comes up? I ran chktex 
on my latex file but I got only warnings, no errors. So I'm guessing a 
mismatched '$' is not the cause.


Thanks,
Manoj


weird \mathrm error

2008-12-06 Thread Manoj Rajagopalan

hi all

  I'm getting this strange \mathrm allowed only in math mode when my 
appendix chapters contain equation arrays. This is a latex error and 
also happens when I export to latex and run latex on the file.


  Would someone be familiar with cases when this comes up? I ran chktex 
on my latex file but I got only warnings, no errors. So I'm guessing a 
mismatched '$' is not the cause.


Thanks,
Manoj


weird \mathrm error

2008-12-06 Thread Manoj Rajagopalan

hi all

  I'm getting this strange "\mathrm allowed only in math mode" when my 
appendix chapters contain equation arrays. This is a latex error and 
also happens when I export to latex and run latex on the file.


  Would someone be familiar with cases when this comes up? I ran chktex 
on my latex file but I got only warnings, no errors. So I'm guessing a 
mismatched '$' is not the cause.


Thanks,
Manoj


Re: binding mathrm

2004-09-16 Thread Eric Delevaux
On Wed, 15 Sep 2004 18:37:27 -0400
nick afshartous [EMAIL PROTECTED] wrote:

 
 Hi,
 
 In my .bind file I could bind math-mode but
 the binding for mathrm below does not seem to take effect.
 
 
 \bind C-mmath-mode
 \bind C-rmathrm


you can try
\bind C-rmath-insert \mathrm

Eric
 
 When I hit C-r inside math mode the display bar shows unknown 
 function.
 
 Thanks for any tips.
 --
 Nick
 


Re: binding mathrm

2004-09-16 Thread Eric Delevaux
On Wed, 15 Sep 2004 18:37:27 -0400
nick afshartous [EMAIL PROTECTED] wrote:

 
 Hi,
 
 In my .bind file I could bind math-mode but
 the binding for mathrm below does not seem to take effect.
 
 
 \bind C-mmath-mode
 \bind C-rmathrm


you can try
\bind C-rmath-insert \mathrm

Eric
 
 When I hit C-r inside math mode the display bar shows unknown 
 function.
 
 Thanks for any tips.
 --
 Nick
 


Re: binding mathrm

2004-09-16 Thread Eric Delevaux
On Wed, 15 Sep 2004 18:37:27 -0400
nick afshartous <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> In my .bind file I could bind math-mode but
> the binding for mathrm below does not seem to take effect.
> 
> 
> \bind "C-m""math-mode"
> \bind "C-r""mathrm"


you can try
\bind "C-r""math-insert \mathrm"

Eric
> 
> When I hit C-r inside math mode the display bar shows "unknown 
> function".
> 
> Thanks for any tips.
> --
> Nick
> 


binding mathrm

2004-09-15 Thread nick afshartous
Hi,
In my .bind file I could bind math-mode but
the binding for mathrm below does not seem to take effect.
\bind C-mmath-mode
\bind C-rmathrm
When I hit C-r inside math mode the display bar shows unknown 
function.

Thanks for any tips.
--
   Nick


binding mathrm

2004-09-15 Thread nick afshartous
Hi,
In my .bind file I could bind math-mode but
the binding for mathrm below does not seem to take effect.
\bind C-mmath-mode
\bind C-rmathrm
When I hit C-r inside math mode the display bar shows unknown 
function.

Thanks for any tips.
--
   Nick


binding mathrm

2004-09-15 Thread nick afshartous
Hi,
In my .bind file I could bind math-mode but
the binding for mathrm below does not seem to take effect.
\bind "C-m""math-mode"
\bind "C-r""mathrm"
When I hit C-r inside math mode the display bar shows "unknown 
function".

Thanks for any tips.
--
   Nick


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 09 Jul 2004 14:12:39 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 I've noticed one small peculiarity with the latex beamer class. (For 
 those that don't know it, it's a *fantastic* class with which to 
 create pdf presentations. See http://latex-beamer.sf.net)
 
 It uses a nice, sans serif font by default, but I find that 
 \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
 with \textrm. See attached test case.

If you want to typeset text inside a formula with the same font as
normal text, use \text from amsmath. That's precisely what it is made
for. (Ever wondered what the rm in \textrm means? ;-) )

Yours,
Karsten


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 02:12:39PM +0100, Angus Leeming wrote:
 I've noticed one small peculiarity with the latex beamer class. (For 
 those that don't know it, it's a *fantastic* class with which to 
 create pdf presentations. See http://latex-beamer.sf.net)
 
 It uses a nice, sans serif font by default, but I find that 
 \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
 with \textrm. See attached test case.

\rm is Roman so you explicitly ask for serifs.

Which is btw correct typesetting for things like \sin etc even in
sans serif slides.

A solution for \sf text within math would be to use AMS's \text.

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 03:59:52PM +0100, Angus Leeming wrote:
 Jean-Marc Lasgouttes wrote:
  Isn't amsmath' \text what you need here (or \mbox, but it will not
  set the size correctly). Normal text should not use mathrm, in any
  case.
 
 I don't know. That's why I'm asking. 
 
 I want a properly typeset subscripted phrase. \textnormal works. 
 \text works too. 
 
 Which would you use?

I thought \textnormal is standard LaTeX and \text is AMS. Not sure and
don't know the difference...

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 9 Jul 2004 18:45:28 +0200
Andre Poenitz [EMAIL PROTECTED] wrote:

 Which is btw correct typesetting for things like \sin etc even in
 sans serif slides.

I think beamer makes it right when typesetting operators like sin
sans-serif. If you want math with serif letters you can always specify
mathserif as an document option.

Gruß,
Karsten


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 09 Jul 2004 14:12:39 +0100
Angus Leeming [EMAIL PROTECTED] wrote:

 I've noticed one small peculiarity with the latex beamer class. (For 
 those that don't know it, it's a *fantastic* class with which to 
 create pdf presentations. See http://latex-beamer.sf.net)
 
 It uses a nice, sans serif font by default, but I find that 
 \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
 with \textrm. See attached test case.

If you want to typeset text inside a formula with the same font as
normal text, use \text from amsmath. That's precisely what it is made
for. (Ever wondered what the rm in \textrm means? ;-) )

Yours,
Karsten


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 02:12:39PM +0100, Angus Leeming wrote:
 I've noticed one small peculiarity with the latex beamer class. (For 
 those that don't know it, it's a *fantastic* class with which to 
 create pdf presentations. See http://latex-beamer.sf.net)
 
 It uses a nice, sans serif font by default, but I find that 
 \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
 with \textrm. See attached test case.

\rm is Roman so you explicitly ask for serifs.

Which is btw correct typesetting for things like \sin etc even in
sans serif slides.

A solution for \sf text within math would be to use AMS's \text.

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 03:59:52PM +0100, Angus Leeming wrote:
 Jean-Marc Lasgouttes wrote:
  Isn't amsmath' \text what you need here (or \mbox, but it will not
  set the size correctly). Normal text should not use mathrm, in any
  case.
 
 I don't know. That's why I'm asking. 
 
 I want a properly typeset subscripted phrase. \textnormal works. 
 \text works too. 
 
 Which would you use?

I thought \textnormal is standard LaTeX and \text is AMS. Not sure and
don't know the difference...

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 9 Jul 2004 18:45:28 +0200
Andre Poenitz [EMAIL PROTECTED] wrote:

 Which is btw correct typesetting for things like \sin etc even in
 sans serif slides.

I think beamer makes it right when typesetting operators like sin
sans-serif. If you want math with serif letters you can always specify
mathserif as an document option.

Gruß,
Karsten


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 09 Jul 2004 14:12:39 +0100
Angus Leeming <[EMAIL PROTECTED]> wrote:

> I've noticed one small peculiarity with the latex beamer class. (For 
> those that don't know it, it's a *fantastic* class with which to 
> create pdf presentations. See http://latex-beamer.sf.net)
> 
> It uses a nice, sans serif font by default, but I find that 
> \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
> with \textrm. See attached test case.

If you want to typeset text inside a formula with the same font as
normal text, use \text from amsmath. That's precisely what it is made
for. (Ever wondered what the rm in \textrm means? ;-) )

Yours,
Karsten


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 02:12:39PM +0100, Angus Leeming wrote:
> I've noticed one small peculiarity with the latex beamer class. (For 
> those that don't know it, it's a *fantastic* class with which to 
> create pdf presentations. See http://latex-beamer.sf.net)
> 
> It uses a nice, sans serif font by default, but I find that 
> \mathrm{foo} results in foo being typeset with a serifed font. Ditto 
> with \textrm. See attached test case.

\rm is "Roman" so you explicitly ask for serifs.

Which is btw "correct typesetting" for things like \sin etc even in
sans serif slides.

A solution for \sf text within math would be to use AMS's \text.

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Andre Poenitz
On Fri, Jul 09, 2004 at 03:59:52PM +0100, Angus Leeming wrote:
> Jean-Marc Lasgouttes wrote:
> > Isn't amsmath' \text what you need here (or \mbox, but it will not
> > set the size correctly). Normal text should not use mathrm, in any
> > case.
> 
> I don't know. That's why I'm asking. 
> 
> I want a properly typeset subscripted phrase. \textnormal works. 
> \text works too. 
> 
> Which would you use?

I thought \textnormal is standard LaTeX and \text is AMS. Not sure and
don't know the difference...

Andre'


Re: latex beamer and \mathrm

2004-07-10 Thread Karsten Heymann
On Fri, 9 Jul 2004 18:45:28 +0200
Andre Poenitz <[EMAIL PROTECTED]> wrote:

> Which is btw "correct typesetting" for things like \sin etc even in
> sans serif slides.

I think beamer makes it right when typesetting operators like sin
sans-serif. If you want math with serif letters you can always specify
mathserif as an document option.

Gruß,
Karsten


latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
I've noticed one small peculiarity with the latex beamer class. (For 
those that don't know it, it's a *fantastic* class with which to 
create pdf presentations. See http://latex-beamer.sf.net)

It uses a nice, sans serif font by default, but I find that 
\mathrm{foo} results in foo being typeset with a serifed font. Ditto 
with \textrm. See attached test case.

My question: is the fault with latexbeamer or with me? Should I need 
to redefine these commands to use a sans serifed font? If so, what 
magic do I need?

Juergen, I guess that you have close links with the class' author. 
Could I get you to pass this info on? (Assuming that latexbeamer 
should do the right thing here.)

-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass beamer
\begin_preamble
\usepackage{beamerthemesplit}
\end_preamble
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Section

Introduction
\layout BeginFrame

An equation
\layout Standard


\begin_inset Formula \[
D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

\end_inset 


\layout EndFrame

\the_end


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I've noticed one small peculiarity with the latex beamer class.
Angus (For those that don't know it, it's a *fantastic* class with
Angus which to create pdf presentations. See
Angus http://latex-beamer.sf.net)

Angus It uses a nice, sans serif font by default, but I find that
Angus \mathrm{foo} results in foo being typeset with a serifed font.
Angus Ditto with \textrm. See attached test case.

What's the problem? The default font is sans-serif, which is different
from roman. You get what you ask for. You should not assume that roman
is always the default font. The same applies to foilTeX, BTW.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Angus I've noticed one small peculiarity with the latex beamer
 class. Angus (For those that don't know it, it's a *fantastic*
 class with Angus which to create pdf presentations. See
 Angus http://latex-beamer.sf.net)
 
 Angus It uses a nice, sans serif font by default, but I find that
 Angus \mathrm{foo} results in foo being typeset with a serifed
 font. Angus Ditto with \textrm. See attached test case.
 
 What's the problem? The default font is sans-serif, which is
 different from roman. You get what you ask for. You should not
 assume that roman is always the default font. The same applies to
 foilTeX, BTW.

Shrug. I expect a class that redefines the default font to also 
redefine the default elsewhere too. Is that so unreasonable? Of 
course I can define a math macro

\newcommand{\mathtext}[1]{\mathsf{#1}}

and use it to separate markup from input, but is that really what I'm 
expected to do here?


-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Shrug. I expect a class that redefines the default font to also
Angus redefine the default elsewhere too. Is that so unreasonable? 

Well, roman in LaTeX world means serif (if I understand correctly). It
does not mean default. The fact that most classes use roman as default
font is kind of irrelevant.

\defaultfont anlways select the default font, OTOH.

Angus Of course I can define a math macro

Angus \newcommand{\mathtext}[1]{\mathsf{#1}}

Angus and use it to separate markup from input, but is that really
Angus what I'm expected to do here?

How do you use this typically? In LyX 'M-c space' should change the
font to the right one (unless there is a bug).

If you use directly LaTeX, could you give examples that cause you
grief? I am sure it is possible to find some working alternative that
does not seem unnatural.

JMarc

PS: I would be very grateful if you could take a look at the patch I
just sent to lyx-devel. I need Qt help.


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Pierre Chretien

To: [EMAIL PROTECTED]
Subject: Re: latex beamer and \mathrm
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Fri, 09 Jul 2004 15:09:16 +0200
X-Miltered: at concorde with ID 40EE98FC.000 by Joe's j-chkmail 
(http://j-chkmail.ensmp.fr)!

 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I've noticed one small peculiarity with the latex beamer class.
Angus (For those that don't know it, it's a *fantastic* class with
Angus which to create pdf presentations. See
Angus http://latex-beamer.sf.net)

Angus It uses a nice, sans serif font by default, but I find that
Angus \mathrm{foo} results in foo being typeset with a serifed font.
Angus Ditto with \textrm. See attached test case.

What's the problem? The default font is sans-serif, which is different
from roman. You get what you ask for. You should not assume that roman
is always the default font. The same applies to foilTeX, BTW.

Those who are accustomed to serified math fonts and want to
keep the good-looking sans-serif text font may use the [mathserif]
class option.

Till Tantau made a real good work about customization and compatibility.
The command names are lengthy, but self-explanatory. 
This is really a great package.

-- 
Jean-Pierre



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Pierre Chretien wrote:
 Those who are accustomed to serified math fonts and want to
 keep the good-looking sans-serif text font may use the [mathserif]
 class option.

Thanks for this info, Jean-Pierre.

 Till Tantau made a real good work about customization and
 compatibility. The command names are lengthy, but self-explanatory.
 This is really a great package.

Agreed.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Angus Shrug. I expect a class that redefines the default font to
 also Angus redefine the default elsewhere too. Is that so
 unreasonable?
 
 Well, roman in LaTeX world means serif (if I understand correctly).
 It does not mean default. The fact that most classes use roman as
 default font is kind of irrelevant.
 
 \defaultfont anlways select the default font, OTOH.
 
 Angus Of course I can define a math macro
 
 Angus \newcommand{\mathtext}[1]{\mathsf{#1}}
 
 Angus and use it to separate markup from input, but is that really
 Angus what I'm expected to do here?
 
 How do you use this typically? 

D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

 In LyX 'M-c space' should change the
 font to the right one (unless there is a bug).

Ah. \textnormal. That's *exactly* what I'm looking for. 
Thank you, JMarc.
 
 PS: I would be very grateful if you could take a look at the patch I
 just sent to lyx-devel. I need Qt help.

Ok.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Jean-Marc Lasgouttes wrote: Shrug. I expect a class that
Angus redefines the default font to
 also Angus redefine the default elsewhere too. Is that so
 unreasonable?
 
 Well, roman in LaTeX world means serif (if I understand correctly).
 It does not mean default. The fact that most classes use roman as
 default font is kind of irrelevant.
 
 \defaultfont anlways select the default font, OTOH.
 
Angus Of course I can define a math macro

Angus \newcommand{\mathtext}[1]{\mathsf{#1}}

Angus and use it to separate markup from input, but is that really
Angus what I'm expected to do here?
  How do you use this typically?

Angus D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\:
Angus duct}}}{A_{\mathrm{whole}}}\]

Isn't amsmath' \text what you need here (or \mbox, but it will not set
the size correctly). Normal text should not use mathrm, in any case.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Isn't amsmath' \text what you need here (or \mbox, but it will not
 set the size correctly). Normal text should not use mathrm, in any
 case.

I don't know. That's why I'm asking. 

I want a properly typeset subscripted phrase. \textnormal works. 
\text works too. 

Which would you use?

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I want a properly typeset subscripted phrase. \textnormal
Angus works. \text works too.

Angus Which would you use?

I don't know. To be fair, I did not know about \textnormal, but it
looks like a good candidate.

JMarc


latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
I've noticed one small peculiarity with the latex beamer class. (For 
those that don't know it, it's a *fantastic* class with which to 
create pdf presentations. See http://latex-beamer.sf.net)

It uses a nice, sans serif font by default, but I find that 
\mathrm{foo} results in foo being typeset with a serifed font. Ditto 
with \textrm. See attached test case.

My question: is the fault with latexbeamer or with me? Should I need 
to redefine these commands to use a sans serifed font? If so, what 
magic do I need?

Juergen, I guess that you have close links with the class' author. 
Could I get you to pass this info on? (Assuming that latexbeamer 
should do the right thing here.)

-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass beamer
\begin_preamble
\usepackage{beamerthemesplit}
\end_preamble
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Section

Introduction
\layout BeginFrame

An equation
\layout Standard


\begin_inset Formula \[
D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

\end_inset 


\layout EndFrame

\the_end


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I've noticed one small peculiarity with the latex beamer class.
Angus (For those that don't know it, it's a *fantastic* class with
Angus which to create pdf presentations. See
Angus http://latex-beamer.sf.net)

Angus It uses a nice, sans serif font by default, but I find that
Angus \mathrm{foo} results in foo being typeset with a serifed font.
Angus Ditto with \textrm. See attached test case.

What's the problem? The default font is sans-serif, which is different
from roman. You get what you ask for. You should not assume that roman
is always the default font. The same applies to foilTeX, BTW.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Angus I've noticed one small peculiarity with the latex beamer
 class. Angus (For those that don't know it, it's a *fantastic*
 class with Angus which to create pdf presentations. See
 Angus http://latex-beamer.sf.net)
 
 Angus It uses a nice, sans serif font by default, but I find that
 Angus \mathrm{foo} results in foo being typeset with a serifed
 font. Angus Ditto with \textrm. See attached test case.
 
 What's the problem? The default font is sans-serif, which is
 different from roman. You get what you ask for. You should not
 assume that roman is always the default font. The same applies to
 foilTeX, BTW.

Shrug. I expect a class that redefines the default font to also 
redefine the default elsewhere too. Is that so unreasonable? Of 
course I can define a math macro

\newcommand{\mathtext}[1]{\mathsf{#1}}

and use it to separate markup from input, but is that really what I'm 
expected to do here?


-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Shrug. I expect a class that redefines the default font to also
Angus redefine the default elsewhere too. Is that so unreasonable? 

Well, roman in LaTeX world means serif (if I understand correctly). It
does not mean default. The fact that most classes use roman as default
font is kind of irrelevant.

\defaultfont anlways select the default font, OTOH.

Angus Of course I can define a math macro

Angus \newcommand{\mathtext}[1]{\mathsf{#1}}

Angus and use it to separate markup from input, but is that really
Angus what I'm expected to do here?

How do you use this typically? In LyX 'M-c space' should change the
font to the right one (unless there is a bug).

If you use directly LaTeX, could you give examples that cause you
grief? I am sure it is possible to find some working alternative that
does not seem unnatural.

JMarc

PS: I would be very grateful if you could take a look at the patch I
just sent to lyx-devel. I need Qt help.


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Pierre Chretien

To: [EMAIL PROTECTED]
Subject: Re: latex beamer and \mathrm
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Fri, 09 Jul 2004 15:09:16 +0200
X-Miltered: at concorde with ID 40EE98FC.000 by Joe's j-chkmail 
(http://j-chkmail.ensmp.fr)!

 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I've noticed one small peculiarity with the latex beamer class.
Angus (For those that don't know it, it's a *fantastic* class with
Angus which to create pdf presentations. See
Angus http://latex-beamer.sf.net)

Angus It uses a nice, sans serif font by default, but I find that
Angus \mathrm{foo} results in foo being typeset with a serifed font.
Angus Ditto with \textrm. See attached test case.

What's the problem? The default font is sans-serif, which is different
from roman. You get what you ask for. You should not assume that roman
is always the default font. The same applies to foilTeX, BTW.

Those who are accustomed to serified math fonts and want to
keep the good-looking sans-serif text font may use the [mathserif]
class option.

Till Tantau made a real good work about customization and compatibility.
The command names are lengthy, but self-explanatory. 
This is really a great package.

-- 
Jean-Pierre



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Pierre Chretien wrote:
 Those who are accustomed to serified math fonts and want to
 keep the good-looking sans-serif text font may use the [mathserif]
 class option.

Thanks for this info, Jean-Pierre.

 Till Tantau made a real good work about customization and
 compatibility. The command names are lengthy, but self-explanatory.
 This is really a great package.

Agreed.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Angus Shrug. I expect a class that redefines the default font to
 also Angus redefine the default elsewhere too. Is that so
 unreasonable?
 
 Well, roman in LaTeX world means serif (if I understand correctly).
 It does not mean default. The fact that most classes use roman as
 default font is kind of irrelevant.
 
 \defaultfont anlways select the default font, OTOH.
 
 Angus Of course I can define a math macro
 
 Angus \newcommand{\mathtext}[1]{\mathsf{#1}}
 
 Angus and use it to separate markup from input, but is that really
 Angus what I'm expected to do here?
 
 How do you use this typically? 

D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

 In LyX 'M-c space' should change the
 font to the right one (unless there is a bug).

Ah. \textnormal. That's *exactly* what I'm looking for. 
Thank you, JMarc.
 
 PS: I would be very grateful if you could take a look at the patch I
 just sent to lyx-devel. I need Qt help.

Ok.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Jean-Marc Lasgouttes wrote: Shrug. I expect a class that
Angus redefines the default font to
 also Angus redefine the default elsewhere too. Is that so
 unreasonable?
 
 Well, roman in LaTeX world means serif (if I understand correctly).
 It does not mean default. The fact that most classes use roman as
 default font is kind of irrelevant.
 
 \defaultfont anlways select the default font, OTOH.
 
Angus Of course I can define a math macro

Angus \newcommand{\mathtext}[1]{\mathsf{#1}}

Angus and use it to separate markup from input, but is that really
Angus what I'm expected to do here?
  How do you use this typically?

Angus D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\:
Angus duct}}}{A_{\mathrm{whole}}}\]

Isn't amsmath' \text what you need here (or \mbox, but it will not set
the size correctly). Normal text should not use mathrm, in any case.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
 Isn't amsmath' \text what you need here (or \mbox, but it will not
 set the size correctly). Normal text should not use mathrm, in any
 case.

I don't know. That's why I'm asking. 

I want a properly typeset subscripted phrase. \textnormal works. 
\text works too. 

Which would you use?

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus I want a properly typeset subscripted phrase. \textnormal
Angus works. \text works too.

Angus Which would you use?

I don't know. To be fair, I did not know about \textnormal, but it
looks like a good candidate.

JMarc


latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
I've noticed one small peculiarity with the latex beamer class. (For 
those that don't know it, it's a *fantastic* class with which to 
create pdf presentations. See http://latex-beamer.sf.net)

It uses a nice, sans serif font by default, but I find that 
\mathrm{foo} results in foo being typeset with a serifed font. Ditto 
with \textrm. See attached test case.

My question: is the fault with latexbeamer or with me? Should I need 
to redefine these commands to use a sans serifed font? If so, what 
magic do I need?

Juergen, I guess that you have close links with the class' author. 
Could I get you to pass this info on? (Assuming that latexbeamer 
should "do the right thing" here.)

-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass beamer
\begin_preamble
\usepackage{beamerthemesplit}
\end_preamble
\language english
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Section

Introduction
\layout BeginFrame

An equation
\layout Standard


\begin_inset Formula \[
D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

\end_inset 


\layout EndFrame

\the_end


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> I've noticed one small peculiarity with the latex beamer class.
Angus> (For those that don't know it, it's a *fantastic* class with
Angus> which to create pdf presentations. See
Angus> http://latex-beamer.sf.net)

Angus> It uses a nice, sans serif font by default, but I find that
Angus> \mathrm{foo} results in foo being typeset with a serifed font.
Angus> Ditto with \textrm. See attached test case.

What's the problem? The default font is sans-serif, which is different
from roman. You get what you ask for. You should not assume that roman
is always the default font. The same applies to foilTeX, BTW.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
> Angus> I've noticed one small peculiarity with the latex beamer
> class. Angus> (For those that don't know it, it's a *fantastic*
> class with Angus> which to create pdf presentations. See
> Angus> http://latex-beamer.sf.net)
> 
> Angus> It uses a nice, sans serif font by default, but I find that
> Angus> \mathrm{foo} results in foo being typeset with a serifed
> font. Angus> Ditto with \textrm. See attached test case.
> 
> What's the problem? The default font is sans-serif, which is
> different from roman. You get what you ask for. You should not
> assume that roman is always the default font. The same applies to
> foilTeX, BTW.

Shrug. I expect a class that redefines the default font to also 
redefine the default elsewhere too. Is that so unreasonable? Of 
course I can define a math macro

\newcommand{\mathtext}[1]{\mathsf{#1}}

and use it to separate markup from input, but is that really what I'm 
expected to do here?


-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Shrug. I expect a class that redefines the default font to also
Angus> redefine the default elsewhere too. Is that so unreasonable? 

Well, roman in LaTeX world means serif (if I understand correctly). It
does not mean default. The fact that most classes use roman as default
font is kind of irrelevant.

\defaultfont anlways select the default font, OTOH.

Angus> Of course I can define a math macro

Angus> \newcommand{\mathtext}[1]{\mathsf{#1}}

Angus> and use it to separate markup from input, but is that really
Angus> what I'm expected to do here?

How do you use this typically? In LyX 'M-c space' should change the
font to the right one (unless there is a bug).

If you use directly LaTeX, could you give examples that cause you
grief? I am sure it is possible to find some working alternative that
does not seem unnatural.

JMarc

PS: I would be very grateful if you could take a look at the patch I
just sent to lyx-devel. I need Qt help.


Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Pierre Chretien

>>To: [EMAIL PROTECTED]
>>Subject: Re: latex beamer and \mathrm
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: Fri, 09 Jul 2004 15:09:16 +0200
>>X-Miltered: at concorde with ID 40EE98FC.000 by Joe's j-chkmail 
(http://j-chkmail.ensmp.fr)!
>>
>>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>>
>>Angus> I've noticed one small peculiarity with the latex beamer class.
>>Angus> (For those that don't know it, it's a *fantastic* class with
>>Angus> which to create pdf presentations. See
>>Angus> http://latex-beamer.sf.net)
>>
>>Angus> It uses a nice, sans serif font by default, but I find that
>>Angus> \mathrm{foo} results in foo being typeset with a serifed font.
>>Angus> Ditto with \textrm. See attached test case.
>>
>>What's the problem? The default font is sans-serif, which is different
>>from roman. You get what you ask for. You should not assume that roman
>>is always the default font. The same applies to foilTeX, BTW.

Those who are accustomed to serified math fonts and want to
keep the good-looking sans-serif text font may use the [mathserif]
class option.

Till Tantau made a real good work about customization and compatibility.
The command names are lengthy, but self-explanatory. 
This is really a great package.

-- 
Jean-Pierre



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Pierre Chretien wrote:
> Those who are accustomed to serified math fonts and want to
> keep the good-looking sans-serif text font may use the [mathserif]
> class option.

Thanks for this info, Jean-Pierre.

> Till Tantau made a real good work about customization and
> compatibility. The command names are lengthy, but self-explanatory.
> This is really a great package.

Agreed.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
> Angus> Shrug. I expect a class that redefines the default font to
> also Angus> redefine the default elsewhere too. Is that so
> unreasonable?
> 
> Well, roman in LaTeX world means serif (if I understand correctly).
> It does not mean default. The fact that most classes use roman as
> default font is kind of irrelevant.
> 
> \defaultfont anlways select the default font, OTOH.
> 
> Angus> Of course I can define a math macro
> 
> Angus> \newcommand{\mathtext}[1]{\mathsf{#1}}
> 
> Angus> and use it to separate markup from input, but is that really
> Angus> what I'm expected to do here?
> 
> How do you use this typically? 

D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\: 
duct}}}{A_{\mathrm{whole}}}\]

> In LyX 'M-c space' should change the
> font to the right one (unless there is a bug).

Ah. \textnormal. That's *exactly* what I'm looking for. 
Thank you, JMarc.
 
> PS: I would be very grateful if you could take a look at the patch I
> just sent to lyx-devel. I need Qt help.

Ok.

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Jean-Marc Lasgouttes wrote: Shrug. I expect a class that
Angus> redefines the default font to
>> also Angus> redefine the default elsewhere too. Is that so
>> unreasonable?
>> 
>> Well, roman in LaTeX world means serif (if I understand correctly).
>> It does not mean default. The fact that most classes use roman as
>> default font is kind of irrelevant.
>> 
>> \defaultfont anlways select the default font, OTOH.
>> 
Angus> Of course I can define a math macro
>>
Angus> \newcommand{\mathtext}[1]{\mathsf{#1}}
>>
Angus> and use it to separate markup from input, but is that really
Angus> what I'm expected to do here?
>>  How do you use this typically?

Angus> D_{\mathrm{eff}}=D_{\mathrm{mol}}\frac{A_{\mathrm{central\:
Angus> duct}}}{A_{\mathrm{whole}}}\]

Isn't amsmath' \text what you need here (or \mbox, but it will not set
the size correctly). Normal text should not use mathrm, in any case.

JMarc


Re: latex beamer and \mathrm

2004-07-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote:
> Isn't amsmath' \text what you need here (or \mbox, but it will not
> set the size correctly). Normal text should not use mathrm, in any
> case.

I don't know. That's why I'm asking. 

I want a properly typeset subscripted phrase. \textnormal works. 
\text works too. 

Which would you use?

-- 
Angus



Re: latex beamer and \mathrm

2004-07-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> I want a properly typeset subscripted phrase. \textnormal
Angus> works. \text works too.

Angus> Which would you use?

I don't know. To be fair, I did not know about \textnormal, but it
looks like a good candidate.

JMarc


Re: mathrm in lyx

2000-03-07 Thread Frank Mahler

Herbert Voss wrote:
 
 Wolfgang Riedel wrote:
 
  Hi,
 
  if I type the tex code (for instance) for an unit of measurement 'meter
  per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in
  lyx (the frac was created via the mathematical menue) it seems correct,
  the dvi is okay. But if I leave lyx, start it again and load the saved
  lyx file, then the roman font information is lost. 'm' and 's' are
  considered as variables :-(
 
 try in lyx-mathmode alt-M-m  for writing in textmode for "m" and "s" or
 
 $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the
 same

Unfortunately this is the wrong approach, at least when using computer
modern fonts for math typesetting. Try to press M-c r (which is the
english mapping for font-roman, german users which use de_menus.bind
should press M-z r), this gives you a \mathrm encapsulation for the
letters typed afterwards. Any "math" operator switches the font back, so
check twice if your letters m and s are "upright" and not "italics".

On the other hand, if you type a dimension within your floating text,
you should use the same font as in the text itself. Here the
text-mathmode might be a good choice.

Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math
font. Then your measurements should look the same as the rest
(disregarding \mathrm or \textrm).

HTH,
 Frank
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!

-- Sign the Linux Driver Petition:
http://www.libranet.com/petition.html --



Re: mathrm in lyx

2000-03-07 Thread Frank Mahler

Herbert Voss wrote:
 
 Wolfgang Riedel wrote:
 
  Hi,
 
  if I type the tex code (for instance) for an unit of measurement 'meter
  per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in
  lyx (the frac was created via the mathematical menue) it seems correct,
  the dvi is okay. But if I leave lyx, start it again and load the saved
  lyx file, then the roman font information is lost. 'm' and 's' are
  considered as variables :-(
 
 try in lyx-mathmode alt-M-m  for writing in textmode for "m" and "s" or
 
 $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the
 same

Unfortunately this is the wrong approach, at least when using computer
modern fonts for math typesetting. Try to press M-c r (which is the
english mapping for font-roman, german users which use de_menus.bind
should press M-z r), this gives you a \mathrm encapsulation for the
letters typed afterwards. Any "math" operator switches the font back, so
check twice if your letters m and s are "upright" and not "italics".

On the other hand, if you type a dimension within your floating text,
you should use the same font as in the text itself. Here the
text-mathmode might be a good choice.

Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math
font. Then your measurements should look the same as the rest
(disregarding \mathrm or \textrm).

HTH,
 Frank
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!

-- Sign the Linux Driver Petition:
http://www.libranet.com/petition.html --



Re: mathrm in lyx

2000-03-07 Thread Frank Mahler

Herbert Voss wrote:
> 
> Wolfgang Riedel wrote:
> >
> > Hi,
> >
> > if I type the tex code (for instance) for an unit of measurement 'meter
> > per second' "\mathrm{\frac{m}{s}}" inside a mathematical expression in
> > lyx (the frac was created via the mathematical menue) it seems correct,
> > the dvi is okay. But if I leave lyx, start it again and load the saved
> > lyx file, then the roman font information is lost. 'm' and 's' are
> > considered as variables :-(
> 
> try in lyx-mathmode alt-M-m  for writing in textmode for "m" and "s" or
> 
> $\frac{\textrm{m}}{\textrm{s}}$in text-mathode, which is just the
> same

Unfortunately this is the wrong approach, at least when using computer
modern fonts for math typesetting. Try to press M-c r (which is the
english mapping for font-roman, german users which use de_menus.bind
should press M-z r), this gives you a \mathrm encapsulation for the
letters typed afterwards. Any "math" operator switches the font back, so
check twice if your letters m and s are "upright" and not "italics".

On the other hand, if you type a dimension within your floating text,
you should use the same font as in the text itself. Here the
text-mathmode might be a good choice.

Or use \usepackage{mathptm} (or {mathptmx}) to use Times as the math
font. Then your measurements should look the same as the rest
(disregarding \mathrm or \textrm).

HTH,
 Frank
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!

--> Sign the Linux Driver Petition:
http://www.libranet.com/petition.html <--



Re: mathrm (not italic) in lemmas?

1999-11-10 Thread Jean-Marc Lasgouttes

 "?" ==   " [EMAIL PROTECTED] writes:

? Sure: In the following lemma (same problem with "proposition"
? environment), there are the operators "exp" (standard macro) and
? "dev" (own notation). Both are italicized in the PS-file.

exp is certainly _not_ in italics here. dev is indeed, but this is
normal: it inherits the font of the environment. In fact you seem to
think that mathrm should not be in italics. This used to be true in
latex2.09, but latex2e has separated this in two different things:

family: roman, sansserif, typewriter
shape: upright, italics, slanted

So the real question is how to define a proper \dev macro. I believe
that amsmath has provision for that, but I'll leave to someone who
knows it the task of finding the right macro.

JMarc



Re: mathrm (not italic) in lemmas?

1999-11-10 Thread Jean-Marc Lasgouttes

 "?" ==   " [EMAIL PROTECTED] writes:

? Sure: In the following lemma (same problem with "proposition"
? environment), there are the operators "exp" (standard macro) and
? "dev" (own notation). Both are italicized in the PS-file.

exp is certainly _not_ in italics here. dev is indeed, but this is
normal: it inherits the font of the environment. In fact you seem to
think that mathrm should not be in italics. This used to be true in
latex2.09, but latex2e has separated this in two different things:

family: roman, sansserif, typewriter
shape: upright, italics, slanted

So the real question is how to define a proper \dev macro. I believe
that amsmath has provision for that, but I'll leave to someone who
knows it the task of finding the right macro.

JMarc



Re: mathrm (not italic) in lemmas?

1999-11-10 Thread Jean-Marc Lasgouttes

>>>>> "?" ==   <" <[EMAIL PROTECTED]>> writes:

?> Sure: In the following lemma (same problem with "proposition"
?> environment), there are the operators "exp" (standard macro) and
?> "dev" (own notation). Both are italicized in the PS-file.

exp is certainly _not_ in italics here. dev is indeed, but this is
normal: it inherits the font of the environment. In fact you seem to
think that mathrm should not be in italics. This used to be true in
latex2.09, but latex2e has separated this in two different things:

family: roman, sansserif, typewriter
shape: upright, italics, slanted

So the real question is how to define a proper \dev macro. I believe
that amsmath has provision for that, but I'll leave to someone who
knows it the task of finding the right macro.

JMarc



Re: mathrm (not italic) in lemmas?

1999-11-08 Thread


On 08 Nov 1999 11:11:13 +010   Jean-Marc Lasgouttes wrote:
 "?" ==   " [EMAIL PROTECTED] writes:

? There are certain functions like sin, exp, etc. which are supposed
? to be written with non-italic letters even inside formulas. Usually
? this works (by using \sin or C-m sin). However, in the Lemma and
? Proposition environments (which italicize text) these get
? italicized too. How can I turn that off? Or is it even supposed to
? be this way? Lyx 1.0.2

If you use \sin, you will certainly not have a problem in a
proposition environment. Could you give an example file?

JMarc


Sure: In the following lemma (same problem with "proposition" environment), there are 
the operators "exp" (standard macro) and "dev" (own notation). Both are italicized in 
the PS-file.

\layout Lemma
\begin_inset LatexCommand \label{exp}
\end_inset 
Let ...
\begin_inset Formula 
\[
e:C\cdot \bar{W}\rightarrow \exp (\bar{W})\]
\end_inset 
 and which satisfies 
\begin_inset Formula \( \textrm{dev}(e)\epsilon . \)
\end_inset 
.
\layout Proof

etc.


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



Re: mathrm (not italic) in lemmas?

1999-11-08 Thread


On 08 Nov 1999 11:11:13 +010   Jean-Marc Lasgouttes wrote:
 "?" ==   " [EMAIL PROTECTED] writes:

? There are certain functions like sin, exp, etc. which are supposed
? to be written with non-italic letters even inside formulas. Usually
? this works (by using \sin or C-m sin). However, in the Lemma and
? Proposition environments (which italicize text) these get
? italicized too. How can I turn that off? Or is it even supposed to
? be this way? Lyx 1.0.2

If you use \sin, you will certainly not have a problem in a
proposition environment. Could you give an example file?

JMarc


Sure: In the following lemma (same problem with "proposition" environment), there are 
the operators "exp" (standard macro) and "dev" (own notation). Both are italicized in 
the PS-file.

\layout Lemma
\begin_inset LatexCommand \label{exp}
\end_inset 
Let ...
\begin_inset Formula 
\[
e:C\cdot \bar{W}\rightarrow \exp (\bar{W})\]
\end_inset 
 and which satisfies 
\begin_inset Formula \( \textrm{dev}(e)\epsilon . \)
\end_inset 
.
\layout Proof

etc.


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



Re: mathrm (not italic) in lemmas?

1999-11-08 Thread


On 08 Nov 1999 11:11:13 +010   Jean-Marc Lasgouttes wrote:
>> "?" ==   <" <[EMAIL PROTECTED]>> writes:
>
>?> There are certain functions like sin, exp, etc. which are supposed
>?> to be written with non-italic letters even inside formulas. Usually
>?> this works (by using \sin or C-m sin). However, in the Lemma and
>?> Proposition environments (which italicize text) these get
>?> italicized too. How can I turn that off? Or is it even supposed to
>?> be this way? Lyx 1.0.2
>
>If you use \sin, you will certainly not have a problem in a
>proposition environment. Could you give an example file?
>
>JMarc
>

Sure: In the following lemma (same problem with "proposition" environment), there are 
the operators "exp" (standard macro) and "dev" (own notation). Both are italicized in 
the PS-file.

\layout Lemma
\begin_inset LatexCommand \label{exp}
\end_inset 
Let ...
\begin_inset Formula 
\[
e:C\cdot \bar{W}\rightarrow \exp (\bar{W})\]
\end_inset 
 and which satisfies 
\begin_inset Formula \( \textrm{dev}(e)<\epsilon . \)
\end_inset 
.
\layout Proof

etc.


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



mathrm (not italic) in lemmas?

1999-11-07 Thread

There are certain functions like sin, exp, etc. which are supposed to be written with 
non-italic letters even inside formulas.  Usually this works (by using \sin or C-m 
sin).  However, in the Lemma and Proposition environments (which italicize text) these 
get italicized too.  How can I turn that off?  Or is it even supposed to be this way?

Lyx 1.0.2



--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



mathrm (not italic) in lemmas?

1999-11-07 Thread

There are certain functions like sin, exp, etc. which are supposed to be written with 
non-italic letters even inside formulas.  Usually this works (by using \sin or C-m 
sin).  However, in the Lemma and Proposition environments (which italicize text) these 
get italicized too.  How can I turn that off?  Or is it even supposed to be this way?

Lyx 1.0.2



--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.



mathrm (not italic) in lemmas?

1999-11-07 Thread

There are certain functions like sin, exp, etc. which are supposed to be written with 
non-italic letters even inside formulas.  Usually this works (by using \sin or C-m 
sin).  However, in the Lemma and Proposition environments (which italicize text) these 
get italicized too.  How can I turn that off?  Or is it even supposed to be this way?

Lyx 1.0.2



--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.