4

Why?

\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{libertine}
\usepackage[libertine]{newtxmath}
\usepackage[scaled=.86]{FiraMono}

\begin{document}

\noindent
Looks good:
\begin{equation}
\vec{x}\in\mathbb{C}^{N}
\end{equation}

\noindent
Looks bad (too much space between R and N):
\begin{equation}
\vec{x}\in\mathbb{R}^{N}
\end{equation}
Why?

\end{document}

enter image description here

1
  • According mirrors.ctan.org/fonts/newtx/README, this has been repaired in NewTX 1.726. However, I don't see this version in TeX Live 2023 yet. Whoever has an influence on this, please feel free to nudge the TeX Live 2023 maintainers …
    – user292998
    Sep 1, 2023 at 21:50

1 Answer 1

6

EDIT The issue has been fixed in newtx v1.726 (2023-08-25)


It looks like a small design flaw (or choice?) in the blackboard bold fonts of newtxmath:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{libertine}
\usepackage[libertine]{newtxmath}

\begin{document}

\fboxsep-\fboxrule
\fbox{$\mathbb{C}$}
\fbox{$\mathbb{R}$}

\end{document}

enter image description here

Actually \usepackage{newtxmath} is enough to show the problem, which involves more than one letter: I'd say that at least A, K, X, and Z have the same issue, but that might be a matter of taste.

\documentclass{article}
\usepackage{newtxmath}
\begin{document}
\fboxsep-\fboxrule
\count255=65
\loop\ifnum\count255<91
\fbox{$\mathbb{\char\count255}$}
\advance\count255 by1
\repeat
\end{document}

enter image description here

Not much to do but inform the author.

Personally, instead of using newtxmath with the option libertine I use directly the libertinust1math font (both by the same author).

7
  • 1
    It must have been a relatively recent update, because in tex.stackexchange.com/a/599855/82917 there are no such spaces.
    – campa
    Aug 16, 2023 at 11:18
  • Just for the record, libertinust1math has its own issues: tex.stackexchange.com/q/651204/208544
    – mbert
    Aug 16, 2023 at 14:09
  • Thanks. By "inform the author", you mean write him to his email shown on CTAN? Or is there a better alternative that I am not aware of?
    – 17tmh
    Aug 16, 2023 at 17:38
  • @17tmh Yes, Michael checks regularly his email. He might not answer right away but he is always reliable.
    – campa
    Aug 16, 2023 at 17:47
  • 1
    Okay, wrote an email. BTW I looked at libertinust1math, but somehow I am used to the newtxmath feel.
    – 17tmh
    Aug 16, 2023 at 18:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .