ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Hans Hagen <pragma@wxs.nl>,
	NTG-ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: balancing columns with little formatted entries
Date: Tue, 16 Nov 1999 16:16:27 +0100	[thread overview]
Message-ID: <3.0.6.32.19991116161627.00a8e9b0@pop.wxs.nl> (raw)
In-Reply-To: <m3r9hq8pe9.fsf@kali.coe.uga.edu>

At 09:47 AM 11/16/99 -0500, Ed L. Cashin wrote:

>> No %'s needed here. Looks better and saves typing.  
>
>Oops!  You've said that before.  What is the rule that makes it OK to
>leave out the percent signs there?  Intuitively, I imagine that for
>the case:
>
>      \foo{bar} {baz}
>
>... foo sees the tokens "bar", " ", "baz"; but that is not the case.

You only need %'s in macros, and then only in situations where tex stops reading: 

\def\something#1%         otherwise tex wants a space as delimiter
  {...}

\count4=123               tex sees the space as end of number

\ifdim\dimen0=10pt        idem dimension 

\somemacro 
  {a} 
  {b} 
  {c}%                    only after the last one, only in hmode  

\ifnum\count2=456%
  789                     is actually wrong! 

\ifnum\count2=456         is ok 
  789 

in normal cases no % is needed after any \abc since the space stops the scanner

etc etc 

In a context text you seldom need %'s. 

-----------------------------------------------------------------
                                          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-11-16 15:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-22 20:59 Ed L. Cashin
1999-09-26 22:53 ` Hans Hagen
     [not found]   ` <37EEC4DD.34E1DD18@gc.maricopa.edu>
1999-09-27 11:09     ` context on miktex Hans Hagen
     [not found] ` <37EEB0E9.FA9A6530@wxs.nl>
1999-11-15 17:53   ` balancing columns with little formatted entries Ed L. Cashin
1999-11-15 19:40     ` Hans Hagen
1999-11-16 14:47       ` Ed L. Cashin
1999-11-16 15:16         ` Hans Hagen [this message]
1999-11-15 20:30     ` Hans Hagen

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=3.0.6.32.19991116161627.00a8e9b0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.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).