manuel madrigal wrote:
> 
> Hi,
> 
> I'm using \displaystyle in a fraction by using LyX. I save this file,
> test.lyx, which part of it  is  like that:
> 
> \layout Standard
> 
> \begin_inset Formula
> \[
> \frac{\displaystyle \sum _{1}^{2}x}{y}\]
> 
> \end_inset
> 
> \the_end
> 
> I close and  load test.lyx, but LyX doesn't recognise the command
> \displaystyle and the solution is to type it again!!.  Do you have the
> correct solution?.

this may help:

in latex preamble:
\newcommand\myDstyle[1]{\displaystyle{#1}}

and than 
\[
> \frac{\myDstyle{\sum _{1}^{2}x}{y}}\]

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/

Reply via email to