ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "John R. Culleton" <john@wexfordpress.com>
Subject: Re: footnotes in margin
Date: Tue, 21 Mar 2006 08:47:23 -0500	[thread overview]
Message-ID: <200603210847.23748.john@wexfordpress.com> (raw)
In-Reply-To: <441F1071.5040103@gallie.lan>

On Monday 20 March 2006 15:28, Alex Lubberts wrote:
> Hi,
>
> Does anybody know if it is possible to place footnotes in the margin? If
> so, how?
>
> TIA,
> Alex Lubberts
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


Do you mean a sidebar with a note in it? Some time ago I asked a
similar question and got various answers. For a partially
embedded sidebar Hans suggested something along this line:
------------------------------------------------------

\setupoutput[pdftex]
\setupcolors[state=start]
\frenchspacing
\tolerance = 1000
\setuplayout[width=4in]
\setupfloat
   [intermezzo]
   [
   leftmargindistance=-.8in,
    rightmargindistance=-.8in,
    default={outer,high}]
\setupcaption[intermezzo][location=none]

\defineframedtext
   [myohmy]
   [width=6cm,bodyfont=small,
frame=off,
backgroundcorner=round, 
backgroundradius=6pt,background=screen,backgroundscreen=.8]
%\showframe
\setupmarginblocks[
	style=small,
	width=5cm,
        before=\startmyohmy,
        after={\relax,\stopmyohmy},
        align=middle,
         ]  
\long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}}

\starttext
\input ward
\placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy}
\dorecurse{3}{\input knuth \par}
\page[yes]
\input ward
\placeintermezzo{}{\input dawkins\relax}
\page[yes]
\input ward

FOO
\sidebar{%
\input dawkins

Additional text.
}
\dorecurse{3}{\input knuth \par}


\stoptext
-----------------------------------------------------
This delivers a longish sidebar, partially embedded in the text
block, with a gray screen background.
-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

      reply	other threads:[~2006-03-21 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20 20:28 Alex Lubberts
2006-03-21 13:47 ` John R. Culleton [this message]

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=200603210847.23748.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --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).