Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-09 Thread Robert Blackstone
On 8 Mar 2015, at 23:17 , Idris Samawi Hamid ادريس سماوي حامد  wrote
 
On Sun, 08 Mar 2015 05:24:51 -0600, Robert Blackstone  
blackstone.rob...@gmail.com wrote

 I would like to use something like a half-space or small space in

 All the suggestions you have received are good, but ultimately you might  
 want to look at the spaces that Unicode provides, for example 202F. Not  
 sure sure which Unicode space character best suits your needs, but once  
 you have determined that, you can map it to one of the commands suggested  
 by others, or even define it to the exact width you want. For example, I  
 use imacron (U+012B) so much that it clashes with other characters. So I  
 map it to an alternate version that has a thinner macron:
 
 \defineactivecharacter ī {\fontchar{imacron.alt}}
 
 So what you want is a unicode space character that you can enter in your  
 editor, then define it in ConTeXt to exactly what you want.

and Hans Hagen pra...@wxs.nl wrote

 fyi: the list that Wolfgang shows with verbose space names ... these are 
 in fact unicode characters.

Thanks to both of you for pointing this out to me. 
Up till now I have never used unicode characters the way Idris proposes and I’m 
not sure that I already have the skills to make it work.  
For the moment I’m quite happy with the many possibilities that were given by 
Wolfgang and Hans.

Best regards,
Robert

___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Hans Hagen

On 3/8/2015 2:13 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Hi Robert,

All the suggestions you have received are good, but ultimately you might
want to look at the spaces that Unicode provides, for example 202F. Not
sure sure which Unicode space character best suits your needs, but once
you have determined that, you can map it to one of the commands
suggested by others, or even define it to the exact width you want. For
example, I use imacron (U+012B) so much that it clashes with other
characters. So I map it to an alternate version that has a thinner macron:

\defineactivecharacter ī {\fontchar{imacron.alt}}

So what you want is a unicode space character that you can enter in your
editor, then define it in ConTeXt to exactly what you want.


fyi: the list that Wolfgang shows with verbose space names ... these are 
in fact unicode characters.


Hans





-
  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
-
___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Robert Blackstone

On 8 Mar 2015, at 14:12 ,  Wolfgang Schuster schuster.wolfg...@gmail.com wrote
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Does a half-space or small space exist in
   ConTeXt?
 Message-ID: 49ac1148-387a-4934-932a-334cadbb5...@gmail.com
 Content-Type: text/plain; charset=utf-8
 
 
 Am 08.03.2015 um 13:55 schrieb Robert Blackstone 
 blackstone.rob...@gmail.com:
 
 
 On 8 Mar 2015, at 13:04 , Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote
 
 12:24 schrieb Robert Blackstone blackstone.rob...@gmail.com:
 
 Hi all,
 
 I would like to use something like a half-space or small space in a 
 situation where neither no space, nor a normal space is ideal.
 
 You can use \thinspace or \, which is the short form of \thinspace.
 
 
 
 Oddly enough, \, gives no comma and a normal space, \. gives no period and 
 no space with mkiv, and a superscript period with mkii.
 Could these forms for \thinspace perhaps be obsolete? 
 
 
 I have no problem to use \, as a space command but when you use don’t put a 
 space between the command and the following character.


My mistake: I forgot to add a comma after \, !
 \,, indeed works beautifully for my purpose. 
And thanks for the list of possibilities for spaces of various sizes.

Best regards,

Robert Blackstone


___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Wolfgang Schuster

 Am 08.03.2015 um 12:24 schrieb Robert Blackstone 
 blackstone.rob...@gmail.com:
 
 Hi all,
 
 I would like to use something like a half-space or small space in a 
 situation where neither no space, nor a normal space is ideal.
 See the ME:
 -
 \usemodule[simplefonts]
 \setmainfont[Verdana]
 \setupbodyfont[10pt]
 \starttext
 On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}}, moves to 
 the octave {\em \lohi{A}{a} . 
 \medskip
 On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}} , moves to 
 the octave {\em \lohi{A}{a}} . 
 \stoptext
 
 
 Without a space after {\em \lohi{B}{g}}, the normal situation, the comma is 
 too close to the B, (and the period too close to the A), suggesting some 
 superscript.
 A normal space does not look nice (but if necessary I could live with it)
 
 Is there an intermediate size for a space somehow?

You can use \thinspace or \, which is the short form of \thinspace.

BTW. The context version of \medskip is \blank[medium].

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
___

[NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Robert Blackstone
Hi all,

I would like to use something like a half-space or small space in a situation 
where neither no space, nor a normal space is ideal.
See the ME:
-
\usemodule[simplefonts]
\setmainfont[Verdana]
\setupbodyfont[10pt]
\starttext
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}}, moves to the 
octave {\em \lohi{A}{a} . 
\medskip
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}} , moves to 
the octave {\em \lohi{A}{a}} . 
\stoptext


Without a space after {\em \lohi{B}{g}}, the normal situation, the comma is too 
close to the B, (and the period too close to the A), suggesting some 
superscript.
A normal space does not look nice (but if necessary I could live with it)

Is there an intermediate size for a space somehow?

Thanks in advance.

Bets regards,
Robert Blackstone
___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Pablo Rodriguez
On 03/08/2015 01:45 PM, Jörg Weger wrote:
   You can use \thinspace or \, which is the short form of \thinspace.
 
 But \thinspace aka \, is a non-breaking space, isn’t it?

Hi Jörg,

I didn’t know, but it seems to be.

 Is there a way to let it break a line if needed in certain circumstances 
 or is there something else like a “non-non-breaking thinspace”?

Well, I would call it a ”breaking thinspace”.

Adding \hskp0pt enables the breaking.

\starttext
\hsize\zeropoint
a\,b

a\,\hskip0pt{}b
\stoptext

I hope it might help,

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Jörg Weger

Thank you very much for that list.

Greetings Jörg


On 08.03.2015 13:58, Wolfgang Schuster wrote:



Am 08.03.2015 um 13:45 schrieb Jörg Weger joerg73@googlemail.com:


You can use \thinspace or \, which is the short form of \thinspace.



But \thinspace aka \, is a non-breaking space, isn’t it?

Is there a way to let it break a line if needed in certain circumstances or is 
there something else like a “non-non-breaking thinspace”?



Are these enough?

\starttext %\hsize\zeropoint
\startlines
a\enskip b
a\quad   b
a\qquad  b
a\twoperemspace  b
a\threeperemspaceb
a\fourperemspace b
a\sixperemspace  b
a\figurespaceb
a\punctuationspace   b
a\breakablethinspace b
a\hairspace  b
a\zerowidthspace b
\stoplines
\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
___


___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Robert,

All the suggestions you have received are good, but ultimately you might  
want to look at the spaces that Unicode provides, for example 202F. Not  
sure sure which Unicode space character best suits your needs, but once  
you have determined that, you can map it to one of the commands suggested  
by others, or even define it to the exact width you want. For example, I  
use imacron (U+012B) so much that it clashes with other characters. So I  
map it to an alternate version that has a thinner macron:


\defineactivecharacter ī {\fontchar{imacron.alt}}

So what you want is a unicode space character that you can enter in your  
editor, then define it in ConTeXt to exactly what you want.


Best wishes
Idris

On Sun, 08 Mar 2015 05:24:51 -0600, Robert Blackstone  
blackstone.rob...@gmail.com wrote:



Hi all,

I would like to use something like a half-space or small space in a  
situation where neither no space, nor a normal space is ideal.

See the ME:
-
\usemodule[simplefonts]
\setmainfont[Verdana]
\setupbodyfont[10pt]
\starttext
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}}, moves  
to the octave {\em \lohi{A}{a} .

\medskip
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}} ,  
moves to the octave {\em \lohi{A}{a}} .

\stoptext


Without a space after {\em \lohi{B}{g}}, the normal situation, the comma  
is too close to the B, (and the period too close to the A), suggesting  
some superscript.

A normal space does not look nice (but if necessary I could live with it)

Is there an intermediate size for a space somehow?

Thanks in advance.

Bets regards,
Robert Blackstone
___
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
___



--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Jörg Weger

 You can use \thinspace or \, which is the short form of \thinspace.


But \thinspace aka \, is a non-breaking space, isn’t it?

Is there a way to let it break a line if needed in certain circumstances 
or is there something else like a “non-non-breaking thinspace”?



Greetings Jörg



On 08.03.2015 12:35, Wolfgang Schuster wrote:



Am 08.03.2015 um 12:24 schrieb Robert Blackstone blackstone.rob...@gmail.com:

Hi all,

I would like to use something like a half-space or small space in a situation 
where neither no space, nor a normal space is ideal.
See the ME:
-
\usemodule[simplefonts]
\setmainfont[Verdana]
\setupbodyfont[10pt]
\starttext
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}}, moves to the 
octave {\em \lohi{A}{a} .
\medskip
On the third beat a 6th between bass and tenor, {\em \lohi{B}{g}} , moves to 
the octave {\em \lohi{A}{a}} .
\stoptext


Without a space after {\em \lohi{B}{g}}, the normal situation, the comma is too 
close to the B, (and the period too close to the A), suggesting some 
superscript.
A normal space does not look nice (but if necessary I could live with it)

Is there an intermediate size for a space somehow?


You can use \thinspace or \, which is the short form of \thinspace.

BTW. The context version of \medskip is \blank[medium].

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
___


___
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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Wolfgang Schuster

 Am 08.03.2015 um 13:45 schrieb Jörg Weger joerg73@googlemail.com:
 
  You can use \thinspace or \, which is the short form of \thinspace.
 
 
 But \thinspace aka \, is a non-breaking space, isn’t it?
 
 Is there a way to let it break a line if needed in certain circumstances or 
 is there something else like a “non-non-breaking thinspace”?


Are these enough?

\starttext %\hsize\zeropoint
\startlines
a\enskip b
a\quad   b
a\qquad  b
a\twoperemspace  b
a\threeperemspaceb
a\fourperemspace b
a\sixperemspace  b
a\figurespaceb
a\punctuationspace   b
a\breakablethinspace b
a\hairspace  b
a\zerowidthspace b
\stoplines
\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
___

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Wolfgang Schuster

 Am 08.03.2015 um 13:55 schrieb Robert Blackstone 
 blackstone.rob...@gmail.com:
 
 
 On 8 Mar 2015, at 13:04 , Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote
 
 12:24 schrieb Robert Blackstone blackstone.rob...@gmail.com:
 
 Hi all,
 
 I would like to use something like a half-space or small space in a 
 situation where neither no space, nor a normal space is ideal.
 
 You can use \thinspace or \, which is the short form of \thinspace.
 
 BTW. The context version of \medskip is \blank[medium].
 
 Thanks Wolfgang.
 
 “\thinspace” works perfectly for my purpose.
 
 Oddly enough, \, gives no comma and a normal space, \. gives no period and no 
 space with mkiv, and a superscript period with mkii.
 Could these forms for \thinspace perhaps be obsolete? 


I have no problem to use \, as a space command but when you use don’t put a 
space between the command and the following character.

The \. command is used to create a accented character but it shouldn’t be 
needed when you have a keyword which allows you to write the character.

\starttext

a\,b\par
a\thinspace b

\blank[line]

\.{c}

\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
___