Re: Equation display in a quotation environment

1998-12-01 Thread Jean-Marc Lasgouttes

 "Jianxin" == Jianxin Yuan [EMAIL PROTECTED] writes:

Jianxin I believe many of our lyx users experienced the similar
Jianxin things as well. Could LyX display these paragraph breaks by
Jianxin some marks as done by Word? so we can exactly know when
Jianxin something goes wrong.  A wish list :-)

I think it was on the TODO list (I mean, before we lost it :).

Certainly a reasonable thing to do, but maybe a bit complicated for
1.0.0.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Equation display in a quotation environment

1998-11-27 Thread Jitse Niesen

Hello,

I have an equation display in a quotation environment. So I want the 
following output:

---
The problem is as follows:

Let u(x,t) be the displacement, which satisfies the 
following pde:

 u_tt - u_xx + u + s u^3 = 0

and the following initial and boundary value conditions:
(etc.)

Then, bla bla bla
---

However, it seems that LyX issues a new alinea before each displayed 
equation. This causes too much vertical space between below the words 
"following pde". Here is an excerpt from the .lyx file (the text is in 
Dutch, but I think the problem is clear anymay):

---
 Het probleem luidt als volgt: 
\layout Quote

Zij 
\begin_inset Formula \( u(x,t) \)
\end_inset 

 de uitwijking, die voldoet aan de partiƫle differentiaalvergelijking
\protected_separator 
(pdv)
\layout Quote


\begin_inset Formula 
\begin{equation}
\label{eq:pdv}
u_{tt}-u_{xx}+u+\sigma u^{3}=0,\qquad 0xL,\; t0
\end{equation}

\end_inset 

en de volgende begin- en randvoorwaarden
---

and the .tex file generated with buffer-export-latex contains the 
following fragment:

---
 Het probleem luidt als volgt: 

\begin{quotation}
\noindent Zij \( u(x,t) \) de uitwijking, die voldoet aan de partiƫle 
differentiaalvergelijking~(pdv)

\begin{equation}
\label{eq:pdv}
u_{tt}-u_{xx}+u+\sigma u^{3}=0,\qquad 0xL,\; t0
\end{equation}
en de volgende begin- en randvoorwaarden
---

I believe the problem is the empty line before the \begin{equation}.

So, my questions are: 
* Am I doing something wrong or is it a bug in LyX?
* In the latter case, can I circumvent the bug? The only way I see is by 
  typing the whole quotation in directly in Latex.

I hope I stated the problem clearly. 
Thanks in advance for your answer.

Greetings,
Jitse Niesen

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: Equation display in a quotation environment

1998-11-27 Thread Jean-Marc Lasgouttes

 "Jitse" == Jitse Niesen [EMAIL PROTECTED] writes:

Jitse I believe the problem is the empty line before the
Jitse \begin{equation}.

Indeed.

Jitse So, my questions are: * Am I doing something wrong or is it a
Jitse bug in LyX?  * In the latter case, can I circumvent the bug?
Jitse The only way I see is by typing the whole quotation in directly
Jitse in Latex.

When you type a displayed formula, make sure that you do not type Return
before/after the formula. If you do so, you add a paragraph break, and
you get exactly what you do not want: a paragraph break. A displayed
formula should be entered in the text, exactly like a normal inline
formula.

Hope this helps.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.