Am 11.06.2013 um 12:24 schrieb Jan Pohanka <xhpoha...@gmail.com>: > Dne 11.6.2013 12:15, Wolfgang Schuster napsal(a): >> You can place the name in the margin. >> >> \setuplayout[backspace=4cm] >> >> \definemargindata[Person][inmargin][style=normal] >> >> \definelines[lyrics][align=middle] >> >> %\showframe >> >> \starttext >> >> \Person{Person 1:} >> >> \startlyrics >> song asdf line 1 >> song line 2 >> song a line 3 >> \stoplyrics >> >> \stoptext >> > > Thank you again. Placing the names in the margin is not a bad idea, but it > would need to rework the rest of my macros as they do not count with it. Also > increasing the backspace causes that the lyrics is not centered ideally. > Can you please kindly advice me some another solution? I can imagine some > negative hskip, but it is probably just ugly hack.
You can use the “command” key for margindata to move the text in the text area. \define[1]\PersonCommand {\rlap{\hskip\leftmargindistance\relax#1}} \definemargindata[Person][inmargin][style=normal,command=\PersonCommand] \definelines[lyrics][align=middle] \showframe \starttext \Person{Person 1:} \startlyrics song asdf line 1 song line 2 song a line 3 \stoplyrics \stoptext Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________