2009/4/7 Yanrui Li <liyanrui...@gmail.com>: > Hi, > > May be this can help you. > > %%%% > \startuseMPgraphic{mpos:par:columnset} % Shift underlining down a touch > \iftracepositions show_multi_pars \else draw_multi_pars \fi ; > path p ; p := boundingbox currentpicture ; > currentpicture := currentpicture shifted (0,-1.2*StrutDepth) ; > setbounds currentpicture to p ; > \stopuseMPgraphic > > \definetextbackground[underline] > [location=paragraph,alternative=1,background=,frame=off] > > \definestartstop > [underline] > [before={\starttextbackground[underline]}, > after=\stoptextbackground] > > \starttext > > \startunderline > \input knuth > \stopunderline > > \stoptext > %%%% >
You can control the distances by setting up the params of "currentpicture shifted" and linespace. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.06 18:43) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________