[dev-context] Stretch charatcers
Wolfgang Schuster
schuster.wolfgang at gmail.com
Mon Dec 3 14:41:30 CET 2012
Am 03.12.2012 um 13:05 schrieb luigi scarso <luigi.scarso at gmail.com>:
> function commands.LSws_hfilled(str,margin)
> local _
> _= margin and context.hfil()
> _= false
> for c in string.utfcharacters(str) do
> _=(_ and context.hfil()) or true
> context(c)
> end
> _=margin and context.hfil()
> end
Thank you for the example Luigi.
Wolfgang
More information about the dev-context
mailing list