Hi folks,
Just curious if it has already been done : I need to center a string
with a max line length. The words must be uncut and balanced between
lines.
Example :
----------------
(mathimatiques niveau lycie: sirie
'1
----------------- is incorrect
(mathimatiques
niveau lycie: sirie
'1
----------------- is incorrect
(mathimatiques niveau
lycie: sirie '1
----------------- is correct
Centering the lines is not a problem. The most difficult part is to
balance words with line-length. Did somebody already do this with XSL
?
Thanks for any help,
Frederic
|