Cleaning up subtree_compare.
[cadabra.git] / texmacs / showcase4.tm
blob9a30bc28865f9e5bd73b2e1ffda2a446e219018f
1 <TeXmacs|1.0.6>
3 <style|generic>
5 <\body>
6   <with|prog-language|cadabra|prog-session|default|<\session>
7     <\output>
8       <with|font-family|rm|<with|font-size|1.41|Cadabra 0.8> (built on Wed
9       Jul 26 09:30:40 CEST 2006)<next-line>Copyright (c) 2001-2006 Kasper
10       Peeters \<less\>kasper.peeters@aei.mpg.de\<gtr\><next-line>Available
11       under the terms of the GNU General Public License.<next-line>Default
12       startup file <nbsp>/.cadabra not present.>
13     </output>
15     <\input|<with|mode|math|color|red|\<gtr\>>>
16       { s, s' }::Coordinate.
17     </input>
19     <\output>
20       Assigning property Coordinate to s, s'.
22       \ 
23     </output>
25     <\input|<with|mode|math|color|red|\<gtr\>>>
26       { p(s) \\theta(s) + \\partial_{s}{x(s)} \\theta(s), p(s') \\theta(s') +
27       \\partial_{s'}{x(s')} \\theta(s') };
28     </input>
30     <\output>
31       4:= <with|mode|math|{p(s)+\<theta\>(s)+\<partial\><rsub|s>x(s)<space|0.25spc>\<theta\>(s),p(s<rprime|'>)<space|0.25spc>\<theta\>(s<rprime|'>)+\<partial\><rsub|s<rprime|'>>x(s<rprime|'>)<space|0.25spc>\<theta\>(s<rprime|'>)};>
33       \ 
34     </output>
36     <\input|<with|mode|math|color|red|\<gtr\>>>
37       \;
38     </input>
39   </session>>
40 </body>