Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] itemizes, outlines and folds

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] itemizes, outlines and folds


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] itemizes, outlines and folds
  • Date: Tue, 12 Sep 2006 17:34:00 +0200

On Sun, Sep 10, 2006 at 12:05:17PM -0500, Corey Sweeney wrote:
> I"ve been making outlines by making nested "itemize" lists. They end up
> looking something like
>
> * subject a
> - something about a
> - something else about a
> - another thing about a
> * subject b
> - something about b
> - something else about b
> * subject c
> - something about c
> - something else about c
> - another thing about c
>
> (the "*" means the dark circle (i.e. a black disk))
>
> This seems to work ok, except that now I want to fold subject b, so that it
> overall looks like:
>
> * subject a
> - something about a
> - something else about a
> - another thing about a
> * subject b
> * subject c
> - something about c
> - something else about c
> - another thing about c
>
> (where the "*" for subject b is actually the fold circle that isn't filled
> in)
>
> When I do this, the circle for the fold is perfectly the same size as the
> circle for the rest of the outline, but it shifts the circle all the way
> over to the left. If i try to put a space before the fold, the fold jumps
> to the next line. If it try to make a borderless table, with a space in the
> first column and the fold in the second column, it refuses to insert a fold
> into the table.
>
> Does anyone have any ideas on how one might accomplish this?

Combining foldable structures with lists is a bit tricky,
but can be done. This is an example of what I usually do
when making presentations:

<\itemize>
<unroll|<\shown>
<item>First item
</shown>|<\shown>
<item>Second item
</shown>>
</itemize>

Please be aware of the fact that foldable pieces of text
are not list items, so the behaviour is somewhat orthogonal.
If you want to have clickable/foldable list items,
then you should redefine the fold/unfold macros so as to
make them compatible with list structures (base them on
the "item" macro). Of course, this approach may yield problems
when using fold/unfold outside a list.

Best wishes, Joris



Archive powered by MHonArc 2.6.19.

Top of Page