ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* descriptions -- symbol between head and text
@ 2021-12-14 15:44 Denis Maier via ntg-context
  2021-12-14 16:04 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Maier via ntg-context @ 2021-12-14 15:44 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 622 bytes --]

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
%%%%%%%%%%%%%%%%%%%%%%%%%

[-- Attachment #1.2: Type: text/html, Size: 4978 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: descriptions -- symbol between head and text
  2021-12-14 15:44 descriptions -- symbol between head and text Denis Maier via ntg-context
@ 2021-12-14 16:04 ` Wolfgang Schuster via ntg-context
  2021-12-15 11:58   ` Denis Maier via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-12-14 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Denis Maier via ntg-context
  Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 457 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: descriptions -- symbol between head and text
  2021-12-14 16:04 ` Wolfgang Schuster via ntg-context
@ 2021-12-15 11:58   ` Denis Maier via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Maier via ntg-context @ 2021-12-15 11:58 UTC (permalink / raw)
  To: wolfgang.schuster.lists, ntg-context, ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 845 bytes --]

Thanks, Wolfgang. That helped.

Denis

Von: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Gesendet: Dienstag, 14. Dezember 2021 17:05
An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Denis Maier via ntg-context <ntg-context@ntg.nl>
Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
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

[-- Attachment #1.2: Type: text/html, Size: 3571 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-15 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 15:44 descriptions -- symbol between head and text Denis Maier via ntg-context
2021-12-14 16:04 ` Wolfgang Schuster via ntg-context
2021-12-15 11:58   ` Denis Maier via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).