0

I'm writing in spanish, where a comma is used instead of a point as a decimal separator. When using libertine as a font I get that the comma leaves a space a bit too wide to the right:

enter image description here

Is it only me who's annoyed? Am I doing something wrong? Here's a MWE. Thanks in advance!

\documentclass[spanish]{article}
\usepackage{libertine}
\usepackage{libertinust1math}
\usepackage[T1]{fontenc}
\begin{document}
Here is the tenth part of one: $0,1$.

\end{document}

Francisco
  • 133

1 Answers1

0

You should load babel and use dots for decimals:

mwe

\documentclass[spanish]{article}
\usepackage{babel}
\begin{document}
Here is the tenth part of one: $0.1$.
\end{document}
Fran
  • 80,769
  • Umm, in some European languages, commas rather than periods are commonly used as the input decimal separator. – Mico Mar 01 '24 at 18:59
  • @Mico, In Spanish today both are allowed, but commas are the traditional separators, and this is why by default babel change the dot by comma but there options to change this. – Fran Mar 01 '24 at 19:07