ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Vertically Aligning inmargin Text to Figure
@ 2013-04-29  7:33 Malte Stien
  2013-04-29 11:04 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Malte Stien @ 2013-04-29  7:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

Hi,

I need to associate a bit of text with a figure in a book. The text is not---and cannot be---the figure caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list:

\definepapersize[eightsquare][width=8in, height=8in]
\setuppapersize[eightsquare]

\setuplayout[
	location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
	leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, rightedgewidth=6mm,
	topspace=12mm, header=15mm,	footer=15mm, height=179mm, width=115mm
]

\starttext

\startplacefigure[location=force, title={First dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure

\stoptext

However, that results in the text being down the bottom of the figure. I need the text to be vertically aligned with the top of the figure. I have attached the resulting PDF for illustration purposes (is that okay on this mailing list? It's very small).

Any hints would be much appreciated.

Thank you,
Malte.


[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 12904 bytes --]

[-- Attachment #3: Type: text/plain, Size: 336 bytes --]


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency


[-- Attachment #4: 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
___________________________________________________________________________________

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

end of thread, other threads:[~2013-06-18  8:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-29  7:33 Vertically Aligning inmargin Text to Figure Malte Stien
2013-04-29 11:04 ` Wolfgang Schuster
2013-05-24  6:46   ` Malte Stien
2013-05-24  7:30     ` Hans Hagen
2013-05-24 13:53     ` Wolfgang Schuster
2013-06-18  4:11   ` Malte Stien
2013-06-18  8:02     ` Hans Hagen
2013-06-18  8:05     ` Wolfgang Schuster

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