Colored descriptions
![](https://secure.gravatar.com/avatar/81124f56c9e68cfce915e9babc8d8a7c.jpg?s=120&d=mm&r=g)
I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it possible ? I tried inbetween=\startframedtext,after=\stopframedtext in the \setupdescriptions but this lead to an error "Missing } inserted" -- Eric Détrez Informatique Lycée Faidherbe, Lille http://eric-detrez.fr
![](https://secure.gravatar.com/avatar/d6e7462bd4209f9c4cd08271985a50df.jpg?s=120&d=mm&r=g)
Hello,
On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez
I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background.
Is it possible ?
there was a similar discussion - see http://www.ntg.nl/pipermail/ntg-context/2015/081528.html Best regards, Lukas
I tried inbetween=\startframedtext,after=\stopframedtext in the \setupdescriptions but this lead to an error "Missing } inserted"
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038
![](https://secure.gravatar.com/avatar/81124f56c9e68cfce915e9babc8d8a7c.jpg?s=120&d=mm&r=g)
Le 03-08-2015 16:15, Procházka Lukáš Ing. - Pontex s. r. o. a écrit :
Hello,
On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez
wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background.
Is it possible ?
there was a similar discussion - see
http://www.ntg.nl/pipermail/ntg-context/2015/081528.html
Best regards,
Lukas
Thank you, I didn't fint it before. So I can't put a startxxx in inbetween, it must be in before. More : a placelist[description] is no longer effective if there are sections and chapters :( So I have to use a register : is there a way to get the title of a description, something like #1 or /descriptiontitle ? -- Eric Détrez Informatique Lycée Faidherbe, Lille http://eric-detrez.fr
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8/3/2015 3:31 PM, Eric Détrez wrote:
I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background.
Is it possible ?
I tried inbetween=\startframedtext,after=\stopframedtext in the \setupdescriptions but this lead to an error "Missing } inserted"
search for textbackgrounds ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Eric Détrez
-
Hans Hagen
-
Procházka Lukáš Ing. - Pontex s. r. o.