Kenward Vaughan <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> On Wed, Apr 02, 2003 at 07:14:22PM +0100, John Levon wrote:
>> On Wed, Apr 02, 2003 at 08:09:11AM -0800, Kenward Vaughan wrote:
> ...
>> > Some additional information: if I try the sequence below at the
>> > beginning of a document, it flat out fails with 6 errors about
>> > things like missing }'s and so on.  Is there a way to log these
>> > errors (since I can't seem to copy the text out of the boxes)?
>> > 
>> > Has the input for math changed that much from 1.2.x ?  I have
>> > noticed that 
>> >      C-m A-m m CH <rightarrow> _4
>> > works OK.   ????
>> 
>> Subscripts are not allowed inside textrm. Andre, how hard would it be
>> to 
> 
> 
> If this has always been the case, then some magic was working in 1.2.x
> which is no longer there in 1.3.x.  The code has changed, since the
> sequences I pointed out in my origianl post have always worked for me
> before now. 
> 
> 
>> make sub/superscript at the end of a text region exit the textrm
>> environment first ? And also disable sub/super in the middle ?
> 
> 
> Regarding your question to Andre', I'd reiterate as well the earlier
> sequence of strokes which allowed me to first place my letters (in
> textrm, I guess), followed by inserting other (apparently verboten)
> characters in the middle of that sequence.  The old code must have
> accomodated my ignorance of the rules...
> 
> I'm not saying I can't live without it, but for a person entering
> formulae like I do that sort of sequence is a real saver of
> keystrokes. 
> 
> 
> Kenward

Not sure if this is known (for some reason, I don't see the response from 
John Levon to which you responded), but whereas your original sequence 
results in a setting CH in textrm, with the subscript inside the textrm 
braces (apparently verboten in LaTeX), you get the same result using 
mathrm (i.e., \mathrm{CH_4} rather than \textrm{CH_4}), and the latter is 
apparently valid LaTeX.  So the next question, to which I lack an answer, 
is whether there's a key binding/command in math mode for mathrm.  

I'm also curious why C-m A-m m toggles between normal math font and 
textrm, rather than using mathrm.  Is this because the user might not 
have mathrm (lack of the right AMS package or something)?

-- Paul
*************************************************************************
Paul A. Rubin                                  Phone:    (517) 432-3509
Department of Management                       Fax:      (517) 432-1111
The Eli Broad Graduate School of Management    E-mail:   [EMAIL PROTECTED]
Michigan State University                      http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*************************************************************************
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.                                    J. W. v. GOETHE

Reply via email to