## LaTeX forum ⇒ Fonts & Character Sets ⇒ I don't get textohm in helvetica text

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
paultjevdh
Posts: 3
Joined: Mon Feb 10, 2020 5:52 pm

### I don't get textohm in helvetica text

Hi,

I try to get \textohm in a document which is set in helvetica. An MWE is shown below.

\documentclass[11pt, twoside, a4paper]{article}\usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \begin{document}\textohm\textmhoText in helvetica\end{document}

Does anyone know why this code prints a black rectangle instead of the capital omega? When I comment out the \renewcommand{\familydefault}{\sfdefault}-line, output is in times font with properly set omega.
Somehow the \textmho has no issues, which I thought would depend on the same package (textcomp).

Best regards,
Paul

Ijon Tichy
Posts: 269
Joined: Mon Dec 24, 2018 10:12 am
The font is somehow incomplete. I would suggest to try another Helvetica based font, e.g.
\documentclass[11pt, twoside, a4paper]{article}\usepackage{tgheros} \renewcommand{\familydefault}{\sfdefault} \begin{document}\textohm\textmhoText in helvetica\end{document}

paultjevdh
Posts: 3
Joined: Mon Feb 10, 2020 5:52 pm
Hi,

Thanks, that did the trick, although I got some strange messages while miktex installed the required packages: it tried to write files that were in-use. It seems closing yap solved this.
Then I got some dde errors when yap started again.
All-in-all a bumpy ride, but that's LaTeX....

I made this a simple question to allow a simple answer, but if I'm correct it did worked a few months ago. Any thoughts on that? There seems to be a lot going on under the hood the last few months..

Best regards,
Paul

Ijon Tichy
Posts: 269
Joined: Mon Dec 24, 2018 10:12 am
Yes, there are a lot of significant changes in LaTeX in the last two years, e.g., in April 2018 the default encoding has changes from US-ASCI to UTF-8, in October 2019 several fragile commands became robust and UTF-8 became usable also for labels etc., in February 2020 the font selection has been changed. See the "Complete LaTeX2ε news" in LaTeX base for more information.

To avoid problems with auto-installation of new files on the fly, you could install all packages. Installing everything is the default of TeX Live.

paultjevdh
Posts: 3
Joined: Mon Feb 10, 2020 5:52 pm
Thanks for the explanation.
Best regards,
Paul