From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: Marginal notes in two-column setup
Date: Sun, 20 Jul 2003 13:12:32 +0200 [thread overview]
Message-ID: <006f01c34eaf$d2a52ef0$0100a8c0@vademecum> (raw)
In-Reply-To: <AE822A12-B907-11D7-A11C-000A95901A7E@rna.nl>
Hi Gerben,
>
> Have a two column text with the marginal notes from the left column
> appear on the left and the ones from the right column on the right.
> When I use 2-columns and I use \inmargin, I get them on the right where
> the marginal notes from the left column are on top of the right column
> (not good)
>
> Is there a way to do this? Probably yes with something \if-like?
After sttudying the sources and a bunch of trial and errors I can come up
with the following solution which works for a two solumns set!
\definecolumnset[example][n=2]
\define[1]\MargText{%
\ifodd\mofcolumns{%
\inleft{#1}}
\else
{\inright{#1}}\fi}
\starttext
\startcolumnset[example]
\MargText{Here left of column}
\input tufte
\column[local]
\input tufte
\MargText{\ifodd\mofcolumns{Hello!, still left of column}\else {Hello, now
right of column}\fi}
\stopcolumnset
\stoptext
I believe that Hans will make a generic solution...
Kind regards Willi
next prev parent reply other threads:[~2003-07-20 11:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-18 10:07 Gerben Wierda
2003-07-20 11:12 ` Willi Egger [this message]
2003-07-20 19:55 ` Gerben Wierda
2003-07-21 7:17 ` Willi Egger
2003-07-21 20:34 ` Gerben Wierda
[not found] ` <008501c3504c$d599aa20$0100a8c0@vademecum>
2003-07-24 6:36 ` Héctor M. Monacci
2003-07-24 17:34 ` Johannes Hüsing
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='006f01c34eaf$d2a52ef0$0100a8c0@vademecum' \
--to=w.egger@boede.nl \
--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).