Henri Menke <mailto:henrime...@gmail.com>
2. August 2016 um 23:40
Joseph,

I have come up with this very plain TeXy solution.

Cheers, Henri

---

\starttext

\startsection[title=Section]

\dontleavehmode% manually start a paragraph (smash does not)
\smash{% remove height
\rlap{% remove width
\raise \baselineskip \hbox to \textwidth{% shift one line back
\rightaligned{Line}% typset right aligned
}%
}%
}%
\input knuth

\stopsection

\stoptext
You can use \offset to shift the text to a different position.

\define[1]\MoveText
{\dontleavehmode\offset[width=0pt,height=0pt,y=-\lineheight]{\rightaligned{#1}}\GotoPar}

\starttext

\startsection[title=Section]

\MoveText{Line}

\input knuth

\stopsection

\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
___________________________________________________________________________________

Reply via email to