* [NTG-context] collector advice
@ 2024-09-12 2:21 jbf
2024-09-12 16:26 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: jbf @ 2024-09-12 2:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 845 bytes --]
Using the example in the ConTexT wiki for "collectors", I have as
follows, to credit the person who took the photo:
\setupcaption[number=no]
\definecollector[example]
\setcollector [example]
{\leftaligned{\externalfigure[bird.jpg][width=5cm,frame=off]}}
\setcollector [example] [corner={right,bottom},location={left,top}]
{\rotate[rotation=90]{\framed[frame=off]{\tfx Taken by Kathy Luck, used
with permission}}}
\placefigure [] [] {} {\composedcollector{example}}
The pic goes beneath a poem which is left aligned, so I want the photo
to be left aligned, and relatively small, hence the 5cm width. Problem
is that that vertical label (Taken by...) is on the right hand side of
the page, and I can't seem to adjust that with various offset attempts
to bring it across to the right of the pic. How do I now get it to do so?
Julian
[-- Attachment #1.2: Type: text/html, Size: 2621 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: collector advice
2024-09-12 2:21 [NTG-context] collector advice jbf
@ 2024-09-12 16:26 ` Wolfgang Schuster
2024-09-12 21:16 ` jbf
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-09-12 16:26 UTC (permalink / raw)
To: mailing list for ConTeXt users, jbf
jbf schrieb am 12.09.2024 um 04:21:
> Using the example in the ConTexT wiki for "collectors", I have as
> follows, to credit the person who took the photo:
>
> \setupcaption[number=no]
>
> \definecollector[example]
>
> \setcollector [example]
> {\leftaligned{\externalfigure[bird.jpg][width=5cm,frame=off]}}
Remove \leftaligned.
> \setcollector [example] [corner={right,bottom},location={left,top}]
>
> {\rotate[rotation=90]{\framed[frame=off]{\tfx Taken by Kathy Luck, used
> with permission}}}
>
> \placefigure [] [] {} {\composedcollector{example}}
\placefigure {} {\leftaligned{composedcollector{example}}}
or just
\leftaligned{composedcollector{example}}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: collector advice
2024-09-12 16:26 ` [NTG-context] " Wolfgang Schuster
@ 2024-09-12 21:16 ` jbf
0 siblings, 0 replies; 3+ messages in thread
From: jbf @ 2024-09-12 21:16 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1286 bytes --]
Thanks, though I quickly realised I still needed a backslash in front of
composedcollector, which you had inadvertently left out of the solution.
I discovered that when the image disappeared. So the following
ultimately worked correctly:
\setcollector [example] {\externalfigure[bird.jpg][width=5cm,frame=off]}
\setcollector [example] [corner={right,bottom},location={right,top}]
{\rotate[rotation=90]{\framed[frame=off]{\tfxx Taken by Kathy Luck, used
with permission}}}
\leftaligned{\composedcollector{example}}
Julian
On 13/9/24 02:26, Wolfgang Schuster wrote:
> jbf schrieb am 12.09.2024 um 04:21:
>> Using the example in the ConTexT wiki for "collectors", I have as
>> follows, to credit the person who took the photo:
>>
>> \setupcaption[number=no]
>>
>> \definecollector[example]
>>
>> \setcollector [example]
>> {\leftaligned{\externalfigure[bird.jpg][width=5cm,frame=off]}}
>
> Remove \leftaligned.
>
>> \setcollector [example] [corner={right,bottom},location={left,top}]
>>
>> {\rotate[rotation=90]{\framed[frame=off]{\tfx Taken by Kathy Luck,
>> used with permission}}}
>>
>> \placefigure [] [] {} {\composedcollector{example}}
>
> \placefigure {} {\leftaligned{composedcollector{example}}}
>
> or just
>
> \leftaligned{composedcollector{example}}
>
>
> Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3090 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-12 21:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-12 2:21 [NTG-context] collector advice jbf
2024-09-12 16:26 ` [NTG-context] " Wolfgang Schuster
2024-09-12 21:16 ` jbf
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).