[NTG-context] Cascaded description
Procházka Lukáš Ing.
LPr at pontex.cz
Tue Apr 2 11:38:18 CEST 2019
I'm trying to get nested descriptions (using "tab") to form a "cascade". The result should look like:
<--> indent (margin?) of the first nested description in relation to its parent
should equal width of parent's head (+ distance?), i.e. width of "AAA ",
<--> indent (margin?) of the second nested description in relation to its parent
should equal width of parent's head (+ distance?), i.e. width of "BBB ",
<------> so it should be width of "AAA " + 'width of "BBB " in total.
I'm not able to achieve this. My code so far is (and I also played with various combinations of alternative, margin, hang, indent...):
- Paragraphs of "abc" and "def": size of indentation of the paragraphs is good in relation to width of head, but paragraph "def" is not "cascaded".
- Paragraphs "ghijkl" and "mnopqr" are "cascaded" well; but width of (margin?) is any - it is not related to the width of the sample text.
So how to combine both approaches to get the desired result?
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o. | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
147 14 Praha 4
Mob.: +420 702 033 396
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 498 bytes
Desc: not available
More information about the ntg-context