Hello, I am trying for bold small caps, such like {\bf This is bold {\sc and bold small caps} and just bold again} However, out of the box, the inner {\sc ...} part is not typeset in bold. So after a bit of looking I found this: http://wiki.contextgarden.net/Bold_small_caps But it does not work for me. I noticed the module (http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might have set in. Should it still work? Or is there a better way these days? Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.” ― Douglas Adams, Dirk Gently's Holistic Detective Agency
Am 25.06.2013 um 14:59 schrieb Malte Stien
Hello,
I am trying for bold small caps, such like
{\bf This is bold {\sc and bold small caps} and just bold again}
However, out of the box, the inner {\sc ...} part is not typeset in bold. So after a bit of looking I found this:
http://wiki.contextgarden.net/Bold_small_caps
But it does not work for me. I noticed the module (http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might have set in. Should it still work? Or is there a better way these days?
When you have a opentype font with bold smallcaps you can enable them with the \feature command: \setupbodyfont[pagella] \starttext {\bf This is bold {\feature[+][f:smallcaps] and bold small caps} and just bold again} \stoptext Wolfgang
Wolfgang,
Thank you. However, I am getting an undefined control sequence here:
l.4 {\bf This is bold {\feature
[+][f:smallcaps] and bold small caps} and jus...
However, the wiki page http://wiki.contextgarden.net/Featuresets confirms your syntax. What am I missing?
Regards,
Malte.
--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”
― Douglas Adams, Dirk Gently's Holistic Detective Agency
On 25/06/2013, at 11:08 PM, Wolfgang Schuster
Am 25.06.2013 um 14:59 schrieb Malte Stien
: Hello,
I am trying for bold small caps, such like
{\bf This is bold {\sc and bold small caps} and just bold again}
However, out of the box, the inner {\sc ...} part is not typeset in bold. So after a bit of looking I found this:
http://wiki.contextgarden.net/Bold_small_caps
But it does not work for me. I noticed the module (http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might have set in. Should it still work? Or is there a better way these days?
When you have a opentype font with bold smallcaps you can enable them with the \feature command:
\setupbodyfont[pagella]
\starttext {\bf This is bold {\feature[+][f:smallcaps] and bold small caps} and just bold again} \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 ___________________________________________________________________________________
Malte wrote:
Thank you. However, I am getting an undefined control sequence here:
l.4 {\bf This is bold {\feature [+][f:smallcaps] and bold small caps} and jus...
However, the wiki page http://wiki.contextgarden.net/Featuresets confirms your syntax. What am I missing?
The version you are using? The `\feature[+][...]` syntax has been around only since about March 2013; before that you had to use `\addfeature[...]`. Does that explain the error you're getting? Cheers, Sietse
participants (3)
-
Malte Stien
-
Sietse Brouwer
-
Wolfgang Schuster