ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Key distance with enumeration
Date: Thu, 27 Jul 2023 18:56:43 +0000	[thread overview]
Message-ID: <CACyK-eoB_eJYgACQL=TLrArDZCSQYLEOC=8eMB=S+iFApu2_Zw@mail.gmail.com> (raw)


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

Hi,
I don't understand why the distance between the dot and the first letter of
the text is not always the same (see with theorem).
Thanks
Fabrice

\setupenumerations
  [before={\blank},
   after={\blank},
   alternative=serried,
   distance=1cm,
   title=yes,
   titleleft=,
   titleright=,
   titlestyle=normal,
   prefix=no,
   prefixsegments=chapter,
   way=bychapter,
   prefixconversionset=digit,
   counter=,
   headcommand=\groupedcommand{}{.},
   numbercommand=\groupedcommand{}{},
   titlecommand=\groupedcommand{(}{)},
   width=broad]

\defineenumeration
   [definition]
   [text=Définition,
    number=yes,
    style=italic]

\defineenumeration
   [theorem]
   [text=Théorème,
    number=yes,
    style=italic]


\starttext
 \startdefinition
     Un polynôme est une application de R dans R somme d'un nombre fini de
monômes.
    \stopdefinition
    \starttheorem
      La forme réduite d'un polynôme est unique à l'ordre près des monômes
qui le constituent.
    \stoptheorem
    \startdefinition
      Le degré d'un polynôme {\bi non nul} est le degré du monôme de plus
haut degré figurant dans son écriture réduite.
    \stopdefinition
    \startdefinition
      Le terme constant d'un polynôme est le coefficient (éventuellement
nul) de son monôme de degré 0.
    \stopdefinition

\stoptext

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

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

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

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

             reply	other threads:[~2023-07-27 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 18:56 Fabrice Couvreur [this message]
2023-07-27 17:11 ` [NTG-context] " Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACyK-eoB_eJYgACQL=TLrArDZCSQYLEOC=8eMB=S+iFApu2_Zw@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).