Re: [NTG-context] Position margin text block near previous paragraph
![](https://secure.gravatar.com/avatar/426231f19d3f5c3df67296bbb320127f.jpg?s=120&d=mm&r=g)
Just a quick comment, since I cannot try anything in LiveContext right at this time: What you want is the equivalent of LaTeX's \marginpar , which is really a \vtop whose beginning coincides with the beginning of the paragraph being \note[d]. I am thinking that this would be a good test case for Brooks Moses' LaTeX-to-ConTeXt set of macros. I will experiment with it tonight unless someone beats me to the punch :-) Best, elena
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Elena Fraboschi wrote:
Just a quick comment, since I cannot try anything in LiveContext right at this time:
What you want is the equivalent of LaTeX's \marginpar , which is really a \vtop whose beginning coincides with the beginning of the paragraph being \note[d].
I am thinking that this would be a good test case for Brooks Moses' LaTeX-to-ConTeXt set of macros. I will experiment with it tonight unless someone beats me to the punch :-) Best, elena
\setuplayout[backspace=4cm,margin=3cm,margindistance=.5cm] \starttext \inmargin{Is this a margin par or not?} \input tufte \stoptext context (always had|has) quite extensive support for margin stuff; quite configurable, left, right, inner, outer, stacked etc stuff Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hans Hagen wrote:
Elena Fraboschi wrote:
Both of you missed the original question. What is desired is the output of \inmargin{....} A par \par but with the input being: A par \par \inmargin{....} which is a whole lot harder to do, and a generic solution is probably impossible. I'm sorry, no solution from me Taco
participants (3)
-
Elena Fraboschi
-
Hans Hagen
-
Taco Hoekwater