Re: [NTG-context] descriptions -- symbol between head and text

2021-12-15 Thread Denis Maier via ntg-context
Thanks, Wolfgang. That helped.

Denis

Von: Wolfgang Schuster 
Gesendet: Dienstag, 14. Dezember 2021 17:05
An: mailing list for ConTeXt users ; Denis Maier via 
ntg-context 
Cc: Maier, Denis Christian (UB) 
Betreff: Re: [NTG-context] descriptions -- symbol between head and text

Denis Maier via ntg-context schrieb am 14.12.2021 um 16:44:

Hi,

is there a way to get some text between the head and the text of a description. 
Enumerations have stoppers, but I couldn't find an equivalent setting for 
descriptions:

\definedescription
  [deflist]
  [alternative=hanging,
   width=fit,
   headcommand=\groupedcommand{[BEFORE] }{ [AFTER]}]

\starttext

\startdeflist{Knuth}
\input knuth
\stopdeflist

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Wolfgang Schuster via ntg-context

Denis Maier via ntg-context schrieb am 14.12.2021 um 16:44:


Hi,

is there a way to get some text between the head and the text of a 
description. Enumerations have stoppers, but I couldn’t find an 
equivalent setting for descriptions:




\definedescription
  [deflist]
  [alternative=hanging,
   width=fit,
   headcommand=\groupedcommand{[BEFORE] }{ [AFTER]}]

\starttext

\startdeflist{Knuth}
\input knuth
\stopdeflist

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Denis Maier via ntg-context
Hi,

is there a way to get some text between the head and the text of a description. 
Enumerations have stoppers, but I couldn't find an equivalent setting for 
descriptions:

The output should look roughly like this:

ABC: asdfasdfasdf jklöjklööjklö
CDE: asdfasdfasdf jklöjklöjklöö

Denis

%
\definedescription[deflist][
  headstyle=normal,
  style=normal,
  alternative=hanging,
  width=fit,
  margin=1cm,
  distance=0em,
  ]

\starttext
\startdeflist{ABC}
\input knuth
\stopdeflist

\startdeflist{CDE}
\input knuth
\stopdeflist

\stoptext
%
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___