ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: fixed spacing
Date: Mon, 17 Jul 2017 22:14:09 +0200	[thread overview]
Message-ID: <11F7E282-5871-4C41-BD6B-B7749F30A6D2@klankschap.nl> (raw)
In-Reply-To: <87f44273-a287-dd4f-3e48-50729be059b0@rik.users.panix.com>


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

No, i don’t want them in a table in columns.
Rather i want the stretching space after the comma only.

.F


> On 17 Jul 2017, at 22:05, Rik Kabel <context@rik.users.panix.com> wrote:
> 
> On 2017-07-17 15:23, Floris van Manen wrote:
>> dear List,
>> 
>> I try to put a set of numbers into a block text.
>> I want to keep the spacing within the items fixed
>> x-y:~z,
>> How do i do that?
>> The attached code does not seem to treat the fixed space as fixed.
>> 
>> Thanks
>> .Floris
>> 
>> 
>> \definepapersize[iiwii][width=125mm, height=125mm]
>> \setuppapersize[iiwii]
>> \setupbodyfont[7pt]
>> \setuplayout[backspace=3mm,
>>     topspace=3mm,
>>     width=70mm,
>>     header=0mm,
>>     footer=0mm,
>>     height=119mm]
>> \starttext
>> 
>> \starttext
>> {\tfxx\framed[width=42mm,align={width,nothyphenated,verytolerant},frame=off]
>> {0-1:~28, 1-2:~1686, 0-2:~1710, 8-9:~3484, 7-8:~15862, 7-9:~17152, 1-3:~90632, 0-3:~90645, 2-3:~90840, 7-6:~98762, 6-8:~100082, 6-9:~103544, 4-0:~106926, 4-1:~106949, 4-2:~107546, 4-3:~192211, 3-6:~990165, 2-6:~1040810, 3-7:~1041891, 1-6:~1042032, 0-6:~1042060, 3-8:~1055123, 3-9:~1057765, 2-7:~1086097, 1-7:~1087411, 0-7:~1087439, 2-8:~1099942, 1-8:~1101249, 0-8:~1101277, 2-9:~1102409, 1-9:~1103718, 0-9:~1103746, 4-6:~1138989, 4-7:~1180436, 4-8:~1194617, 4-9:~1196971, 5-3:~1729640, 4-5:~1756438, 5-0:~1761922, 5-1:~1761941, 5-2:~1763565, 5-6:~2459757, 5-7:~2548510, 5-8:~2555440, 5-9:~2558871
>> }}
>> 
>> {\tfxx\framed[width=42mm,align={width,nothyphenated},frame=off]
>> {0-1:~28, 1-2:~1686, 0-2:~1710, 8-9:~3484, 7-8:~15862, 7-9:~17152, 1-3:~90632, 0-3:~90645, 2-3:~90840, 7-6:~98762, 6-8:~100082, 6-9:~103544, 4-0:~106926, 4-1:~106949, 4-2:~107546, 4-3:~192211, 3-6:~990165, 2-6:~1040810, 3-7:~1041891, 1-6:~1042032, 0-6:~1042060, 3-8:~1055123, 3-9:~1057765, 2-7:~1086097, 1-7:~1087411, 0-7:~1087439, 2-8:~1099942, 1-8:~1101249, 0-8:~1101277, 2-9:~1102409, 1-9:~1103718, 0-9:~1103746, 4-6:~1138989, 4-7:~1180436, 4-8:~1194617, 4-9:~1196971, 5-3:~1729640, 4-5:~1756438, 5-0:~1761922, 5-1:~1761941, 5-2:~1763565, 5-6:~2459757, 5-7:~2548510, 5-8:~2555440, 5-9:~2558871
>> }}
>> 
>> \stoptext
>> 
> 
> 	• Use tabular numbers and hard-code all of the spaces you need:
>     \definefontfeature[default][default][tnum=yes]
> or
>     \definefontfeature[ff:tnum][tnum=yes] ... \addff{ff:tnum} or \feature[+][ff:tnum] where appropriate.
> 
> 	• Put the numbers in a table and right-align the number columns (see http://wiki.contextgarden.net/TABLE#Using_character_alignment if you need decimal alignment).
> --
> Rik
> 	• Both
> 
> =
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-07-17 20:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 19:23 Floris van Manen
2017-07-17 20:05 ` Rik Kabel
2017-07-17 20:14   ` Floris van Manen [this message]

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=11F7E282-5871-4C41-BD6B-B7749F30A6D2@klankschap.nl \
    --to=vm@klankschap.nl \
    --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).