1

I encountered the problem that using the ETbb font does not look nice when used with the siunitx package. The Greek unit prefix µ gets messed up, here is a MWE:

\documentclass[border=2pt,varwidth]{standalone}
\usepackage{ETbb}% problem  <--
\usepackage{siunitx}
\begin{document}
    Some text \qty{1.6}{\milli\volt}\\
    More text \qty{1.6}{\micro\volt}
\end{document}

Presentation of the problem of the odd-printed µ while using the ETbb font

It is clear, the µ does not work here: the x height is bigger, the stroke width is bigger, it’s just ugly. I have asked a similar question about a sans-serif font before. I did try to solve this problem here using the solution provided to that question, but failed doing so. How do I tell the engine to use the appropriate µ with siunitx?

1
  • This is somewhat different from the previous question. In the previous question a font substitution occurred because the package didn't correctly set up \mathsf. In this question the symbol \textmu is in fact the "correct" one provided by the font. So from siunitx's point of view, this is the appropriate symbol. // You evidently dislike the symbol. So your choice is to take it from a different font. To answer your question, therefore, we need to know what replacement mu you would like to use. Commented Apr 29 at 14:34

1 Answer 1

1

If you use mode=text, then numbers and units are typeset in the ETbb font, instead of Computer Modern, that clearly clashes with the main text font.

\documentclass{article}
\usepackage{ETbb}
\usepackage{siunitx}

\sisetup{mode=text}

\begin{document}

Some text \qty{1.6}{\milli\volt}

More text \qty{1.6}{\micro\volt}

\end{document}

enter image description here

With a dirty trick, you can scale down the TS1 version of ETbb.

\documentclass{article}
\usepackage{ETbb}
\usepackage{siunitx}

\makeatletter
\begingroup
\def\ETbb@scale{0.9}
\input{TS1ETbb-TLF.fd}
\endgroup
\makeatother

\sisetup{mode=text}

\begin{document}

Some text \qty{1.6}{\milli\volt}

More text \qty{1.6}{\micro\volt}

\end{document}

enter image description here

1
  • Thanks, this does solve the problem presented above. I do realise, however, that I have oversimplified my problem. The solution presented here does not help me in that (1) I cannot use mode=text because I use osf in text mode and (2) my font setup and math mode is different. I will post another question about that.
    – fborchers
    Commented May 1 at 7:50

You must log in to answer this question.

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