mailing-list for TeXmacs Users

Text archives Help


Folds


Chronological Thread 
  • From: Bas Spitters <address@hidden>
  • To: address@hidden
  • Subject: Folds
  • Date: Mon, 16 Jan 2006 23:44:55 +0100

Dear users,

I am trying to make all my sections foldable by making a new command
\mysection. I'd like to have a feature like the mathematica notebooks or the
folds that kile contains. Attached is an attempt that does not work. It seems
that I can only use the command \newsection to (un)fold all my sections at
the same time, but not the fold them individually. Is there any way to do
this?

Thanks,

Bas
<TeXmacs|1.0.6>

<style|generic>

<\body>
<assign|mysection|<\macro|a|b>
<\folded-plain>
<section|<arg|a>>
<|folded-plain>
<section|<arg|a>><new-line><arg|b>
</folded-plain>
</macro>><mysection|One|two>
</body>

<\references>
<\collection>
<associate|auto-1|<tuple|1|?>>
<associate|auto-2|<tuple|2|?>>
</collection>
</references>

<\auxiliary>
<\collection>
<\associate|toc>

<vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|One>

<datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
<no-break><pageref|auto-1><vspace|0.5fn>
</associate>
</collection>
</auxiliary>

  • Folds, Bas Spitters, 01/16/2006

Archive powered by MHonArc 2.6.19.

Top of page