I have the following document. I would like that all formula in the title of the sections and the chapters becomes bold (that is ${2\neq}$ and $\nu\geqslant 1$). How to make this possible?
\documentclass{book}
\usepackage{titlesec}
\titlespacing*{\section}{0pt}{1\baselineskip}{0\baselineskip}
\titleformat*{\section}{\large\bfseries}
\usepackage{amssymb}
\usepackage{xepersian}
\settextfont{Arial}
\setdigitfont{Arial}
\usepackage{bm, amsbsy}
\usepackage{relsize}
\DeclareRobustCommand{\centersmaller}[1]{%
\raisebox{.5\dimexpr\fontcharht\font`T-\height}{\smaller[3]#1}}
\begin{document}
\chapter{\centersmaller{(${2\neq}$)}}
\section{$\nu\geqslant 1$}
$\bm{\geqslant}$\\
$\pmb{\geqslant}$
\end{document}
I tried to use the suggestions in the link provided in the comment below. The only working solution from there was to use \pmb from bm packages. Unfortunately using this gives undesirable output for \gesqlant as shown in the below image:
