From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/912 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: text vs command at end of itemize Date: Mon, 13 Sep 1999 09:36:19 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <37DCA973.EB37FA00@wxs.nl> References: <37DADAD4.3ECA10F3@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391754 28270 80.91.224.250 (23 Oct 2002 16:49:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:49:14 +0000 (UTC) Cc: ConTeXt mailing list Original-To: "Ed L. Cashin" Xref: main.gmane.org gmane.comp.tex.context:912 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:912 "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 -----------------------------------------------------------------