* How to set the vertical spacing between a sequence of images?
[not found] <872497325.1649209.1666657934391.ref@mail.yahoo.com>
@ 2022-10-25 0:32 ` Joel via ntg-context
2022-10-25 8:22 ` Henning Hraban Ramm via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-10-25 0:32 UTC (permalink / raw)
To: Mailing List for ConTeXt Users; +Cc: Joel
[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]
I have code like this which randomly pulls a page from `comic2.pdf` and displays it, scaled to fit \textwidth, then displays four more random pages afterwares.
\starttext \dorecurse{5}{
\placefigure[force, none]{}{\framed[frame=off]{\externalfigure[comic2.pdf][page=\randomnumber{1}{34}, width=\textwidth]}}
}\stoptext
The problem is I need to adjust the vertical space between the images. It seems to be set to some lineheight or such, but I need the distance between each image to be at 1/50th or 0.02 of \textwidth. ...though the last image can have the ordinary gap afterwards.
How can I se the vertical spacing between this sequence of image to 0.02\textwidth?
--Joel
[-- Attachment #1.2: Type: text/html, Size: 1418 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-25 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <872497325.1649209.1666657934391.ref@mail.yahoo.com>
2022-10-25 0:32 ` How to set the vertical spacing between a sequence of images? Joel via ntg-context
2022-10-25 8:22 ` Henning Hraban Ramm via ntg-context
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).