Melissa wrote:

>>>I would like to nest display formulas in the description environment.
>>>I want the output to look like:
>>>
>>>   Jumps                        x = x + 1
>>>
>>>where "Jumps" is the description label and "x = x + 1" is the
>>>(centered) display formula.  The problem is, I can't get the display
>>>formula to be centered.  The formula is always left-justified.  For
>>>example, if I enter the description environment, type the word
>>>"Jumps", click "Insert... Display Formula", the formula box is
>>>left-justified instead of centered.
>>>
>>
>>Jump <space-bar!!> alt-m-d
>>
>>
>>otherwise the formula is part of the descriptionlable and
>>this is leftaligned.
>>
>>Herbert
>>
> 
> 
> Hi,
> 
> But this puts the display formula on the next line.  I would like the
> display formula to be on the same line as the label...


a display formula is always in an own line.

ok, than try this:

Jump <space-bar!!> <insert->special character->hfill> alt-m-d
<insert->special character->hfill> <space-bar!!>

than the formula is centered
see attached file.

HErbert



-- 
http://www.lyx.org/help/
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 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 Description

Jump \SpecialChar ~

\hfill 

\begin_inset Formula \( f(x)=dx \)
\end_inset 


\hfill 
\SpecialChar ~

\the_end

Reply via email to