Is there a nice way to automatically turn all parentheses in italic text upright in ConTeXt? In particular i'm interested in a solution which would work with EB Garamond. My current workaround is to define a fallback in my typescript file, which forces upright parentheses into italics, like so:

    \definefontfallback [uprightparenteses] [name:EBGaramond-Regular] [0x00028:0x00029] [force=yes] 
    \starttypescript [serif] [ebgaramond-test]
        \definefontsynonym [Serif] [name:EBGaramond-Regular] [features=eb-garamond-test]
        \definefontsynonym [SerifItalic] [name:EBGaramond-Italic] [features=eb-garamond-test,fallbacks=uprightparenteses]
    \starttypescript [ebgaramond-test]
        \definetypeface[ebgaramond-test] [rm] [serif] [ebgaramond-test] [default]


({\em if (if) if})

The only problem for now is that italics correction itlc=yes obviously doesn't affect these and it doesn't look good (the ones outside are genuine roman ones, with working italics correction, and the ones inside are fake with no italics correction):

upright parentheses


Ok, one possible solution is to do what i did (use a font fallback for parentheses) and, add as @dg suggests below, add \setupitaliccorrection[global,always] to make italics correction work.


You can set italic correction to always:


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.