From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98463 Path: news.gmane.org!.POSTED!not-for-mail From: Floris van Manen Newsgroups: gmane.comp.tex.context Subject: Re: fixed spacing Date: Mon, 17 Jul 2017 22:14:09 +0200 Message-ID: <11F7E282-5871-4C41-BD6B-B7749F30A6D2@klankschap.nl> References: <85383798-5D79-40B2-B54F-82FB5C2E8988@klankschap.nl> <87f44273-a287-dd4f-3e48-50729be059b0@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============1834113654790058914==" X-Trace: blaine.gmane.org 1500322481 16826 195.159.176.226 (17 Jul 2017 20:14:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 20:14:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 17 22:14:37 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXCPa-0003y1-1Z for gctc-ntg-context-518@m.gmane.org; Mon, 17 Jul 2017 22:14:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1906E1011A9; Mon, 17 Jul 2017 22:14:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CGJvCWY_-zyf; Mon, 17 Jul 2017 22:14:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C17C101209; Mon, 17 Jul 2017 22:14:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3B703101209 for ; Mon, 17 Jul 2017 22:14:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f-82FpoG31Mf for ; Mon, 17 Jul 2017 22:14:21 +0200 (CEST) Original-Received: from lb2-smtp-cloud2.xs4all.net (lb2-smtp-cloud2.xs4all.net [194.109.24.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6F2761011A9 for ; Mon, 17 Jul 2017 22:14:11 +0200 (CEST) Original-Received: from [IPv6:2001:980:6f8a:1:8d01:8ae7:781e:3062] ([IPv6:2001:980:6f8a:1:8d01:8ae7:781e:3062]) by smtp-cloud2.xs4all.net with ESMTP id lwE91v00L4ftFs501wEATb; Mon, 17 Jul 2017 22:14:10 +0200 In-Reply-To: <87f44273-a287-dd4f-3e48-50729be059b0@rik.users.panix.com> X-Mailer: Apple Mail (2.3124) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:98463 Archived-At: --===============1834113654790058914== Content-Type: multipart/signed; boundary="Apple-Mail=_5B7C95FC-0AAC-4C34-AE76-FBF4BAFD19F8"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_5B7C95FC-0AAC-4C34-AE76-FBF4BAFD19F8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 No, i don=92t 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 = wrote: >=20 > On 2017-07-17 15:23, Floris van Manen wrote: >> dear List, >>=20 >> 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. >>=20 >> Thanks >> .Floris >>=20 >>=20 >> \definepapersize[iiwii][width=3D125mm, height=3D125mm] >> \setuppapersize[iiwii] >> \setupbodyfont[7pt] >> \setuplayout[backspace=3D3mm, >> topspace=3D3mm, >> width=3D70mm, >> header=3D0mm, >> footer=3D0mm, >> height=3D119mm] >> \starttext >>=20 >> \starttext >> = {\tfxx\framed[width=3D42mm,align=3D{width,nothyphenated,verytolerant},fram= e=3Doff] >> {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 >> }} >>=20 >> {\tfxx\framed[width=3D42mm,align=3D{width,nothyphenated},frame=3Doff] >> {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 >> }} >>=20 >> \stoptext >>=20 >=20 > =95 Use tabular numbers and hard-code all of the spaces you = need: > \definefontfeature[default][default][tnum=3Dyes] > or > \definefontfeature[ff:tnum][tnum=3Dyes] ... \addff{ff:tnum} or = \feature[+][ff:tnum] where appropriate. >=20 > =95 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 > =95 Both >=20 > =3D > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_5B7C95FC-0AAC-4C34-AE76-FBF4BAFD19F8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJZbRqRAAoJEC95LuQx33efnfIP/3fnhXpH1f4zHgo60LaJy4HG YXg1MlKqfxIsC4TPpBDsfP5CeUlaXwLywf8B3kCenbRRYPBACMP8UC1Gpig9t2Nw TOlga9oXy5fqZCTx/i3K7HD2ponmwigIcLE7uW0UZV3w9/+xshmhhH8+51A/9+y7 Vm/r2NVZIa8oUQ2sbikMUUnHuuh/j93mzMYjdcQuU3Ucz2Z0pgk/mAMe1h/jUpwS eYFegQM+2LNskcYg7KvlrhOD5do9N47bpfFKKz1LLbYPsMqtaTRDQPpa295d5HH8 YgMm/C7IZ5XvB7tfBDB0vvasYfHW2VMexc6Z3AyD5D449XUFBjQWggQzs0NAnDOp cLro6cKLULqnH4911jIAE2lo269Kf4x9v4eCQQB3hV8kiJ/WMKQ83zoYasuLhrwY evRmf3A0u0hBqhZ61r4sufwaW9ywwsHLt5Dl8hdLpqH23NjGH7DRiqIAgIKJQ50I TmCbYQMfs8zUt3ss/WuxNH5I1akltuGJM7xQWZ6PuYxQxyjEXsqhrm37XdhEUTjp vWG/MigZH3lh/FiB1dfiwvNDmb7JH88UIcrDiPCwSUNF41cS3J1z0DYFlAyhMoPv 9YLThm2ESB+rJcaN0w5qODEwJgQkTTbNRWyc7BPXXgGhNmybWFXEugxwZBrc9Z0l HrFokWTU8KJjtwiqw8Bn =psCL -----END PGP SIGNATURE----- --Apple-Mail=_5B7C95FC-0AAC-4C34-AE76-FBF4BAFD19F8-- --===============1834113654790058914== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1834113654790058914==--