Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [bm]

Questions concerning the use of the bm package which provides the \bm and \hm commands for accessing bold and heavy fonts in maths mode.

Filter by
Sorted by
Tagged with
1 vote
2 answers
36 views

bm cause bold font undefined problems

\documentclass[a4paper]{article} \usepackage[no-math]{fontspec} \usepackage{anyfontsize} \usepackage{amsmath,amssymb,amsthm,mathrsfs} \setmainfont{Times New Roman} \usepackage{unicode-math} \...
user avatar
2 votes
1 answer
55 views

Latex3: Correct implementation of macro that generates other macros

I am implementing a latex package, and internally I have defined a routine \genMacroVect that generates a series of commands which inherit some properties from a class called vect which at the same ...
user avatar
  • 139
1 vote
0 answers
33 views

boldsymbol not working in beamer with Helvetica

The title pretty much says anything. Compare the output of the two. \documentclass{beamer} \usepackage{helvet} \usepackage{bm} \newcommand{\myvec}[1]{\ensuremath{\boldsymbol{#1}}} \begin{document} \...
user avatar
  • 189
2 votes
1 answer
66 views

Problem with package bm

I have a problem with the package bm, and there may be a conflict with other packages. Or, maybe, I don't understand how this package works. Here is a MWE: \documentclass[a4paper,10pt]{article} \...
user avatar
  • 589
1 vote
1 answer
43 views

Problem of \qty with \bm

I used qty symbol and bm symbol but didn't work. Why does not work? \documentclass{standalone} \usepackage{physics} \usepackage{bm} \begin{document} \[ \bm{\qty(x)} \] \end{document}
user avatar
  • 584
1 vote
1 answer
46 views

How to include bold math symbols using \bm in glossary?

I want to include a bold math symbol like \bm{u} in the glossary. But I don't know how to get it to work. My code is the following \documentclass{article} \usepackage{amsmath} \usepackage{bm} \...
user avatar
3 votes
2 answers
162 views

Interaction of \bm with optional argument

What's going on here? \documentclass{article} \usepackage{bm} \newcommand{\myfuncA}[0]{A} \newcommand{\myfuncB}[1]{#1} \newcommand{\myfuncC}[1][]{#1} \begin{document} \[ \bm{\myfuncA} % works ...
user avatar
  • 715
0 votes
1 answer
220 views

`\bm` no longer works with `\mathrm` when loading several fonts

This is a follow up to my previous question. I want listings to be able to handle valid python identifiers in listings using pdfLaTeX. The MWE literate_mwe.tex produces the following output from the ...
user avatar
12 votes
2 answers
1k views

Why `bm` uparrow gives extra white space while `bm` downarrow does not?

As topic. I am using pdfLaTeX compiler on Overleaf. I've figured out a remedy (?) as topic by not bolding the arrow: \bm{a_{xxx}}{}_{\uparrow}. However, I want to know the reason that \bm{a_{xxx\...
user avatar
  • 243
3 votes
0 answers
31 views

Wide accents and bm [duplicate]

Is there a way to use the bold math macro \bm together with wide accents such as \widetilde or \widehat, without generating a too wide accent? \documentclass{article} \usepackage{bm} \begin{...
user avatar
  • 794
3 votes
1 answer
85 views

Fatal error when using bold math and physics

I have a problem where writing \log in bold math \bm{$\log$} is resulting in a fatal error. I am using a multitude of packages, but I've narrowed it down to the physics package. I get 10 errors when ...
user avatar
1 vote
1 answer
148 views

Is there a way to switch mathbf and bm commands within the document?

I have written a long document with a lot of equations that contain both \bm and \mathbf. However, now I would like to switch their behaviour. So whenever I have \mathbf{X} in the document, I would ...
user avatar
  • 13
3 votes
3 answers
644 views

Bold pzc for mathmode

Is there a decent way of bolding the pzc font defined as \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} in the math mode. Giving \bm a try as below did not reveal anything \documentclass{report} \...
user avatar
1 vote
2 answers
264 views

How to print glossary math symbol in bold?

I would like to print the first usage of a math symbol defined in my glossary in bold without defining a new glossary entry. Using the text environment \textbf{\glssymbol{T1}} has no effect, because ...
user avatar
  • 226
5 votes
2 answers
1k views

Why doesn't the 'bm' package work with the 'unicode-math' package?

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 ...
user avatar
0 votes
0 answers
4k views

How can have a unit vector symbol without bold? [duplicate]

This is the following question from How to type a particular kind of unit vector? This given have bold, but I just want ordinary without bold. How can I do that? \documentclass{article} \usepackage{...
user avatar
  • 2,423
2 votes
1 answer
174 views

Using bm in Beamer Section

Forgive me if this is answered elsewhere, but my searches are failing me. I am using section headings in beamer and want to include bold math variables in the heading. This throws an error that I ...
user avatar
  • 21
3 votes
1 answer
119 views

\bm and \num inside align

What I'm trying to do is write a number as \num{number} in boldface inside an align environment. After looking for an answer, I found bm and siunitx mismatch, but it didn't solve the problem. Here's ...
user avatar
2 votes
2 answers
388 views

bm package with accent and subscript

I am trying to add bold subscript and superscript to a bold accented character. But the subscript comes out with a different spacing or depth from the version without the accent. I would like to just ...
user avatar
2 votes
1 answer
317 views

Bold \Big parenthesis in math mode

Is there a way to print a bold \Big parenthesis in math mode? If yes, is there also a way to print a bold parenthesis of any size (up to \Bigg for instance). I've tried the following approach but it ...
user avatar
  • 6,130
2 votes
1 answer
503 views

Bold symbols in LuaLaTeX with setmathfont

How to type bold \wedge and \neg symbols in a selected math font? MWE1, with bm package, no math font selection: \documentclass{article} \usepackage{fontspec} \usepackage{bm} %\usepackage{unicode-...
user avatar
  • 1,291
0 votes
1 answer
330 views

\bm not working for Latin or Digits letters when using mathspec to customize these

This is my MWE: % !TEX program = xelatex \documentclass{article} \usepackage{amsmath,bm} \usepackage{mathspec} \setmainfont{Times New Roman} \setmathfont(Digits,Latin,Greek){Minion Pro} \setmathrm{...
user avatar
3 votes
1 answer
285 views

Use of bm package change symbols [duplicate]

The following code \documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{eulerpx,bm} \begin{document} $a<b\quad\bm{a<b}$ \end{document} Provides the ...
user avatar
1 vote
3 answers
1k views

Bold symbols in math mode, reliably

I'm trying to have a bold \top symbol in math mode. I've tried everything I could find on google (\mathbf, \boldsymbol, \bm) but nothing seems to work properly. Only \pmb{\top} seems to do what I want ...
user avatar
8 votes
2 answers
383 views

Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters. I wonder what causes it and can the usage bm be ...
user avatar
  • 988
3 votes
2 answers
348 views

bm problem with newcommand

Καλημέρα! If I use the package bm, I have problems with the \newcommand{\hm}{\mathop{}\!\text{ημ} \mathop{}\!}. N.B.: I don't have problems with the \mathop{}\!\text{ημ} \mathop{}\!, but with the \...
user avatar
1 vote
1 answer
138 views

Fixing interaction of `bm` and NFSS

I’m trying to get math boldified in less fragile way that what bm would do. (Compare with the last paragraphs in this answer.) However, after hours of reading sources of NFSS (not for the first time!...
user avatar
3 votes
1 answer
1k views

Tabular align on decimal point with bold cells [duplicate]

I am trying to align tabular columns on a decimal point using dcolumn. Some cells should be bold. If I do this with \bm, the document does not compile, whereas if I do it as \textbf it does, but is ...
user avatar
  • 477
1 vote
1 answer
710 views

bold arrow in caption

I need to write in a caption $\overleftarrow{A}$ and make it bold, but when I compile I get the error "illegal parameter number in definition of \reserved@a." So to make it compile I use $\protect\...
user avatar
4 votes
1 answer
146 views

Does \bmdefine redefine commands without giving a warning?

Just curious; does \bmdefine redefine commands without giving a warning? I tried compiling \documentclass{article} \usepackage{bm} \bmdefine{\Omega}{O} \begin{document} $\Omega$ \end{document} \...
user avatar
  • 2,602
4 votes
3 answers
4k views

Bold, upright greek symbol, \bm not working

I seem to have a problem. My task is to transfer several scanned equations into TeX equations. Now my greek symbols won't accept to stay upright and italicized. \bm is somehow not working at all, \...
user avatar
  • 43
1 vote
1 answer
139 views

Conflict using \overset inside bold math

I'm trying to make a line of math symbols bold. I've been using \boldsymbol throughout my document to this end, but now I've stumbled with a problem. If I use \boldsymbol{\overset{\phi}{\to}} I get ...
user avatar
1 vote
2 answers
378 views

Bold font math in table of contents

I have this code \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[margin=2.5cm]{geometry} % showframe \usepackage{multirow} \...
user avatar
  • 491
6 votes
1 answer
1k views

Error "Extended mathchar used as mathchar" when using \bm

In an equation I want to use some bold calligraphic letters. This should be possible using \bm{\mathcal{X}}. However, even wenn using \bm{X} alone I get an error ("Extended mathchar used as mathchar")....
user avatar
  • 237
3 votes
2 answers
621 views

Lowercase greek, sanserif, bold

I have seen solutions for bold lowercase greek, and lowercase sanserif, but have not seen the combination of all three. What is the reliable way to generate lowercase, sanserif, bold math font?
user avatar
  • 45
0 votes
0 answers
173 views

Math symbols (bm) appear duplicate/on top of themselves [duplicate]

In a recent document I'm working on, when using certain math symbols they are duplicated over themselves: This happens exclusively when I use \bm{}. It happens in inline math, equations, and aligns. ...
user avatar
1 vote
2 answers
512 views

doubled letter when I using \bm

When I using the \bm package, all the letters are overprinting like below. I could not find the problem.
user avatar
  • 11
4 votes
1 answer
254 views

Conflict between hyperref and bm

Are there any ways to address the incompatibility below: \documentclass{report} \usepackage{hyperref} \usepackage{bm} \begin{document} \section{Boundary conditions $\bm{H_F}$} This is a test! \end{...
user avatar
  • 2,346
5 votes
1 answer
8k views

Make math symbol bold and non-italic simultaneously in latex

How to make a math symbol bold as well as non-italic in the math-mode of latex. I have been trying to both bold and non-italicize x and \theta using the following minimum-working-example. x can be ...
user avatar
  • 303
3 votes
1 answer
113 views

bm and siunitx transparent use

I try to have bm and siunitx packages transparent use based on this answer: bm and siunitx mismatch \documentclass{article} \usepackage{bm,siunitx} \newif\ifbm \bmfalse % New bm \let\Oldbm\bm \...
user avatar
  • 16.3k
6 votes
1 answer
222 views

bm and siunitx mismatch

With this mwe, \documentclass{article} \usepackage{bm,siunitx} % change nothing to the problem \sisetup{ detect-weight, detect-display-math } \begin{document} $\bm{\num{.1}}$ \end{document} ...
user avatar
  • 16.3k
5 votes
2 answers
2k views

How I can get bold, italic and dotless i and j in XeLaTeX?

In pdfLaTeX, I can get them by \bm{\hat{\imath}} and \bm{\hat{\jmath}}. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{bm} \usepackage{amsmath} \begin{document} $\bm{\hat{\imath}} \...
user avatar
2 votes
1 answer
2k views

bold version of succcurlyeq?

I would like to find a free font (preferably as in free speech) that can be used with LaTeX and that contains a bold version of $\succcurlyeq$ (defined in package amssymb). Currently I use poor man’s ...
user avatar
2 votes
0 answers
72 views

Centering double accents in math with bold symbols [duplicate]

I'm having some trouble getting double accents to centralise over a letter in a math environment, in combination with bold math. For example, \dot{\hat{d}}_{lx} Gives which is what how I would ...
user avatar
10 votes
3 answers
978 views

Macro definition not working when using LuaLaTeX and polyglossia (with `\setmainlanguage{german}`)

I'm compiling the following MWE with LuaLaTeX in an updated TexLive 2017 installation on Ubuntu: % !TeX program=lualatex \documentclass[a4paper,12pt,twoside=semi,openright]{scrbook} \usepackage{...
user avatar
2 votes
2 answers
165 views

Horizontal skip between bold small arrows to depict derivation operators of the Galois connection

Typing bold small arrows using bm package leads to the wrong horizontal skip (distance) between them. Please, help me to set equal horizontal skips between them to depict derivation operators of the ...
user avatar
3 votes
1 answer
368 views

Endless compilation when loading unicode-math and using \bm

In this MWE, \bm command results in endless compilation only if unicode-math is preloaded. How to fix such an error? \RequirePackage{luatex85} \documentclass{scrbook} \usepackage{mathtools,bm} \...
user avatar
  • 8,759
0 votes
0 answers
498 views

How to make everything bold in math mode? [duplicate]

I want to write everything in math mode as bold characters. I know that with bm package I can do that. Here is my example code. \documentclass{article} \usepackage{bm,amsmath} \begin{document} $E = \...
user avatar
  • 1,095
2 votes
1 answer
790 views

stix2 FONT: bold greek

I installed STIX2 fonts in otf format on my Win10 machine. I tried: \documentclass{minimal} \usepackage{bm} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont{STIX2Text-Regular.otf} \...
user avatar
  • 91
5 votes
0 answers
1k views

Choosing a good math font to use with Georgia text font

My questions is related to combining text and math fonts. I am a real fan of Georgia-like "dense" and "no so thin" fonts. It seems that books published by AMS use similar one. My problem is that I ...
user avatar