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.
80
questions
1
vote
1
answer
39
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 ...
1
vote
1
answer
43
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 ...
2
votes
1
answer
64
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 ...
0
votes
1
answer
61
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\...
0
votes
1
answer
116
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}{...
1
vote
2
answers
129
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}
\...
2
votes
1
answer
63
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 ...
1
vote
0
answers
52
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}
\...
2
votes
1
answer
137
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}
\...
1
vote
1
answer
70
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}
1
vote
1
answer
81
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}
\...
3
votes
2
answers
192
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
...
0
votes
1
answer
402
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 ...
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\...
3
votes
0
answers
33
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{...
3
votes
1
answer
109
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 ...
1
vote
1
answer
223
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 ...
3
votes
3
answers
926
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}
\...
2
votes
2
answers
357
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 ...
10
votes
2
answers
2k
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 ...
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{...
2
votes
1
answer
219
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 ...
3
votes
1
answer
126
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 ...
2
votes
2
answers
521
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 ...
2
votes
1
answer
415
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 ...
2
votes
1
answer
577
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-...
0
votes
1
answer
426
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{...
3
votes
1
answer
315
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 ...
1
vote
3
answers
2k
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 ...
8
votes
2
answers
427
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 ...
3
votes
2
answers
400
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 \...
1
vote
1
answer
156
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!...
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 ...
1
vote
1
answer
766
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\...
4
votes
1
answer
163
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}
\...
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, \...
1
vote
1
answer
162
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 ...
1
vote
2
answers
467
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}
\...
7
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")....
3
votes
2
answers
682
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?
0
votes
0
answers
174
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. ...
1
vote
2
answers
569
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.
4
votes
1
answer
325
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{...
5
votes
1
answer
9k
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 ...
3
votes
1
answer
129
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
\...
6
votes
1
answer
258
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}
...
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}} \...
3
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 ...
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 ...
10
votes
3
answers
1k
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{...