ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: raggedright
Date: Sat, 24 Apr 1999 09:44:22 +0200	[thread overview]
Message-ID: <37217656.6E3818DC@wxs.nl> (raw)

Hi, 

Currently the low level \raggedright macro is defined as: 

\def\raggedright%
  {\setraggedness\rightraggedness

\setraggedskips{0em}{\rightraggedness}{.3333em}{.5em}{0em}{\parindent}}

But some time ago Taco suggested the better alternative: 

\def\raggedright%
  {\setraggedness\rightraggedness

\setraggedskips{0em}{\rightraggedness}{.3333em}{.5em}{1fil}{\parindent}}

Unless one expects big problems context from now on will use this second
one. 

I'm not sure yet about adapting the other ones, but those seem ok. 

The raggedness' depends on the bodyfontsize: 

\def\leftraggedness   {2\bodyfontsize}
\def\rightraggedness  {2\bodyfontsize}
\def\middleraggedness {6\bodyfontsize}

And setting the raggedness involves some safeguards for unwanted side
effects. Changing the 2 into 4 gives a slightly different typeset
paragraph. 

Some day I will implement a mechanism for paragraph break and page break
strategies, but it's not that easy to find the balance between user
friendliness and low level tex programming. The current values are based
on years of testing and have been unchanged for quite some years. In
this respect the change in \raggedright is unique. For thos who want to
retain the older settings, adding the old definition to the local
cont-sys.tex file will do so. Unless Taco strongly objects, from now on
the new definition will apply, 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


             reply	other threads:[~1999-04-24  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-24  7:44 Hans Hagen [this message]
1999-04-25  9:34 ` raggedright Taco Hoekwater

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=37217656.6E3818DC@wxs.nl \
    --to=pragma@wxs.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).