Wolfgang Schuster <schuster.wolfgang <at> gmail.com> writes:

...
> \setuppagenumbering[style=\ttc]
> 
> \setuplayout[backspace=4cm]
> 
> \showframe
> 
> \setupmarginframed[inmargin][align=flushleft]
> \setupmargindata  [inmargin][style={\switchtobodyfont[ss,18]}]
> 
> % Faster method to switch the font for \inmargin
> %\definefont[InmarginStyle][Sans at 18pt]
> %\setupmargindata[inmargin][style=InmarginStyle]
> 
> \starttext
> 
> \dorecurse{10}
>   {\inmargin{Ward}
>    \input ward\par
>    \inmargin[][align=flushleft]{Knuth}
>    \input knuth\par
>    \inmargin[][align=flushright]{Tufte}
>    \input tufte\par
>    \inmargin[][align=middle]{Zapf}
>    \input zapf\par}
> 
> \stoptext

---

Thank you, this is beginning to look good. 

Your first method, uncommented, does not work for me. I get an error at 
the first occurrence of \inmargin.

Using the method you commented out, I get what I want. I'm a little 
perplexed at why I can't include align=flushleft as in 
\setupmargindata[inmargin]
[style=InMarginStyle, align=flushleft]. I'm unable to find any reference 
to \setupmarginframed via Google. 

Using \setuppagenumbering[style=\rmx, location={header, inmargin}, 
align=right], 
I'm able to get close to what I want, though 'align=right' has no effect.

Oddly (?), my system knows no Ward, nor Tufte, nor Zapf, nor any 
of the rest of them. :)

Thanks, -Richard


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to