Skip to main content

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
3 votes
2 answers
112 views

Is there a customizable version of the `\boldmath` command?

The \boldmath command will make all symbols used in math mode bold. I'm curious if there is an analogous command that allows the user to specify which characters to make bold in math mode. This ...
Brian Fitzpatrick's user avatar
0 votes
1 answer
32 views

how to get the V and I bold in a formula in a subsection

this is the code \subsection{$V_\text{GS}$ regelt $I_\text{D}$} the V and I are not bold when i try this with the bm package , i get an error \subsection{$\bm{V}_\text{GS}$ regelt $I_\text{D}$} \...
MrI2C's user avatar
  • 125
1 vote
1 answer
61 views

Using \xspace inside \bm (package bm) causes error "incomplete \iffalse"

I would like to use the spacing \xspace command inside the command for bold maths: \bm of the bm package. But I obtain an "Incomplete \iffalse" error, as in the example below. \documentclass{...
Matthieu's user avatar
3 votes
2 answers
121 views

How to use \MakeUppercase in combination with the bm package in LaTeX 2022-11-01

I am trying to submit LaTeX sources to arXiv and I ran into some issues. My project lives in overleaf where I am using TeX Live 2021 and everything compiles without any errors or warnings (except from ...
Mr Tsjolder from codidact's user avatar
1 vote
0 answers
18 views

\bm in chapter title causes "TeX capacity exceeded" [duplicate]

Here's the MWE: \documentclass{book} \usepackage{amsfonts} \usepackage{bm} \usepackage{hyperref} \begin{document} \chapter{$\bm{a^2 + b^2 = c^2}$} \end{document} And here's the errors I ...
Atom's user avatar
  • 665
2 votes
1 answer
72 views

TeXstudio syntax highlighting marked superscript and subscript as "outside math env" even when in math mode

This is just a visual annoyance as my code still works but it would be nice to know how to get rid of the pink highlights.
Nate's user avatar
  • 73
2 votes
0 answers
80 views

\bm and Lualatex

I just moved from PDFLatex to Lualatex. So, I am a real beginner with Lualatex and I am probably doing something wrong. Here is a MWE: \documentclass[10pt,a4paper,french]{article} \usepackage{...
Didier's user avatar
  • 1,323
2 votes
1 answer
161 views

Problem using \bm with \dfrac in amsmath

Please teach me why \bm doesn't play well with \dfrac in amsmath. This code \hl{$=\bm{\frac{7\sqrt[3]{2}}{2}}$} produces: But \hl{$=\bm{\dfrac{7\sqrt[3]{2}}{2}}$} crashes the compiler. I'm using \...
Siuslaw Math's user avatar
4 votes
2 answers
181 views

\bm command affects other macros

I want to use bold sf-fonts to designate a special kind of variable. I do this by using the bm package and then wrapping \mathsf in \bm. Unfortunately, this approach has the side effect that somehow ...
user1512263's user avatar
1 vote
1 answer
68 views

Definition of bold scalable delimiters using bm

I tried to define commands for scalable boldface delimiters via the bmdefine command from the bm package (obviously most of the packages involved seem unnecessary, but I need those packages, and ...
Matemáticos Chibchas's user avatar
1 vote
1 answer
70 views

x-height correction for different fonts

Boondox calligraphic math font and Arev math font do not have the same height for their upper-case letters and their lower-case letters. Adapting the answer of Fake small caps with XeTeX/fontspec?, I ...
user94293's user avatar
  • 4,302
1 vote
1 answer
189 views

Upright and Bold Greek/Latin, sometimes

I'd like to have a macro that lets me say something like \vector{lambda} and get an upright and bold lambda. I would like to say something like \matrix{Lambda} to get a capital, upright, and bold ...
user54858's user avatar
2 votes
1 answer
101 views

Propagate bold (italic) font to inline math

I use the package bm for proper italicised bold font in math-mode. Suppose we make some part of a sentence with math bold (via \textbf{...}). Is it possible to make all math for this part ...
Gargantuar's user avatar
  • 1,219
0 votes
1 answer
170 views

Using \dots inside \bm causes an error

I can't figure out why this error keeps happening. I simply use \dots inside \bm as is shown in the following image: The equation of the middle reads: $$\bm{d\omega^i\wedge\omega^1\wedge\dots\wedge\...
Akerbeltz's user avatar
  • 589
0 votes
1 answer
345 views

Problems using stix2 and bm

I am using the stix2 package with the bm package. Here is my MWE: \documentclass[preview]{standalone} \usepackage{stix2} \usepackage{amsmath,amsthm} \usepackage{bm} \newcommand{\abcABC}{...
moro11's user avatar
  • 150
1 vote
2 answers
338 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} \...
Firestar-Reimu's user avatar
2 votes
1 answer
77 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 ...
wdsgn's user avatar
  • 311
1 vote
0 answers
67 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} \...
tigerjack's user avatar
  • 249
2 votes
1 answer
246 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} \...
Didier's user avatar
  • 1,323
1 vote
1 answer
106 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}
cufcuf's user avatar
  • 594
1 vote
1 answer
172 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} \...
user246857's user avatar
3 votes
2 answers
222 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 ...
mjc's user avatar
  • 745
0 votes
1 answer
733 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 ...
LimeHunter7's 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\...
Yuki.F's user avatar
  • 243
3 votes
0 answers
35 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{...
Jan Hajer's user avatar
  • 874
3 votes
1 answer
163 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 ...
Christian P.'s user avatar
1 vote
1 answer
304 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 ...
canbooo's user avatar
  • 13
3 votes
3 answers
1k 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} \...
user205875's user avatar
2 votes
2 answers
486 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 ...
Corbie's user avatar
  • 256
11 votes
2 answers
3k 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 ...
Thurein Minn's 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{...
aan's user avatar
  • 2,693
2 votes
1 answer
324 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 ...
brandon's user avatar
  • 21
3 votes
1 answer
143 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 ...
Raphael Ferreira's user avatar
2 votes
2 answers
705 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 ...
Kun Dong's user avatar
3 votes
1 answer
549 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 ...
Colas's user avatar
  • 6,872
2 votes
1 answer
709 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-...
tatojo's user avatar
  • 1,341
0 votes
1 answer
558 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{...
Jerry John's user avatar
3 votes
1 answer
337 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 ...
Matemáticos Chibchas's user avatar
1 vote
3 answers
3k 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 ...
LorenzoPerticone's user avatar
8 votes
2 answers
480 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 ...
Peter's user avatar
  • 998
4 votes
2 answers
466 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 \...
Kώστας Κούδας's user avatar
1 vote
1 answer
170 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!...
Ilya Zakharevich's 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 ...
Ann's user avatar
  • 539
1 vote
1 answer
870 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\...
user160430's user avatar
4 votes
1 answer
182 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} \...
MSC's user avatar
  • 2,762
4 votes
3 answers
5k 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, \...
LSCAD's user avatar
  • 43
1 vote
1 answer
206 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 ...
Hercule Poirot's user avatar
1 vote
2 answers
551 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} \...
Andreas's user avatar
  • 501
7 votes
1 answer
2k 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")....
Mik's user avatar
  • 267
3 votes
2 answers
822 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?
zcadqe's user avatar
  • 55