Hi Damien,

I might misunderstand what you want, but you could play with this:

\definecharacterkerning
  [FrenchRoman]
  [factor=-0.1]

\definehighlight
  [FrenchRoman]
  [style=\setcharacterkerning[FrenchRoman]]

\startTEXpage[offset=1DK]

\dorecurse{20}{%
#1: \Romannumerals{#1} or \FrenchRoman{\Romannumerals{#1}}\par
}

\stopTEXpage

/Mikael

On Sat, Dec 7, 2024 at 2:34 PM Damien Thiriet via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Hello,
>
>
> In French typography, roman numerals are usually typeset being connected
> with a top bar and a lower bar, at least when it comes to century
> numbers (should be also small caps, something I discovered today). Since
> I am not sure my vocabulary suits to this reality, you can see a sample
> looking at photos displayed in this online article
>
> https://fr.cultura10.com/r%C3%A8gles-d%27%C3%A9criture-des-nombres-romains/
>
> I have been simulating this with kerning for several years, but I
> recently switched from Latin Modern Sans to Luciole (both 24pt) for my
> presentations and I have to redesign this issue. So it is a good
> opportunity to find some a better alternative than stuff like
> \def\III{{\rm I\kern -1.3pt I\kern -1.3pt I}}, working at the font level
> or with a ConTeXt built-in macro.
> Several questions:
>
> 1) Is this already implemented in ConTeXt (I don't have time to reinvent
> the wheel once more)? The sample I looked at in the \Romannumeral wiki
> page doesn't implement this, but they may be alternative I am not aware
> of.
> 2) If it isn't, I think the best way would be to add a font extension,
> using hits given by Hans in the 11th meeting proceedings. However, what
> would be the best idea: playing with kerning, or with ligatures?
>
> Thanks for your advices,
>
>
> Damien Thiriet
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to