In pdfLaTeX, I can get them by \bm{\hat{\imath}} and \bm{\hat{\jmath}}.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{bm}
\usepackage{amsmath}
\begin{document}
$\bm{\hat{\imath}} \quad \bm{\hat{\jmath}}$
$\hat{\bm{\imath}} \quad \hat{\bm{\jmath}}$
\end{document}
This produces the following output:
How can I get the above results in XeLaTeX? I tried this but this doesn't work.
\documentclass{article}
\usepackage{bm}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont[math-style=ISO, bold-style=ISO]{latinmodern-math.otf}
\begin{document}
$\symbf{\hat{\imath}} \quad \symbf{\hat{\jmath}}$
$\hat{\symbf{\imath}} \quad \hat{\symbf{\jmath}}$
\end{document}
This produces the following output:
Using \bm in XeLaTeX is producing compile error. How can I get the first output? I also desire the carets or caps as in the first output.
EDIT:
This(in comments by Taiki) says that there are no bold, italic dotless i and j in Unicode. Isn't there any way to import the pdfLaTeX symbol in XeLaTeX?




\boldsymbol?