1

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:

enter image description here

4
  • the methods given here should work: How can I get bold math symbols? (potential duplicate). but ... think before you do it. boldness adds different meaning to many symbols. Oct 25, 2016 at 18:03
  • @barbarabeeton I edited my question.
    – Name
    Oct 26, 2016 at 6:57
  • sorry, i can't test this because i don't have access to the tahoma font. (i'm working on a linux machine at my workplace.) Oct 26, 2016 at 12:38
  • @barbarabeeton I changed Tahoma to Arial (I hope you have it on your system). I have the same problem.
    – Name
    Oct 26, 2016 at 13:19

1 Answer 1

1

Please try this

$\bm{formula}$

This seems to be working for me, but with pdflatex

\documentclass{book}

\usepackage{titlesec}
\titlespacing*{\section}{0pt}{1\baselineskip}{0\baselineskip}
\titleformat*{\section}{\large\bfseries}


\usepackage{amssymb}


\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}$


    \chapter{\centersmaller{($\bm{2\neq 2}$)}}


    \section{$\nu\geqslant 1$}

    $\bm{\geqslant}$\\
    $\pmb{\geqslant}$

\end{document}
1
  • For the particularity of my document, I should compile with xelatex. But even with pdfkatex, If you zoom in you see that the shape of \geqslants' is the same as the image I have attached. So the issue is still there.
    – Name
    Oct 26, 2016 at 15:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .