LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
Date: Thu, 19 Aug 2010 16:30:03 +0930
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Will Robertson <[log in to unmask]>
Message-ID: <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Transfer-Encoding: 8bit
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments: text/plain (31 lines)
On 19/08/2010, at 3:50 PM, Arno Trautmann wrote:

> This time a simple question: I want to define a document environment
> that offers a star alternative. Trying to say
> \DeclareDocumentEnvironment{myenv}{s}{
> }
> {}
> gives me an undefined environment in my document. Am I doing something
> wrong here? If so, is there another way to achieve \begin{myenv*} in the
> document?

I guess for this sort of thing we haven't thought of a better interface beyond


Nothing really springs to mind as being more convenient... any suggestions?

In your case above, you'd be defining an environment that looked like


which is obviously not what you want (and a little bit weird).

-- Will