On 04/30/2016 11:55 AM, racoon wrote: > On 30.04.2016 16:56, Richard Heck wrote: >> On 04/30/2016 10:00 AM, racoon wrote: >>> Thanks Jürgen. I guess your reply implies that there is no special >>> function for this in LyX. >> >> No, but it would not be hard to create a simple module that did this. > > I'll give it a try. Two things are holding me a bit back though > > 1. The code by Jürgen does not work in environments.
May need to use \csgdef or something. It's possible the defintion is being made local to the environment. But I'm not sure. > 2. The Customization documentation seems a bit on the short side when > it comes to examples. All the layout and module files that LyX ships are examples, e.g., enumitem.module. Richard