mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] How do I create a multi-argument macro?


Chronological Thread 
  • From: "El.Douwen" <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] How do I create a multi-argument macro?
  • Date: Wed, 29 Feb 2012 08:19:26 +0000
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of address@hidden designates 10.180.14.73 as permitted sender) smtp.mail=address@hidden; dkim=pass header.i=address@hidden

hi all
i can absolutely not find how to simply make a new style in a texmcs beamer
document
anyone knows ?
Sacha

Le 28 févr. 2012 à 22:13, Karl Hegbloom a écrit :

> I tried to create a multi-argument macro for abstracting legal statute
> citations. I want to enter something like \UTStatute Tab 78B Tab 7 Tab 115
> Tab 3 Enter, and see 78B-7-115(3) in the document, and as I enter it, see
> <UTStatute|78B|7|115|3>. The thing is though, that I want to also be able
> to enter only the 78B, or the 78b-7, out to Title, Chapter, Section,
> Paragraph, SubLevel-1, SubLevel-2, SubLevel-3.
>
> What I managed to get was the Title typeset, then it won't let me enter
> additional arguments. I think it needs to test for whether an argument has
> a value or not, since if it's an empty string, nothing should appear there;
> and if Section is not defined, there cannot be Paragraph or any sublevels.
>
> Hypothetically, the expansion could contain labels or links, but for now,
> only the special formatting in terms of adding the parentheses and italics
> for sub-level letters.
>




Archive powered by MHonArc 2.6.19.

Top of page