Re: Font kerning

2022-02-16 Thread Francesco Napoleoni
> Of course, what it means to “conform as much as possible to the original > layout” is the question at hand. If purely visual, your code is > correct; if purely semantic, “vº1º”/“vº2º” is correct (however the font > displays that); if both together, then a font with appropriate letter > and

Re: Font kerning

2022-02-15 Thread Joel C. Salomon
On 2/14/22 11:57, Francesco Napoleoni wrote: In data lunedì 14 febbraio 2022 00:19:11 CET, Joel C. Salomon ha scritto: I wonder whether you’re using the wrong symbol, and using the correct one might help a little. Your code is using the degree sign “°” U+B0, when by context this should

Re: Font kerning

2022-02-14 Thread Francesco Napoleoni
In data lunedì 14 febbraio 2022 00:19:11 CET, Joel C. Salomon ha scritto: > On 2/7/2022 11:53 AM, Francesco Napoleoni wrote: > > How can I adjust (if possible) such property in a markup block? > > > > namely I would like to “shrink” the “V.° I.°” and the “V.° 2.°” text like > > the attached

Re: Font kerning

2022-02-13 Thread Joel C. Salomon
On 2/7/2022 11:53 AM, Francesco Napoleoni wrote: How can I adjust (if possible) such property in a markup block? namely I would like to “shrink” the “V.° I.°” and the “V.° 2.°” text like the attached screenshot. I wonder whether you’re using the wrong symbol, and using the correct one

Re: Font kerning

2022-02-07 Thread David Bellows
> making something like shelf{}full omit the ff ligature only somewhat reliably: if there is a hyphenation pass over the paragraph in question, TeX will create the ff ligature in the "reconstitution pass". As an aside, the selnolig package exists for LuaTeX that automatically removes select

Re: Font kerning

2022-02-07 Thread David Kastrup
Valentin Petzel writes: >> Am Montag, 7. Februar 2022, 22:47:30 CET schrieb: >>> Valentin Petzel writes: >>> >> Am Montag, 7. Februar 2022, 21:30:21 CET schrieb: >>> >>> Thanks to all for your answers. The trick suggested by Valentin >>> >>> works for me. >>> >>> >>> >>> Anyway it looks like

Re: Font kerning

2022-02-07 Thread Valentin Petzel
Hello David. TeX takes care of text output entirely by itself, while Lilypond delegates this to Pango. This makes handling certain things quite a bit more awkward in Lilypond. So while \hspace does work similarly to \kern it does not really have the same function. In TeX we could for example

Re: Font kerning

2022-02-07 Thread David Kastrup
Valentin Petzel writes: >> Am Montag, 7. Februar 2022, 21:30:21 CET schrieb: >>> Thanks to all for your answers. The trick suggested by Valentin works for >>> me. >>> >>> Anyway it looks like there’s no option to directly adjust letter spacing, >>> something like \kern macro in LaTeX, right? >

Re: Font kerning

2022-02-07 Thread Valentin Petzel
No. As Lilypond is a music typesetter, not a text typesetter, the text typesetting options in Lilypond are quite rudimentary. This means that Lilypond has no interface for these things. So kerning in Lilypond markup usually means taking two markups and putting them next to each other with some

Re: Font kerning

2022-02-07 Thread Francesco Napoleoni
In data lunedì 7 febbraio 2022 21:46:49 CET, David Kastrup ha scritto: > So how would you characterise this being any different from \kern ? Uhmmm... I wouldn’t. :-)

Re: Font kerning

2022-02-07 Thread David Kastrup
Francesco Napoleoni writes: > In data lunedì 7 febbraio 2022 21:40:05 CET, David Kastrup ha scritto: >> Have you tried negative \hspace ? > > Yes, that’s what Valentin suggested, and indeed it does the trick. So how would you characterise this being any different from \kern ? -- David Kastrup

Re: Font kerning

2022-02-07 Thread Francesco Napoleoni
In data lunedì 7 febbraio 2022 21:40:05 CET, David Kastrup ha scritto: > Have you tried negative \hspace ? Yes, that’s what Valentin suggested, and indeed it does the trick.

Re: Font kerning

2022-02-07 Thread David Kastrup
Francesco Napoleoni writes: > Thanks to all for your answers. The trick suggested by Valentin works for me. > > Anyway it looks like there’s no option to directly adjust letter spacing, > something like \kern macro in LaTeX, right? Have you tried negative \hspace ? -- David Kastrup

Re: Font kerning

2022-02-07 Thread Francesco Napoleoni
Thanks to all for your answers. The trick suggested by Valentin works for me. Anyway it looks like there’s no option to directly adjust letter spacing, something like \kern macro in LaTeX, right? cheers Francesco Napoleoni

Re: Font kerning

2022-02-07 Thread Valentin Petzel
Hello Francesco, perhaps \concat { ... } . Also you can use \hspace with a negative number to add negative spacing before a markup, pulling it forward. E.g. { c^\markup\concat { "V." \hspace #-0.5 "°" "I." \hspace #-0.8 "°" } } Cheers, Valentin Am Montag, 7. Februar 2022, 17:53:19 CET

Re: Font kerning

2022-02-07 Thread Lukas-Fabian Moser
Hi Francesco, Am 07.02.22 um 17:53 schrieb Francesco Napoleoni: Hello everyone How can I adjust (if possible) such property in a markup block? namely I would like to “shrink” the “V.° I.°” and the “V.° 2.°” text like the attached screenshot. It's easier to help if you also provide the

Font kerning

2022-02-07 Thread Francesco Napoleoni
Hello everyone How can I adjust (if possible) such property in a markup block? namely I would like to “shrink” the “V.° I.°” and the “V.° 2.°” text like the attached screenshot. Thanks Francesco Napoleoni