ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* sloppy in ConTeXt?
@ 2001-11-15 14:03 Karsten Hachmeister
  2001-11-15 15:56 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Karsten Hachmeister @ 2001-11-15 14:03 UTC (permalink / raw)


Hi,

I want to ask, if there exists something in ConTeXt like the \sloppy command
from LaTeX.

--
Karsten

E-Mail:   Karsten@Hachmeister-Online.de
Homepage: www.Hachmeister-Online.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sloppy in ConTeXt?
  2001-11-15 14:03 sloppy in ConTeXt? Karsten Hachmeister
@ 2001-11-15 15:56 ` Hans Hagen
  2001-11-15 17:29   ` Tobias Burnus
       [not found]   ` <Pine.BSF.4.30.0111151829050.20066-100000@warp.physik.fu-be rlin.de>
  0 siblings, 2 replies; 4+ messages in thread
From: Hans Hagen @ 2001-11-15 15:56 UTC (permalink / raw)
  Cc: ConTeXt Mailingliste

At 03:03 PM 11/15/2001 +0100, Karsten Hachmeister wrote:
>Hi,
>
>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?}

hans

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sloppy in ConTeXt?
  2001-11-15 15:56 ` Hans Hagen
@ 2001-11-15 17:29   ` Tobias Burnus
       [not found]   ` <Pine.BSF.4.30.0111151829050.20066-100000@warp.physik.fu-be rlin.de>
  1 sibling, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 2001-11-15 17:29 UTC (permalink / raw)
  Cc: Karsten Hachmeister, ConTeXt Mailingliste

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}

Gruß,

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sloppy in ConTeXt?
       [not found]   ` <Pine.BSF.4.30.0111151829050.20066-100000@warp.physik.fu-be rlin.de>
@ 2001-11-16 17:17     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-11-16 17:17 UTC (permalink / raw)
  Cc: Karsten Hachmeister, ConTeXt Mailingliste

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-16 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-15 14:03 sloppy in ConTeXt? Karsten Hachmeister
2001-11-15 15:56 ` Hans Hagen
2001-11-15 17:29   ` Tobias Burnus
     [not found]   ` <Pine.BSF.4.30.0111151829050.20066-100000@warp.physik.fu-be rlin.de>
2001-11-16 17:17     ` Hans Hagen

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).