alerque / libertinus

The Libertinus font family
Other
927 stars 57 forks source link

The integral symbol U+222B in the math font does not stretch properly. #541

Open apoorvpotnis opened 11 months ago

apoorvpotnis commented 11 months ago

The integral symbol U+222B in the math font does not stretch properly like other math fonts, when creating a big integral symbol using the following trick described in the documentation of the New Computer Modern fonts.

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{LibertinusMath-Regular.otf}
\begin{document}
    \[
            \Uleft \Udelimiter 0 0 "222B
            \begin{pmatrix}
                1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20
            \end{pmatrix}
            \Uright.
    \]
\end{document}

Screenshot_20230716_210511 The following is what we get in the Concrete-Math.otf font. Screenshot_20230716_210938

apoorvpotnis commented 11 months ago

I am using Daniel Flipo's concmath-otf math font (\usepackage[concrete]{fontsetup}). And yes, the integral is really too big in the example I gave, but it certainly looks usable for somewhat bigger sizes than the original U+222B glyph---say upto the sizes provided by the mt2pro package.

On Sun, 16 Jul 2023 at 23:48, Herbert Voß @.***> wrote:

I cannot see it with Concrete Math and up-to-date TL23. However, such a big integral looks wrong to me.

— Reply to this email directly, view it on GitHub https://github.com/alerque/libertinus/issues/541#issuecomment-1637156053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTDEZDOL5KM2N4N57YPUL3XQQV7VANCNFSM6AAAAAA2MAN7FQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Apoorv Potnis

apoorvpotnis commented 11 months ago
\documentclass{article}
\usepackage[concrete]{fontsetup}
% \setmathfont{LibertinusMath-Regular.otf}
\begin{document}
    \[
    \Uleft \Udelimiter 0 0 "222B
    \begin{pmatrix}
        1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20
    \end{pmatrix}
    \Uright.
    \]
\end{document}

This is my code for the concrete example.

apoorvpotnis commented 7 months ago

Yes, many. Concmath-otf, Xcharter-otf, Erewhon-otf (Fourier-otf), Stix2, NewCM, GFS Neohellenic, all TeX Gyre fonts have it. XITS does not have it.

‪On Wed, 6 Dec 2023 at 13:57, ‫خالد حسني (Khaled Hosny)‬‎ < @.***> wrote:‬

This is the first time I see stretched integral to be honest, is there any other font that does this?

— Reply to this email directly, view it on GitHub https://github.com/alerque/libertinus/issues/541#issuecomment-1842416596, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTDEZHC5MTL7HSBGAZRTPLYIAT7XAVCNFSM6AAAAAA2MAN7FSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGQYTMNJZGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Apoorv Potnis