ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Keep photographer in one line in a caption
@ 2020-01-11 19:31 Henning Hraban Ramm
  2020-01-11 21:02 ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-01-11 19:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keep photographer in one line in a caption
  2020-01-11 19:31 Keep photographer in one line in a caption Henning Hraban Ramm
@ 2020-01-11 21:02 ` Rik Kabel
  2020-01-11 22:35   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2020-01-11 21:02 UTC (permalink / raw)
  To: ntg-context, Henning Hraban Ramm

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keep photographer in one line in a caption
  2020-01-11 21:02 ` Rik Kabel
@ 2020-01-11 22:35   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-01-11 22:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2020-01-11 um 22:02 schrieb Rik Kabel <ConTeXt@rik.users.panix.com>:
> 
> 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}}
> 
> Doesn't \wordright do what you want?

I always forget about that. Thanks for the reminder!

Best, Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-11 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11 19:31 Keep photographer in one line in a caption Henning Hraban Ramm
2020-01-11 21:02 ` Rik Kabel
2020-01-11 22:35   ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).