[dev-context] Stretch charatcers

luigi scarso luigi.scarso at gmail.com
Mon Dec 3 15:00:36 CET 2012


function commands.LSws_hfilled(str,margin)
    local _
    _= margin and context.hfil()
    _=string.utfcharacters(str)
    context(_())
    for c in _ do
        context.hfil()
        context(c)
    end
    _=margin and context.hfil()
end

--
luigi


More information about the dev-context mailing list