Automatic space before question mark
I want to set before all question marks of a large document one "\narrownobreakspace". How to do this, if not in the source? Is there a possibility to exchange all "?" by the effect of "\narrownobreakspace ?" with one small command? (Without changing the source, that is not to search-exchange all "?" with "\narrownobreakspace ?". Thanks.
On 2013–09–06 "H. Özoguz" wrote:
I want to set before all question marks of a large document one "\narrownobreakspace".
Set up the character spacing for the question mark. No changes to the markup required. \definecharacterspacing [MySpacing] \setupcharacterspacing [MySpacing] [\number`?] [left=.2] \setcharacterspacing [MySpacing] \starttext What? And why? \stoptext Marco
Am 06.09.2013 um 12:55 schrieb H. Özoguz
I want to set before all question marks of a large document one "\narrownobreakspace".
How to do this, if not in the source? Is there a possibility to exchange all "?" by the effect of "\narrownobreakspace ?" with one small command? (Without changing the source, that is not to search-exchange all "?" with "\narrownobreakspace ?".
\definecharacterspacing [test] \setupcharacterspacing [test] ["003F] [left=.1,alternative=1] \starttext Question mark? \setcharacterspacing[test] Question mark? \stoptext Wolfgang
participants (3)
-
"H. Özoguz"
-
Marco Patzer
-
Wolfgang Schuster