Helmut Schwertner wrote:
> if I use the \setuphead[][] command like this way
>
> \setuphead
> [section]
> [alternative=inmargin,
> numberstyle=bold,
> textstyle=bold]
>
> I can use features how > normal, bold, slanted < and so on. What is
> to do, if I want to combine two features e.g. bold _and_ 18pt (Fontsize)?
Hello Helmut,
I'd probably use the normal font switching commands, you'd use in
normal markup. So, if I was using a body font of 11pt and wanted to
have a section header in bold & 18pt, I'd use the font switching
command \bfc.
This would be used in your preamble like this
\setuphead
[section]
[alternative=inmargin,
numberstyle=\bfc,
textstyle=\bfc]
Of course, this is because I'm particularly lazy. To do it correctly,
so someone reading your preamble has a chance of understanding it,
you'd make it as self-documenting as possible. The correct preamble,
would then look like:
------------------------------------------------------------
\setupbodyfont[11pt]
\setuphead
[section]
[alternative=inmargin,
numberstyle=\SectionFont,
textstyle=\SectionFont]
\definefont [SectionFont][SerifBold at 18pt]
\starttext
\section[sec:one]{Section One}
\input tufte
\stoptext
------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context