13 Replies Latest reply: Oct 3, 2011 1:19 PM by Tribulatio
Tribulatio Level 1 Level 1 (75 points)

In Several French-speaking countries, it is required to have a space before some signs such as a colon or semi-colon. But in order to be really elegant, it should be a thin space, not a full space.

 

In Word, this is created automatically provided some settings are selected. Unfortunately, this is not automated with Pages. I am willing to insert it manually, but I sould find an efficient way to do it for a text I am currently writing.

 

I have found the Unicode thin space code (8201) and can copy it from PopChar.

 

However, I have no intent to open PopChar each time I need it. I have attempted to create a keyboard shortkey, but I have not been successful, maybe I do not know how to do it properly.

 

Finally, the way I have found is to copy paste the Unicode thin space into CuteClips, to assign a fixed shortcut to the thin space, and to insert it. Feasible, but not the best way to do it, since I need first to insert the shortcut to CuteClips (which opens instantly), and then to insert the number assigned to the thin space.

 

Obviously, since it has to be repeated frequently, it would be a much better option to be able to create the thin space with one single action instead of two.

 

Any easy suggestion to do it? If it involves buying a small app for doing it, I am willing to buy it. I have tested three, but the result was not convincing, or it didn't work for that specific use (for instance, yType couldn't do the job, since I have to typewrite the shortcut letters straight after the word).

 

There must be a simple way, but two hours of attempts have not allowed me to find it.

 

Any tested suggestion welcome!


MacPro 2.8 GHz, Mac OS X (10.6.6)
  • fruhulda Level 6 Level 6 (15,120 points)

    You can use Auto Correction in the Pages preferences. In this image I have added an arrow from the character palette. You should be able to add the tiny space.

    bilden 2011-10-03 kl. 18.35.04.png

  • Tom Gewecke Level 9 Level 9 (74,710 points)

    Two options:

     

    1) Try using system preferences/language & text/text/symbol and text substitution

     

    2) Create a custom keyboard layout with your thin space on an easily accessible key

     

    http://scripts.sil.org/ukelele

  • fruhulda Level 6 Level 6 (15,120 points)

    Tom, I have found that Pages doesn't care if the text substitution is set in the system preferences. It has to be set in the Pages preferences.

  • Tribulatio Level 1 Level 1 (75 points)

    Thank you, Fruhulda.

     

    Regarding the custom keyboard layout within Pages, it works for other purposes, but not for this one. As you know, the original text gets substituted after one enters a space. Since I want to create a thin space, the result is that I get a thin space plus a normal space - i.e. wider than a normal space instead of the thin space I am looking for.

     

    For other types of substitution, your trick would work indeed - but apparently not for creating a thin space, unless there is something I have missed.

  • Tribulatio Level 1 Level 1 (75 points)

    Thank you Tom, I will try Ukelele. I had downloaded it just before posting on this forum, but without understanding how it works, I will try again.

  • fruhulda Level 6 Level 6 (15,120 points)

    Tribulatio wrote:

     

    Thank you, Fruhulda.

     

    Regarding the custom keyboard layout within Pages, it works for other purposes, but not for this one. As you know, the original text gets substituted after one enters a space. Since I want to create a thin space, the result is that I get a thin space plus a normal space - i.e. wider than a normal space instead of the thin space I am looking for.

     

     

    Forgot about that, Tribulatio! How about creating several substitution with the following character? That should work as you have to use normal space after the character.

  • Tom Gewecke Level 9 Level 9 (74,710 points)

    fruhulda wrote:

     

    Tom, I have found that Pages doesn't care if the text substitution is set in the system preferences. It has to be set in the Pages preferences.

     

    You are correct, of course -- I wasn't paying attention when I wrote that.

  • Tribulatio Level 1 Level 1 (75 points)

    Yes, Fruhulda, but the problem is that I need to create the thin space with six different scenarios/characters, so it would mean creating six different shortcuts, and it would not work with all of them: for instance, I need also to create a thin space after the French quotation marks opening: « , and before the French quotation marks closing: » - in both cases, your trick wouldn't work.

     

    Too bad! Otherwise, obviously, your trick would be the most convenient one, since I need it primarily for Pages.

  • fruhulda Level 6 Level 6 (15,120 points)

    Well, then you can do it for those you can and now you have less characters that you will have some problem with.

     

    I have another suggestion, , use Swedish!!! We don't use any thin spaces.

  • Tribulatio Level 1 Level 1 (75 points)

    The use of Swedish would indeed offer a radical solution!

     

    In the meantime, I have made some attempts with Ukelele, but not yet figured out how to make it work properly. Wondering if there is some other, easier tool for creating shortkeys...

  • Tom Gewecke Level 9 Level 9 (74,710 points)

    Tribulatio wrote:

     

    I have made some attempts with Ukelele, but not yet figured out how to make it work properly.

     

    I've made tons of these, just tell me where you want the space and what layout you need (US?) and I will send you one with instructions to install (tom at bluesky dot org).

  • Tribulatio Level 1 Level 1 (75 points)

    Thank you very much, Tom: just sent a PM to you!

  • Tribulatio Level 1 Level 1 (75 points)

    Many thanks, Tom: the personalized keyboard layout you have kindly created for me with Ukelele has indeed solved my problem with a keyboard shortcut! I do really appreciate your help: it is wonderful to see how people help each other in this community.