[dev-context] Stretch charatcers

luigi scarso luigi.scarso at gmail.com
Mon Dec 3 13:05:09 CET 2012


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

--
luigi


More information about the dev-context mailing list