elyxer-users
[Top][All Lists]
Advanced

[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 22:41:55 +0100

El lun, 06-12-2010 a las 13:32 +0100, Alex Fernandez escribi├│:
> Fine, now I think I understand the problem better. I think that your
> modification applies to inline formulas, but not to standalone
> formulas: the latter would otherwise stretch to the right beyond the
> page when the page is shrunk, which is probably not what the author
> wanted anyway. Letting standalone formulas wrap alleviates the problem
> somehow, although the ideal solution would be to let formulas just
> wrap at designated points as you say.

Yes, it is a difficult problem, because to split equation in partial
blocks with nowrap would require to parse the mathematical sense of
the equation (e.g. plus sign can be break point in base line, but not
inside fraction denominator). Anyway, inlined equations tend to 
be shorter and moving the complete equation to next line is not too bad.
Longer equations look better in display mode and usually the 
author write them breaking by hand (or with align environments, etc).

> Let me know if what I committed right now works for you.

Yes, your solution inside "span.formula" works well for inlined
formula.

Thanks,
Jose R.

-- 
,....,....,....,........,.............,..........................,....,
: Jose Ramon   Alvarez Sanchez        : Email: address@hidden  :Ooo.:
: Dpto. de Inteligencia Artificial    : Tel:  (+34) 91-398-7199  :(  ):
: Univ. Nac. de Educacion a Distancia : Fax:  (+34) 91-398-8895  : ) |:
: Juan del Rosal, 16 - 3ª             : --$[0,+oo)@!&>#%{}*\/^_= : (_):
: E-28040 Madrid       SPAIN          : http://www.ia.uned.es/~jras   :
'.....................................:..........................:....'
        Simple things are easier, you don't need to trouble your life.
        Las cosas simples son mas sencillas, no te compliques la vida.
_,+'^'+,_,+'^'+,_ Usuario de Debian GNU/Linux:  http://www.debian.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]