ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Re: Key distance with enumeration
  2023-07-27 18:56 [NTG-context] Key distance with enumeration Fabrice Couvreur
@ 2023-07-27 17:11 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2023-07-27 17:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur


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

Fabrice Couvreur schrieb am 27.07.2023 um 20:56:
>
> 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).

Add

         stretch=0,
         shrink=0,

to your enumeration setup.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 834 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
___________________________________________________________________________________

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

* [NTG-context] Key distance with enumeration
@ 2023-07-27 18:56 Fabrice Couvreur
  2023-07-27 17:11 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Couvreur @ 2023-07-27 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

end of thread, other threads:[~2023-07-27 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27 18:56 [NTG-context] Key distance with enumeration Fabrice Couvreur
2023-07-27 17:11 ` [NTG-context] " Wolfgang Schuster

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).