ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: horizontal spacing under special circumstances
Date: Tue, 08 Dec 2015 10:01:58 +0100	[thread overview]
Message-ID: <56669C86.8080503@gmail.com> (raw)
In-Reply-To: <BA6EDF1C-E0B2-45A5-8666-DE15A95D0347@fiee.net>


[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]

> Henning Hraban Ramm <mailto:texml@fiee.net>
> 7. Dezember 2015 um 10:54
> Hi again,
>
> since my bibliographic setup works well, thanks again, I’d like to 
> tighten it a bit, i.e. reduce spacing under defined circumstances.
>
> In the docs and sources I found only how to affect spacing of 
> languages, and only "packed" or "broad".
>
> In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found 
> \spac_spacecodes_set_fixed{}, but I don’t understand if they can do 
> what I want, and how.
>
> This doesn’t help:
>
> \unprotect
> \definedescription[BibItem][
> headcommand=\gobbleoneargument,
> align=right,
> before={\bgroup\spac_spacecodes_set_fixed{50}}, % does this take a 
> value or a unicode point?
> after={\egroup}, %\spac_spacecodes_set_stretch},
> ]
> \protect
>
> I’d also like to have footnotes in tighter spacing.

You have to change the value of the \spaceskip register when you want to 
change with width of a space.

\startsetups[footnote:space]
   \spaceskip .7\interwordspace plus .5\interwordstretch minus 
\interwordshrink
\stopsetups

\setupnote[footnote][setups=footnote:space]

\starttext

\input zapf
\startfootnote
\input zapf
\stopfootnote

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2331 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

  parent reply	other threads:[~2015-12-08  9:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07  9:54 Henning Hraban Ramm
2015-12-07 15:39 ` Aditya Mahajan
2015-12-07 18:06   ` Henning Hraban Ramm
2015-12-07 20:15     ` Rik Kabel
2015-12-08  3:01       ` Henning Hraban Ramm
2015-12-08  9:01 ` Wolfgang Schuster [this message]
2015-12-08 11:11   ` Henning Hraban Ramm
2015-12-08 11:48     ` Wolfgang Schuster
2015-12-08 15:20       ` Henning Hraban Ramm
2015-12-08 15:34       ` Aditya Mahajan
2015-12-08 11:50     ` Pablo Rodriguez
2015-12-08 15:22       ` Henning Hraban Ramm
2015-12-08 22:16         ` Wolfgang Schuster
2015-12-13 16:41           ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56669C86.8080503@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).