From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6196 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: sloppy in ConTeXt? Date: Fri, 16 Nov 2001 18:17:58 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011116181408.043b3380@server-1> References: <5.1.0.14.1.20011115165543.0303f0a0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396738 8412 80.91.224.250 (23 Oct 2002 18:12:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:12:18 +0000 (UTC) Cc: Karsten Hachmeister , ConTeXt Mailingliste Original-To: Tobias Burnus In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:6196 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6196 At 06:29 PM 11/15/2001 +0100, Tobias Burnus wrote: >Hallo, > > > >I want to ask, if there exists something in ConTeXt like the \sloppy > command > > >from LaTeX. > > \def\sloppy{What is this command supposed to do?} > > >\def\sloppy{% > \tolerance 9999% > \emergencystretch 3em% > \hfuzz .5\p@ > \vfuzz\hfuzz} > >\def\sloppypar{\par\sloppy} > >\def\endsloppypar{\par} So that's in context: \unprotected \def\startsloppy {\endgraf \bgroup \setuptolerance[\v!zeersoepel,\v!rek]% \dontcomplain} \unprotected \def\stopsloppy {\endgraf \egroup} \hsize 4cm \startsloppy \input tufte \stopsloppy or nicer with optional arg: \unprotect \definecomplesorsimple\startsloppy \def\simplestartsloppy{\complexstartsloppy[\v!zeersoepel,\v!rek]} \def\complexstartsloppy[#1]% {\endgraf \bgroup \setuptolerance[#2]% \dontcomplain} \def\stopsloppy% {\endgraf \egroup} \protect maybe we need a module goodies -) ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------