From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55641 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: negative kerning Date: Mon, 18 Jan 2010 23:03:03 +0100 Message-ID: <71D658B7-12A0-4BF2-8C14-1362F6116422@uni-koblenz.de> References: <4B549D04.60002@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary=Apple-Mail-5--70341825 X-Trace: ger.gmane.org 1263852230 12774 80.91.229.12 (18 Jan 2010 22:03:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2010 22:03:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 18 23:03:42 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWzhG-0007tH-3O for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jan 2010 23:03:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 340ECC9C43; Mon, 18 Jan 2010 23:03:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5bk5yfQk5UJs; Mon, 18 Jan 2010 23:03:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF436C9C09; Mon, 18 Jan 2010 23:03:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 273DBC9C09 for ; Mon, 18 Jan 2010 23:03:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TG-3J6i9Rnf0 for ; Mon, 18 Jan 2010 23:03:09 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id CA7D2C9AAA for ; Mon, 18 Jan 2010 23:03:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 4ECF6789AA14 for ; Mon, 18 Jan 2010 23:03:08 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18689-10 for ; Mon, 18 Jan 2010 23:03:07 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (77-23-29-238-dynip.superkabel.de [77.23.29.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id D16BA789AA08 for ; Mon, 18 Jan 2010 23:03:07 +0100 (CET) In-Reply-To: <4B549D04.60002@wxs.nl> X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55641 Archived-At: --Apple-Mail-5--70341825 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 18.01.2010 um 18:40 schrieb Hans Hagen: > On 18-1-2010 18:28, Horacio Suarez wrote: >>=20 >> hello all: >>=20 >> I need someting like a negative kerning to reduce some paragraphs = length. >>=20 >> I was reading the mails but I didn=B4t find it or was too complex for = me. >=20 > otherwise you need to locally mess around with tolerance and penalties = or the width of a space What is the best way to =84mess around=93? Is it preferable (if changing = the text or layout is no option) to set a bigger inter-word space or a = more tolerant expansion or both?=20 The latter I tried to achieve, but with no luck (attachment). --Apple-Mail-5--70341825 Content-Disposition: attachment; filename=test-sloppypar2.tex Content-Type: application/octet-stream; name="test-sloppypar2.tex" Content-Transfer-Encoding: 7bit \setuplayout[width=middle,header=0pt,footer=0pt] \startluacode fonts.expansions.classes['big-expansion'] = { stretch = 4, shrink = 4, step = .5, vector = 'default', factor = 5 } \stopluacode \definefontfeature [extraexpansion][default] [expansion=big-expansion] \usetypescript[pagella] \setupbodyfont[pagella,13.4pt] % \setupalign[hz,hanging,stretch] \definetolerancemethod [horizontal] [extraspace] {\spaceskip.35em plus.25em minus.2em\relax} \definetolerancemethod [horizontal] [extrastretch] {\emergencystretch=18pt} \definestartstop [SloppyPar] [before={\start \setuptolerance[horizontal,extrastretch,extraspace] \setfontfeature{extraexpansion}}, % changes nothing after=\stop] \overfullrule=6pt \starttext \showframe[text] \startcolumns[balance=no] \startSloppyPar {\bf sloppy:}\par \input tufte \par \it \input knuth \stopSloppyPar \column {\bf normal:}\par \input tufte \par \it \input knuth \stopcolumns \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: t %%% End: --Apple-Mail-5--70341825 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Perhaps someone has further/better suggestions =85 Greetings Andreas= --Apple-Mail-5--70341825 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail-5--70341825--