Its almost what I want. What I really want is a double arrow (==>), and I
see that unfortunately latex doesn't have a \xRightarrow (or at least Lyx
doesn't recognize it). I tried using the \overset command (\underset just
produces a complete mess) and again its almost what I want but it doesnt
elongate the arrow to accomodate the label. Oh well, thanks for the tip.
----- Original Message -----
From: "Uwe Stöhr" <uwestoehr-S0/***@public.gmane.org>
To: "Srinivas Nedunuri" <nedunuri-***@public.gmane.org>
Cc: <lyx-users-UqbJ+GOpo4+***@public.gmane.org>
Sent: Friday, June 03, 2005 5:58 PM
Subject: Re: text over a symbol
Post by Uwe StöhrPost by Srinivas Nedunurihello I was wondering how you get text or a symbol above some other symbol
xyz abc
A1 ---------> A2 -------> etc
You can use the commands \xleftarrow or \xrightarrow respectively. Just
type them in a formula followed by a space and you'll see the arrow with
two blue boxes for the over/underset.
Generally you can "accentuate" characters with the commands \overset and
\underset. (The different behaviour of the two comands in the attached
file is a known LyX-bug.)
Attached an example LyX-file.
regards Uwe
----------------------------------------------------------------------------
----
Post by Uwe Stöhr#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\options fleqn
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single
\papersize Custom
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet
\layout Standard
command
\series bold
\backslash
xrightarrow
\series default
\begin_inset Formula \[
A1\xrightarrow{xyz}A2\xrightarrow{abc}\textrm{etc}\]
\end_inset
\layout Standard
command
\series bold
\backslash
overset
\series default
and
\series bold
\backslash
longrightarrow
\series default
\begin_inset Formula \[
A1\overset{xyz}{\longrightarrow}A2\]
\end_inset
\layout Standard
command
\series bold
\backslash
underset
\series default
and
\series bold
\backslash
longrightarrow
\series default
\begin_inset Formula \[
A1\underset{xyz}{\longrightarrow}A2\]
\end_inset
\the_end