ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Vertical alignment of \placefigure[right]
@ 2014-05-07 12:23 Mojca Miklavec
  2014-05-07 12:29 ` Wolfgang Schuster
  2014-05-07 12:48 ` Sanjoy Mahajan
  0 siblings, 2 replies; 7+ messages in thread
From: Mojca Miklavec @ 2014-05-07 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I would like to vertically shift the placement of figures
(\placefigure[right]...), so that the upper side of the figure would
be aligned with the top of the first line in a paragraph as opposed to
the bottom of the first paragraph.

Here's a minimal example. The second "ugly workaround" shows what I'm
trying to achieve, but ideally using a cleaner approach. Does there
exist a magic keyword for that?

\starttext
\hrule
\placefigure[right]{Caption}{\framed[width=5cm,height=4cm]{}}
\input knuth

% ugly workaround
\hrule
\vskip-11pt
\placefigure[right]{Caption}{\framed[width=5cm,height=4cm]{}}
\vskip11pt
\input knuth
\stoptext

Thank you,
    Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-05-07 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07 12:23 Vertical alignment of \placefigure[right] Mojca Miklavec
2014-05-07 12:29 ` Wolfgang Schuster
2014-05-07 12:48 ` Sanjoy Mahajan
2014-05-07 13:09   ` Mojca Miklavec
2014-05-07 13:52     ` Sanjoy Mahajan
2014-05-07 14:18     ` Sanjoy Mahajan
2014-05-07 14:54       ` Romain Diss

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).