> Am 25.11.2014 um 10:14 schrieb Richard Sherman <rss....@gmail.com>: > > 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.
The first line is a comment which says \definefont[InmarginStyle][Sans at 18pt] \setupmargindata[inmargin][style=InmarginStyle] takes less time to change the font than \setupmargindata[inmargin][style={\switchtobodyfont[ss,18]}] but you won’t notice the difference unless your document has thousands of pages and even then you will notice it only will large fonts (e.g. chinese fonts). > 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. The command has no align option but you can use the command key to use a alignment command. \setuppagenumbering [location={header,inmargin}, alternative=doublesided, command={\alignedline{outer}{right}}] % command=\doalignline{outer} \showframe \starttext \dorecurse{20}{\input knuth\par} \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________