Hello

In XeTeX, for emergencies (e.g. two lines left dangling on the last page of
a chapter) I keep in reserve:

\def\tightspaceskip{\spaceskip 0.15em plus 0.2em}

\def\verytightspaceskip{\spaceskip 0.125em plus 0.15em}

These seem both to work in ConTexT - of course you can fiddle till you come
up with what looks satisfactory (and obviously the names \tightspaceskip,
\verytightspaceskip can be altered).

I group these in the paragraph or paragraphs that I want to shorten but I
don't see why the definitions you come up with couldn't be put in the
preamble to your file, so that they are applied throughout.

Best wishes

John  *🇪🇺 * Слава Україні!
* 🇺🇦*


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, 11 Aug 2025 at 10:06, Hans Hagen via ntg-context <ntg-context@ntg.nl>
wrote:

> On 8/10/2025 9:48 PM, W wrote:
> > /Sorry I couldn't log in to the mailing list, it was yelling server
> error!/
> >
> > Greetings Everybody, I wish everyone is doing great!
> >
> >
> > I was trying to shrink the font's width for my own personal preference.
> >
> > Using the method as presented in the example would shrink all the
> >
> > font characters by the same factor, including the space character.
> >
> >
> > I'd desire to retain the original width of the space character, while
> >
> > shrinking all the other characters. Is there any way to get it done?
> >
> >
> > I would highly appreciate any help or suggestions!
> >
> >
> > Thanks,
> >
> > Ali Ali
> >
> >
> > Example File
> >
> > ```
> > %% PATH of the font from the `cwd`
> > \edef\TheFontFile{font/SourceSerif4-Regular.otf}
> >
> > \definefontfile[FontFile][file:\TheFontFile][features=default]
> >
> > %% Font as is
> > \definefont[Regular][FontFile]
> >
> > %% Font with width shrinked by some arbitrary value
> > \definefont[Modified][FontFile*default,extend=.925]
> >
> > \starttext
> > \Regular
> > \input{zapf}
> >
> > \Modified
> > \input{zapf}
> > \stoptext
>
> there is a 'spacing' pseudo feature that accepts things like
>
> 1.1 + 1.2 - 1.3 minus 1.4 plus 1.1 extra 1.4
>
> but i haven't tested it for a while
>
> Hans
>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | 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 /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to