My tags are follows:
\documentclass{book}
\usepackage{amsmath,amssymb}
\begin{document}
$\boldsymbol{\subsetneq}$
\end{document}
I got the symbol in roman only but I need in bold face, any suggestions...
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityworks with package bm
\documentclass{book}
\usepackage{amsmath,amssymb,bm}
\begin{document}
$\bm{\subsetneq}$ $\subsetneq$
\end{document}
Using a proper mathfont also helps:
\documentclass{book}
\usepackage{amsmath,amssymb}
\usepackage{kpfonts}
\begin{document}
$\boldsymbol{\subsetneq}$ $\subsetneq$
\end{document}
\usepackage{kpfonts}
, the \bm
command could also be used instead of \boldsymbol
, producing “real” bold in the output, provided that the bm
package is loded after kpfonts
.
If you use unicode-math
, there are three OpenType math fonts (as of 2019) that come in bold: Khaled Hosny’s free fonts XITS Math and Libertinus Math, and the commercial Minion Math.
The package will automatically load the bold weight as version=bold
, but you can load any arbitrary OpenType or TrueType font with a command such as \setmathfont[version=bold]{XITS Math Bold}
.
If you also load amsmath
, \boldsymbol{\subsetneq}
will still work. The unicode-math
package by itself still supports the legacy commands {\boldmath ...}
and {\mathversion{bold} ...}
.
As alternative you could use or amsbsy
package putting the command \pmb
.
See the image and MWE in attachment.
\documentclass{book}
\usepackage{amsmath,amssymb,amsbsy}
\begin{document}
$\pmb{\subsetneq}$
\end{document}
\pmb
at this link: tutorialspoint.com/tex_commands/pmb.htm
Apr 1, 2019 at 11:23