ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Florian Leupold <fleupold@posteo.net>
To: ntg-context@ntg.nl
Subject: Figure-text alignment and wrapping text more tightly
Date: Thu, 1 Sep 2016 12:06:42 +0200	[thread overview]
Message-ID: <A3F23AA4-AE8F-4FF8-BD8B-33C1787B0AB0@posteo.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]

Dear list,

I am interested in placing a figure on the right-hand side of the page and wrap text around it, see MWE below. This works mostly nicely. But I have got three questions:

1) Is it possible to top-align the figure with the first line of the paragraph to its left?

2) Is there a way to reduce the vertical gap between the first and second figures?

3) The keyword “low” for \placefigure seems to have an effect. But I don’t know why and could not find a reference to that in contextref.pdf. Is this the correct way to wrap text “more tightly” below the figure (compare second and third figures).

Thanks a lot for your input.

Best regards,
Florian


MWE:

\setupexternalfigures[order={pdf,png,jpg}, location={local,global,default}]
\starttext
\useexternalfigure[figure][mill]
\placefigure[right, none]{}{\externalfigure[figure]}
\input ward
\placefigure[right, none]{}{\externalfigure[figure]}
\input ward
\input ward
\input ward
\placefigure[right, low, none]{}{\externalfigure[figure]}
\input ward
\input ward
\input ward
\stoptext


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2016-09-01 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 10:06 Florian Leupold [this message]
2016-09-01 11:07 ` Mikael P. Sundqvist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A3F23AA4-AE8F-4FF8-BD8B-33C1787B0AB0@posteo.net \
    --to=fleupold@posteo.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).