From: Andy Thomas <andythomas@web.de>
To: ntg-context@ntg.nl
Subject: stack marginals: text and figures
Date: Sun, 20 May 2012 20:42:17 +0200 [thread overview]
Message-ID: <4D47F885-057D-4F47-BB5E-41CFD3FA33E0@web.de> (raw)
Dear ConTeXt group,
I am trying to stack text and figures in the margin. After getting some help, I am able to setup the text just fine, the notes do not overlap. I am also able to stack figures, they also do not overlap. But figures and text does not 'know of each other'. They do overlap.
I made a small example to show the behavior:
% setup the page format
\definepapersize[wissenschaft][width=170mm,height=240mm]
% use the new page format
\setuppapersize[wissenschaft]
% shape the page
\setuplayout[topspace=40pt,
header=0pt,
headerdistance=0pt,
backspace=42pt,
leftmargin=0pt,
width=280pt,
height=560pt,
rightmargindistance=20pt,
rightmargin=100pt,
footer=0pt]
%\showframe
\setuppagenumbering[alternative=doublesided]
\definemargindata [margintext]
[
location=outer,
width=100pt,
align=flushouter,
stack=continue, % or yes
]
\starttext
This is a sentence.\margintext{This is a note in the margin.} Another sentence.\margintext{Another note.}
\placefigure[margin][fig:one]{This is a small figure.}{\externalfigure[test][width=100pt]}
\placefigure[margin][fig:two]{This is another small figure.}{\externalfigure[test][width=100pt]}
\stoptext
I also tried to do things such as \margintext{\placefigure...}}, but had no success.
Is there a way to achieve a 'stacking' of all marginals?
Andy
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2012-05-20 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-20 18:42 Andy Thomas [this message]
2012-05-21 18:00 ` Marco
2012-05-21 18:33 ` Wolfgang Schuster
2012-05-22 7:46 Andy Thomas
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=4D47F885-057D-4F47-BB5E-41CFD3FA33E0@web.de \
--to=andythomas@web.de \
--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).