Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: Felix Breuer <address@hidden>
- Cc: <address@hidden>
- Subject: Re: [TeXmacs] Have Enumerate environments share a counter
- Date: Wed, 20 Oct 2004 19:26:49 +0200 (CEST)
> I tried to extend it for use with enumerate-Alpha and came up with the
> following rather awkward workaround:
>
> <assign|unnumber-Alpha|<style-with|src-compact|all|<macro|Alpha|<case|<style-with|src-compact|all|<equal|<arg|Alpha>|A>>|1|<equal|<arg|Alpha>|B>|2|<equal|<arg|Alpha>|C>|3|<equal|<arg|Alpha>|D>|4|<equal|<arg|Alpha>|E>|5|<equal|<arg|Alpha>|F>|6|<equal|<arg|Alpha>|G>|7|<equal|<arg|Alpha>|H>|8|<equal|<arg|Alpha>|I>|9|<equal|<arg|Alpha>|J>|10|<equal|<arg|Alpha>|K>|11|<equal|<arg|Alpha>|L>|12>>>>
>
> <assign|continue-enumerate-Alpha|<\macro|body>
> <\enumerate-Alpha>
> <with|item-nr|<unnumber-Alpha|<value|last-item>>|<arg|body>>
> </enumerate-Alpha>
> </macro>>
You can also hack the first enumerate-Alpha,
so that it writes the value of item-nr to some variable at exit.
Or explicitly save the value using some macro and restore it
using another macro (probably the best solution).
- Have Enumerate environments share a counter, Felix Breuer, 10/19/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Joris van der Hoeven, 10/19/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Felix Breuer, 10/20/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Joris van der Hoeven, 10/20/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Joris van der Hoeven, 10/20/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Felix Breuer, 10/20/2004
- Re: [TeXmacs] Have Enumerate environments share a counter, Joris van der Hoeven, 10/19/2004
Archive powered by MHonArc 2.6.19.