I want write in italic and bold a expression like this x = A^-1y
using the inverse function $x=A^{-1}y$
Must be written after the text no in the center. It's not in italic and bold.
Thanks
I want write in italic and bold a expression like this x = A^-1y
using the inverse function $x=A^{-1}y$
Must be written after the text no in the center. It's not in italic and bold.
Thanks
You can use the bm package for boldmath:

\documentclass{article}
\usepackage{bm}
\begin{document}
using the inverse function $\bm{x=A^{-1}y}$
\end{document}
\boldmath which needs no package and is a lot more efficient than using \bm
– David Carlisle
Dec 06 '20 at 18:07
\boldmath sometimes had issues that were resolved with \bm, but at the cost of efficiency as you indicate. (Though in this specific example there are no issues.) Am I wrong about this?
– Sandy G
Dec 06 '20 at 18:26
\bm makes the fonts set up for boldmath available in the normal non bold math version
– David Carlisle
Dec 06 '20 at 18:51
The \boldmath command will turn math expressions following it bold, so you could write {\boldmath \( x=A^{-1}y \)}. Within math mode, you can use \( \boldsymbol{x=A^{-1}y} \). The unicode-math and isomath packages also add a \mathbfit alphabet for bold italic math letters.
To use this in LuaLaTeX or XeLaTeX, you want to load unicode-math and select a font that comes in bold, such as \setmathfont{XITS Math}. You could also specify a bold math version, such as \setmathfont{KpMath-Semibold.otf}[version=bold].
To use this in PDFTeX, load amsmath, and I would also recommend bm after all other math packages. However, the standard \boldmath and \boldsymbol commands are preferable to \bm, as they are more compatible.
\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – erik Dec 06 '20 at 17:13\bfand\itbut your code example uses neither of these commands. The input that you show would normally produce the image you show, in math italic, there is no command to use bold here.. – David Carlisle Dec 06 '20 at 17:31