From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: text vs command at end of itemize
Date: Mon, 13 Sep 1999 09:36:19 +0200 [thread overview]
Message-ID: <37DCA973.EB37FA00@wxs.nl> (raw)
In-Reply-To: <m3n1ura6sz.fsf@kali.coe.uga.edu>
"Ed L. Cashin" wrote:
> I've been getting by with "\null". Would null have those side
> effects? I suppose so.
Null is actually an empty box, and in certain situations, such a box can
invoke a new line after it, or spoil indentation or ...
> > You can precede the \in by \dontleavehmode. This is a rather funny
> > macro: {\ifmmode\else$ $\fi} with not so many side effects.
>
> That *is* pretty strange. :) "Don't do anything if we're in math
> mode. If we're not in math mode, do nothing in math mode. Is that
> the gist of it?
Yes, and "test\dontleavehmode test" indeed gives nothing, but it does
enter / keep you in hmode. Until now it proved a better way out than
\leavevmode.
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
-----------------------------------------------------------------
prev parent reply other threads:[~1999-09-13 7:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-11 1:49 Ed L. Cashin
1999-09-11 22:42 ` Hans Hagen
1999-09-13 2:23 ` Ed L. Cashin
1999-09-13 7:36 ` Hans Hagen [this message]
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=37DCA973.EB37FA00@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).