josephwright / siunitx

A comprehensive (SI) units package for LaTeX
LaTeX Project Public License v1.3c
350 stars 25 forks source link

ohm do not work when kmath package is loaded #728

Closed JoseDanielMunozFrias closed 2 months ago

JoseDanielMunozFrias commented 2 months ago

When using kmath package, the ohm symbol do not render inside equations. Is a bug or I'm doing something wrong?

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{bookman}
\usepackage{kmath}
\usepackage{kerkis}
\usepackage{upgreek} 
\usepackage{siunitx}%[=v2]

\begin{document}

When using the package kmath, the ohm symbol does not work inside an equation: $R = \SI{10}{k\ohm}$

But works OK outside: \SI{10}{k\ohm}.

Using siunitx v2 works, but this version uses another font for the ohm symbol.

\end{document}
josephwright commented 2 months ago

I'm going to use the same approach as https://github.com/josephwright/siunitx/issues/572.

JoseDanielMunozFrias commented 2 months ago

¡Thank you for your promptly response!

However, now the symbol used for the ohm inside the equations is different of the symbol used outside.

josephwright commented 2 months ago

@JoseDanielMunozFrias OK, that's a separate issue and is not trivial - I need to think about what is 'supposed' to happen here!

josephwright commented 2 months ago

I have a plan - will sort in another issue.

JoseDanielMunozFrias commented 2 months ago

¡Thanks a lot! Now it works perfectly.