ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes in margin
@ 2006-03-20 20:28 Alex Lubberts
  2006-03-21 13:47 ` John R. Culleton
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Lubberts @ 2006-03-20 20:28 UTC (permalink / raw)


Hi,

Does anybody know if it is possible to place footnotes in the margin? If 
so, how?

TIA,
Alex Lubberts

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

* Re: footnotes in margin
  2006-03-20 20:28 footnotes in margin Alex Lubberts
@ 2006-03-21 13:47 ` John R. Culleton
  0 siblings, 0 replies; 2+ messages in thread
From: John R. Culleton @ 2006-03-21 13:47 UTC (permalink / raw)


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

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

end of thread, other threads:[~2006-03-21 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-20 20:28 footnotes in margin Alex Lubberts
2006-03-21 13:47 ` John R. Culleton

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