TeX - LaTeX Asked by Masum on December 19, 2020
documentclass[a4paper, 12pt]{article}
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{fontspec}
setmainfont{latinmodern-math.otf}[FakeBold=4]
letmathbbaltmathbb
usepackage{unicode-math}
setmathfont{latinmodern-math.otf}[FakeBold=4]
letmathbbmathbbalt
begin{document}
begin{align*}
v & inmathbb{V}
f & inmathbb{F}
end{align*}
end{document}
This is the output.
documentclass[a4paper, 12pt]{article}
usepackage{amsmath, amsthm, amssymb, amsfonts}
usepackage{fontspec}
setmainfont{latinmodern-math.otf}[FakeBold=4]
%letmathbbaltmathbb
usepackage{unicode-math}
setmathfont{latinmodern-math.otf}[FakeBold=4]
%letmathbbmathbbalt
begin{document}
begin{align*}
v & inmathbb{V}
f & inmathbb{F}
end{align*}
end{document}
Here is the output without the let command. It is bolded but the font is not computer modern mathbb. I would like the computer modern mathbb font fakebolded
The problem is that you're loading amsfonts
and amssymb
.
With your let
commands you're reverting to the blackboard bold letters from amsfonts
that obviously don't respect the FakeBold=2
option.
documentclass[a4paper, 12pt]{article}
usepackage{amsmath, amsthm}
usepackage{fontspec}
usepackage{unicode-math}
setmathfont{NewCMMath-Regular.otf}[FakeBold=10]
begin{document}
begin{align*}
vinmathbb{V}
finmathbb{F}
end{align*}
end{document}
I used 10 in order to make the bolding more evident.
Here's the output with FakeBold=2
:
In order to limit the bleeding from my eyes, here's the output without FakeBold
:
Correct answer by egreg on December 19, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP