[softwarelist] Re: Hard spaces

  • From: David Pilling <flist@xxxxxxxxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Sun, 18 May 2008 12:01:37 +0100

In message <482F5DBD.9040306@xxxxxxxxxxxxxxxx>, Peter Prewett <pprewett@xxxxxxxxxxxxxxxx> writes

Firstly there is "hard space", but there is also "fixed space..." this will let
So there is not a means of inserting a hard space with a short cut key or a menu item in a line other then going through and setting up each individual space from a table.

The fall back position is that you can copy and paste fixed spaces via the clipboard.

There are constant macros... quoting from page 122 in the Windows script manual

=======================================================
emspace
Breaking, non-delimiting em space
emspace_d
Breaking, delimiting em space
emspace_n
Non-breaking, non-delimiting em space
emspace_nd
Non-breaking, delimiting em space
enspace
Breaking, non-delimiting en space
enspace_d
Breaking, delimiting en space
enspace_n
Non-breaking, non-delimiting en space
enspace_nd
Non-breaking, delimiting en space
=======================================================

The point being that you can set up macro keypresses to use these for example define F1 to be {emspace_nd}. The insert menu just consists of a series of definitions like that.

I suspect that typographically using these macros may be the right thing, rather than setting off doing lots of different fixed spaces.

Finally you can define a macro with a body like this:

{ddl("x={story {space 0 56692 0 0}}")}

That gets you all the possibilities of fixed space from a macro. How you do know the values after "space" above? - set up a fixed space in some text, select it, and save out as DDL, load into a text editor and read off.



--
David Pilling
email: david@xxxxxxxxxxxxxxxxxxx
  web: http://www.davidpilling.net
 post: David Pilling P.O. Box 22 Thornton Cleveleys Blackpool. FY5 1LR UK
  fax: +44(0)870-0520-941


To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: