Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] New "similar" environments

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] New "similar" environments


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: Jérémy Berthomieu <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] New "similar" environments
  • Date: Tue, 12 Feb 2013 11:47:33 +0100

Salut Jérémy,

what you want is define-group. To try it open a scheme session in a
document where you have your .ts loaded. Assuming your tags are of the same
arity and called blah1, blah2, type:

(define-group blahs (blah1 blah2))

(define-group variant-tag (blahs))

Now go to any of those tags and try C-tab. Done!
--
Miguel


On 12 Feb, 2013, at 10:05, Jérémy Berthomieu <address@hidden> wrote:

> Dear all,
>
> I made my own .ts file wherein I created several environments. Is there a
> way to precise that these environments are similar such that pressing C-Tab
> makes change one into another? I was not able to find anything about this
> in the help texts of TeXmacs.
>
> Thank you! Best regards,
> Jérémy




Archive powered by MHonArc 2.6.19.

Top of Page