[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [eLyXer-users] non-breaking formulas at end of line

**From**: |
Jose Ramon Alvarez Sanchez |

**Subject**: |
Re: [eLyXer-users] non-breaking formulas at end of line |

**Date**: |
Mon, 06 Dec 2010 02:02:40 +0100 |

El lun, 06-12-2010 a las 01:09 +0100, Alex Fernandez escribiÃ³:
>* On Sat, Dec 4, 2010 at 6:11 PM, Jose Ramon Alvarez Sanchez*
>* <address@hidden> wrote:*
>* > Hi, while browsing a page generated by eLyXer with formulas*
>* > I realised that if one formula is at the end of the line, then*
>* > part of it can be broken into the next line.*
>* *
>* How does it behave otherwise? Does it just stretch to the right?*
>* Formulas must become pretty unreadable too, don't they?*
Yes, to see the effect, for example, just look at the last line of
section 4.2 in eLyXer math show http://elyxer.nongnu.org/math.html
while at the same time shrink slowly the width of the browser
window so the right margin reaches the integral, then only the
"x" could go to another line while the rest of the equation (integral
sign and limits) remains at the end of the line, etc. Not all possible
breaking points in html have some sense in general in an equation
(except for equal or operators signs, etc.).
>* > This behaviour can be avoided by just adding the property*
>* > "white-space: nowrap;" inside the ".formula{}" style in the css.*
>* Done.*
Thanks, with that property in the css the previous case does not occur,
because the whole equation goes to another line if required (no break
points inside equations).
Best regards,
Jose R.