Re: [NTG-context] Position margin text block near previous paragraph
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
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 -----------------------------------------------------------------
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