Re: [NTG-context] Automatic space before question mark
Thanks Marco and Wolfgang! Always impressed about the possibilities of ConTeXt and this mailing list. By testing this, naturally another related questions come up. E.g. this one: How to define before ? and ! a 0.1 leftspace, but before the combination ?! only ONE 0.1 leftdistance - and not such a distance before the ! for this case? So I want: "Only ?!", instead of "Only ? !" (here in this mailer shown with normal spaces) Is that possible, too? Or if not, it would be enough to set simply no space infront of the combination. I guess, one has to programm something for this question? Huseyin
On 2013–09–06 "H. Özoguz" wrote:
Thanks Marco and Wolfgang!
You should thank Hans for implementing all these features.
How to define before ? and ! a 0.1 leftspace, but before the combination ?! only ONE 0.1 leftdistance - and not such a distance before the ! for this case?
The simplest solution would be to use “⁈” instead of “?!”. \setupbodyfont [dejavu] \definecharacterspacing [MySpacing] \setupcharacterspacing [MySpacing] [\number`!] [left=.2] \setupcharacterspacing [MySpacing] [\number`?] [left=.2] \setcharacterspacing [MySpacing] \starttext What? And why? Really⁈ \stoptext Marco
On 9/6/2013 6:20 PM, Marco Patzer wrote:
On 2013–09–06 "H. Özoguz" wrote:
Thanks Marco and Wolfgang!
You should thank Hans for implementing all these features.
How to define before ? and ! a 0.1 leftspace, but before the combination ?! only ONE 0.1 leftdistance - and not such a distance before the ! for this case?
The simplest solution would be to use “⁈” instead of “?!”.
i wonder how these things ended up in unicode
\setupbodyfont [dejavu]
\definecharacterspacing [MySpacing]
\setupcharacterspacing [MySpacing] [\number`!] [left=.2]
\setupcharacterspacing [MySpacing] [\number`?] [left=.2]
\setcharacterspacing [MySpacing]
\starttext What? And why? Really⁈ \stoptext
Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
"H. Özoguz"
-
Hans Hagen
-
Marco Patzer