I want the bold italic math character (as in normal math) in math mode. So, I tried to use the bm
package but it doesn't work together with the unicode-math
package in my LaTeX document. Again, for some specific characters, it is not possible to remove unicode-math
package. Can someone help me to use those packages together? Thanks!
The following codes work properly without \usepackage{unicode-math}
. But when adding this package, the \bm
command doesn't work.
\documentclass[12pt, twoside]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[explicit]{titlesec}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{array}
\usepackage{tabularx,booktabs}
\usepackage{color, colortbl}
\usepackage{pgf, pgfplots}
\usepackage{tikz}\usetikzlibrary{shapes.misc}
\usepackage{mathrsfs}
\usepackage{enumitem}
\usepackage{geometry}
\begin{document}
$\bm{(\sqrt[n]{x})^{n}=\sqrt[n]{x^{n}}=x}$
\end{document}
bm
andunicode-math
are in fact quite incompatible. On the other hand if you are usingxetex
orluatex
you should't have any need forbm
in the first place. – campa Feb 17 '20 at 16:17unicode-math
you should also indicate in the MWE where you would loadunicode-math
– daleif Feb 17 '20 at 16:31