[NTG-context] Keep photographer in one line in a caption

Rik Kabel ConTeXt at rik.users.panix.com
Sat Jan 11 22:02:42 CET 2020


On 1/11/2020 14:31, Henning Hraban Ramm wrote:
> Yet another small problem:
> I my photo captions, the photographer should be right aligned and in one line, i.e. if it doesn’t fit into the last line of the caption, it should move to the next line. ATM I’m clueless...
>
> That’s not enough (also not a MWE):
>
> \define[1]\Foto{\hfill\hbox{\tfx Foto: #1}}
>
>
> Best, Hraban

Doesn't \wordright do what you want?

-- 
Rik



More information about the ntg-context mailing list