texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Problem with table with environment theorem-like inside


From: Krzysztof Retel
Subject: [Texmacs-dev] Problem with table with environment theorem-like inside
Date: Wed, 01 Aug 2007 12:59:41 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070102)

Hello developers,

I am trying to build a macro which would allow me to wrap theorem-like environment with the box around it. Unfortunately, it does not work like I want, and I do not really know why it destroy the rendering of environment. I attach simple tm file which contains two macros of tabular/table. In the first macro: fst-tbl I am not allowed at all to put <theorem> tag. I do not know why. The second macro destroys the rendering of <theorem> tag, and I guess it would be the same with any environment tag.

Btw, I am using TeXmacs version 1.0.6.7.

Would be grateful for any comments.

Best regards,
Krzysztof
<TeXmacs|1.0.6.7>

<style|generic>

<\body>
  \;

  
<assign|fst-tbl|<macro|x|<tformat|<twith|table-rborder|0.1pt>|<twith|table-lborder|0.1pt>|<twith|table-bborder|0.1pt>|<twith|table-tborder|0.1pt>|<arg|x>>>>

  <drd-props|fst-tbl|arity|1|accessible|all>

  <fst-tbl|<tformat|<table|<row|<cell|sxkjadlfkj ad ;lkjasdf
  aldfjaldf>>|<row|<cell|supposed to have theorem which does not work :(
  >>>>>

  jhkadjfh kjhf alkjsdfh akdf

  \;

  <assign|snd-tbl|<\macro|x>
    
<tabular|<tformat|<cwith|1|1|1|1|cell-lsep|0cm>|<cwith|1|1|1|1|cell-rsep|0cm>|<cwith|1|1|1|1|cell-background|pastel
    
blue>|<twith|table-tborder|0.1pt>|<twith|table-bborder|0.1pt>|<twith|table-lborder|0.1pt>|<twith|table-rborder|0.1pt>|<table|<row|<cell|<arg|x>>>>>>
  </macro>>

  <drd-props|snd-tbl|arity|1|accessible|all>

  <\snd-tbl>
    bla adfadsf lkjla df

    jkladfhkjadhf

    <\theorem>
      aldkfj lakdfj lakdflakdfj adjflka df;lkjad ;fjal;dkf ;alkdjf ;ajdf;l
      adl;fj ad;lkfja ;lkdfj ;ladjf ;ladflk jadfadl;fkj al;dkfj a;lkdjf
      l;kajdsfnc,mvz xcvb kha;adfad

      adfadfadsf
    </theorem>
  </snd-tbl>

  \;

  \;
</body>

<\initial>
  <\collection>
    <associate|preamble|false>
  </collection>
</initial>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]