Srinivas Nedunuri wrote:
hello I was wondering how you get text or a symbol above some other symbol in Lyx when you're doing it as part of some linear expression. For example: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
#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
