"Mohd. K. Kasmin" wrote:
> 
> Hi everybody,
> 
>         I want to have the subscript in an equation to
> be typeset with not just the math mode text but also
> TeX mode text. Example ...
> 
> \( \psi _{1s\H }=\exp (-r) \)
> 
> (this is the equation generated by LyX, that I picked
> from file.tex)
> 
> This equation displayed OK in LyX display. But when
> viewed as dvi the part begining from the equal sign
> were dropped to the next line.
> 
> Another example ...
> 
> \( \psi _{1s_{\H }}=\exp (-r) \)
> 
> In this equation the letter H is a subsript of 1s and
> in this example LyX popup an error dialog box and
> ask me to fix it when I tried to view the equation as
> DVI eventhough the equation look right in LyX diplay.

\H is used in Latex for double accent, like the hungarian
s with two dots above the s. The correct use is \H{letter}.
Writing

\( \psi _{1s\H{} }=\exp (-r) \)
              ^^

is a formula in one line, no break. But it always makes
no sense, because \H{} means nothing! \H{s} in math mode
gives the product-symbol, I suppose that this is not what you
want? The product-symbol in math mode is \prod.

Herbert



-- 
[EMAIL PROTECTED]
http://www.educat.hu-berlin.de/~voss

Reply via email to