Am 27.04.2012 um 15:25 schrieb hwit...@gmail.com:
I have been wrestling with this for hours and I'm sure there's a real easy
fix. Just that it's eluding me.
How can I use \definedescription to set a combination style?
e.g.
Below I can get a capitalized description header:
\definedescription[rsection][location=left,width=broad,headstyle=cap]
but, I also want it to be bold. That is a bold+cap at the same time.
I tried \bf\cap as a headcommand but it didn't seem to work, as was just
ignored.
When you use Latin Modern you can never achieve what you want because the font
doesn’t have a bold caps font but when you use another font like TeX Gyre
Pagella it’s possible but you need a different approach because smallcaps are a
font feature which have to enabled.
\definefontfeature[smcp][smcp=yes]
\definedescription
[description]
[width=broad,
headstyle={\bf\addff{smcp}}]
\setupbodyfont[pagella]
\starttext
\input ward
\startdescription{Ward}
\input ward
\stopdescription
\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
___