ShaughanLavine - 09 Mar 2010 - 19:26 - 1.26 " class="twikiLink">TWiki> TWiki Web>TWikiPreferences>NumberedHeadingsWithNesting (29 Sep 2007, ShaughanLavine)EditAttach

Question

How to automatically create nested numbered headings?

Answer

TWiki does not yet directly support numbered headings. You get numbered headings by defining topic variables ( * Set NH2 = ...) containing SpreadSheetPlugin formulae, and by starting headings with ---%NH2%, ---+++   .1., etc. Numbered headings are assumed to start with level 2. Edit the topic or look at the raw text to see how this works.

Table of contents:

1. Apple

Written as:
---%NH2% Apple

1.1. Fuji

Written as:
---%NH3% Fuji

1.2. Delicious

Written as:
---%NH3% Delicious

1.2.1. Red Delicious

Written as:
---%NH4% Red Delicious

1.2.2. Golden Delicious

Are they really delicious?

1.3. Granny Smith

yes

2. Citrus

yummi

2.1. Orange

yes

2.2. Grapefruit

yes

2.3. Lemon

yes

-- TWiki:Main.PeterThoeny - 26 Apr 2005

See also: NumberedHeadings

Feedback

3. One

3.1. One point One

3.2. One point Two

-- TWiki:Main.SopanShewale - 29 Aug 2007

-- ShaughanLavine - 29 Sep 2007

Topic revision: r1 - 29 Sep 2007 - 08:41:37 - ShaughanLavine
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.NumberedHeadingsWithNesting