LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v1081)
Content-Type:
text/plain; charset=us-ascii
Date:
Sat, 27 Aug 2011 19:21:08 +0930
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
Will Robertson <[log in to unmask]>
Message-ID:
In-Reply-To:
Content-Transfer-Encoding:
8bit
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (23 lines)
On 26/08/2011, at 3:04 AM, Ulrike Fischer wrote:

> Now I want to define a "mirrored" key  
> 
> no-sym 
> 
> so that "no-sym = true" sets  \l_chessfss_sym_bool to false. 
> 
> Is there some easy way? 

Not directly as far as I know (using

  .code:n = { \bool_set_false:N \l_chessfss_sym_bool }

works of course but it's not the best interface), so I think this would be a good addition. (I seem to remember kvoptions has a similar feature.) Which do you think is best to name it?

  no-sym .bool_unset:N = \l_chessfss_sym_bool 
  no-sym .bool_set_false:N = \l_chessfss_sym_bool 
  no-sym .bool_set_reverse:N = \l_chessfss_sym_bool 

Cheers,
-- Will

ATOM RSS1 RSS2