character spacing for guillemets in English
Is there a global way to insert a very thin (ca 1pt) unbreakable space before a right guillemet and after a left guillemet when the main language and character spacing are English, so that “«” and “»” in my source file are processed properly? The font that I am using puts them too close to the enclosed characters (typically, Greek). Basically, I need to borrow the French spacing for these two characters but have not been able to figure out how to do this from the ConTeXt source files. Alan
Am 02.06.2013 um 14:32 schrieb Alan Bowen
Is there a global way to insert a very thin (ca 1pt) unbreakable space before a right guillemet and after a left guillemet when the main language and character spacing are English, so that “«” and “»” in my source file are processed properly?
The font that I am using puts them too close to the enclosed characters (typically, Greek). Basically, I need to borrow the French spacing for these two characters but have not been able to figure out how to do this from the ConTeXt source files.
\definecharacterspacing [alan] \setupcharacterspacing [alan] ["00AB] [right=.1,alternative=1] \setupcharacterspacing [alan] ["00BB] [left=.1,alternative=1] \starttext text «text» text \setcharacterspacing[alan] text «text» text \stoptext Wolfgang
Thanks, Wolfgang. That is a great help: it works perfectly and saves my day. All best, Alan On Sun, Jun 2, 2013 at 10:16 AM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Am 02.06.2013 um 14:32 schrieb Alan Bowen
: Is there a global way to insert a very thin (ca 1pt) unbreakable space before a right guillemet and after a left guillemet when the main language and character spacing are English, so that “«” and “»” in my source file are processed properly?
The font that I am using puts them too close to the enclosed characters (typically, Greek). Basically, I need to borrow the French spacing for these two characters but have not been able to figure out how to do this from the ConTeXt source files.
\definecharacterspacing [alan]
\setupcharacterspacing [alan] ["00AB] [right=.1,alternative=1] \setupcharacterspacing [alan] ["00BB] [left=.1,alternative=1]
\starttext
text «text» text
\setcharacterspacing[alan]
text «text» text
\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
___________________________________________________________________________________
On Sun, 2 Jun 2013 16:16:04 +0200
Wolfgang Schuster
Am 02.06.2013 um 14:32 schrieb Alan Bowen
: Is there a global way to insert a very thin (ca 1pt) unbreakable space before a right guillemet and after a left guillemet when the main language and character spacing are English, so that “«” and “»” in my source file are processed properly?
The font that I am using puts them too close to the enclosed characters (typically, Greek). Basically, I need to borrow the French spacing for these two characters but have not been able to figure out how to do this from the ConTeXt source files.
\definecharacterspacing [alan]
\setupcharacterspacing [alan] ["00AB] [right=.1,alternative=1] \setupcharacterspacing [alan] ["00BB] [left=.1,alternative=1]
\starttext
text «text» text
\setcharacterspacing[alan]
text «text» text
\stoptext
Wolfgang
Or {\fr\quotation{text}}...
participants (3)
-
Alan Bowen
-
Alan BRASLAU
-
Wolfgang Schuster