Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [mathbb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Using my svg images as blackboard bold characters

I've become dissatisfied with AMS's blackboard bold after noticing the R and Q differ a lot from Latin Modern's (and for its lack of bold numbers). I then learned it is not based on Computer Modern/...
Pedro G. Mattos's user avatar
0 votes
0 answers
55 views

arXiv submission \mathbb problem with mtpro2

Update: Thank you for comments and warnings! I contacted arXiv support to be sure, and you are not allowed to use mtpro2. I am trying to make a submission to arXiv, and I am using mtpro2 for my ...
Jo''s user avatar
  • 145
1 vote
2 answers
141 views

How to fix $\mathbb{R}$?

I am writing a code in overleaf with the XeLaTeX compiler. this is the code: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{graphicx} % Required for inserting images \usepackage{...
Ariel Fishbein's user avatar
0 votes
1 answer
50 views

how to fix this error within my table

I'm not sure what is going wrong here, i don't see any errors in spelling.
Noa Runnalls's user avatar
0 votes
0 answers
46 views

I'm getting an error while compiling some math

While using \include{selectors.tex} with a line like this: Suppose $\langle x_n \rangle _{n \in \nat}$ is a rapidly converging sequence of converges to some irrational number. I'm getting this error: ...
user2925716's user avatar
  • 1,940
0 votes
1 answer
100 views

How to draw a hollow 1? (Unit step, Indicator fcn, etc..) [duplicate]

I am trying to write a hollow number 1 for my unit step function. Intuitively, since \mathbb{R} provides the nice symbol for real numbers, I would imagine \mathbb{1} do the same. However: Since the ...
Power_tile's user avatar
1 vote
0 answers
80 views

Newtxmath: superfluous space in “ℤ)” [duplicate]

Using TeX Live 2023 as of 2023-08-23 (also as of 2023-08-25), feeding pdflatex with \documentclass{article} \pagestyle{empty} \usepackage{newtxmath}% v1.723, 2023/07/30 \begin{document}% The matrix ...
user avatar
0 votes
0 answers
62 views

How to change blackboard bold fonts using mathspec?

I’m using unicode-math to change my blackboard bold font to TeX Gyre Schola Math, but it interferes with mathalpha (I use this to change my cal, scr, and frak fonts) and causes the positions of ...
Brendan Sean's user avatar
1 vote
2 answers
203 views

Problem with \mathbb command in times new roman font

I have this code written: \documentclass{article} \usepackage[margin=2cm]{geometry} \usepackage{fontspec} \usepackage[utf8]{inputenc} \usepackage[]{unicode-math} \setmainfont{Times New Roman} \...
panos Physics's user avatar
0 votes
0 answers
82 views

Error when using blackboard bold fonts to produce indicator function

I have a weird problem. It all started when I got problems when trying to create the indicator function with a double stroke 1 using \mathbb{1} which within the Visual Studio reads as using 'Latex ...
DaveGoneRogue's user avatar
1 vote
1 answer
76 views

sansmath undoes custom mathbb alphabet

I need mathbb symbols for 0 and 1. Currently I'm doing this using the bbold fonts. This works great: \documentclass[10pt]{article} \DeclareMathAlphabet{\mymathbb}{U}{bbold}{m}{n} \usepackage{amsmath} ...
Joey Eremondi's user avatar
0 votes
0 answers
343 views

stix2.sty not found? Stix2 mathbb problem

I have recently asked a question about changing fonts in my LaTeX document (HERE) but when going to compile, it gave me errors. Provided that I installed mathalpha, which I did not have, I have ...
Henry's user avatar
  • 378
2 votes
1 answer
487 views

How to use \mathbb with this font?

I have been using the Garamond font for almost 10 years and now I decided to change, to try something new, and after having spent some hours in reading and looking for TeX Fonts, I came up with the ...
Henry's user avatar
  • 378
4 votes
3 answers
2k views

Mathbb font for lowercase letters

I was wondering how to get the mathbb font in lowercase letters. I found the font but the lowercase letters are math symbols as (f) = (\mho). So my question is simple, is there a way to get these ...
Agente 156's user avatar
2 votes
4 answers
465 views

blackboard-bold/double-struck capital greek letters

I am trying to show blackboard bold capital greek letters in a document. Font is standard serif font. Math is straight not italic. I made countless attempts based on SE solutions, to no avail. Here is ...
Martin's user avatar
  • 153
2 votes
0 answers
192 views

import \mathbb{1} from dsserif without changing other \mathbb{}

In pdflatex, I'd like to use \mathbb{1} in a way suggested in How do you get \mathbb{1} to work?; that is: \usepackage[bb=dsserif]{mathalpha} \def\1\mathbb{1} \[\1\] But, a side effect (for me) is ...
user182849's user avatar
1 vote
2 answers
289 views

double struck letters. Mine look weird using stix2. clash with amssymb

I want to use stix2 to make this adjustable symbol $\rParen$, , but it changes my $\mathbb{Z}$ from this to this $\mathbb{Z}$ . I tried using the package mathbbol to use $\Rparen$ so that I didn't ...
TheGreatJRB's user avatar
2 votes
0 answers
472 views

Incorrect Usage of \mathcal and \mathbb Leads to Interesting Symbols [duplicate]

I noticed that some incorrect usage of the \mathcal and \mathbb command generates interesting symbols. \mathcal{M^1} \mathcal{M^2} \mathcal{M^3} \mathcal{M^4} \mathcal{M^5} and \mathbb{M^1} \mathbb{M^...
Benjamin's user avatar
  • 233
6 votes
1 answer
794 views

\mathbb{Z} is not working properly for \not?

I am using pdflatex on Ubuntu 20.04.2. I wrote the following latex code. \documentclass{article} \usepackage{amssymb,breqn} \newcommand{\bZ}{{\mathbb Z}} \newcommand{\lhdZl}{\lhd_{\bZ^{l}}} \begin{...
veo's user avatar
  • 175
4 votes
1 answer
19k views

Indicator function sign [duplicate]

Whenever I need the indicator function I use (for example) the following syntax \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \Huge The indicator function : $$ \...
Hamdiken's user avatar
  • 143
12 votes
1 answer
2k views

How can I use usepackage only in `\mathbb`?

I want to use these mathematical sets that are shown in the picture: I used the following: \usepackage{pxfonts}, but then the whole context changed. I want the original LaTeX font, but when I use the ...
Máté Szalai's user avatar
5 votes
2 answers
737 views

How can I successfully compile $\mathbb{5}$?

I am a regular Overleaf user. I wanted to compile $\mathbb{5}$. I can do it for $\mathbb{1}$(Or like $\mathbb{1}$). I have read this. I have used this set of packages alongside the other necessary ...
Ralph Clausen's user avatar
1 vote
2 answers
346 views

Use only the mathbb font from TeX Gyre Pagella Math

I am working with LuaLaTeX on Debian stable, with texlive-full in the version 2018.20190227-2. My main goal is to use the Palatino derivates. For pure text, this can easily be achieved by \setmainfont{...
FKranhold's user avatar
  • 401
5 votes
4 answers
1k views

Blackboard bold greek letters

I have the need to use greek blackboard bold letters and for this reason I checked this question and solved the package superposition problem thanks to the answer on this other question. The problem ...
Rob Tan's user avatar
  • 263
6 votes
2 answers
5k views

Problem with \mathbb and superscript number

I wrote \mathbb{R^2} in the editor, however what gets printed in the pdf is the turnstile symbol in the exponent instead of 2. I have the following packages: \documentclass[10pt,a4paper]{article} \...
Asinus's user avatar
  • 245
4 votes
2 answers
2k views

Mathbb in txfonts

I used txfonts but I don't like it when I use it with mathbb. I like it more when I use Computer Modern instead. And I want to change it to something like Computer Modern. How can I do it?
Alejandra Benítez's user avatar
0 votes
0 answers
24 views

Why I get an error as missing $, or missing {, or undefined environment, when I want to align the equations while using \mathbb? [duplicate]

\begin{equation*} \begin{split} \mathbb{E}[X_t] & =\mathbb{E}[\alpha \circ X_{t-1} + \epsilon_t] \\ &=\mathbb{E}[\sum_{j=1}^{X_{t-1}}{Y_j + \epsilon_t}] \\ &=\sum_{n=0}...
destani's user avatar
  • 21
1 vote
1 answer
733 views

Technical problem between fourier/fouriernc and mathalpha packages

I am trying to use the fourier/fouriernc math packages in LaTeX all while defining the \mathbb, \mathcal, \mathscr and \mathfrak commands at will. I have tried doing this with the mathalpha package, ...
user avatar
3 votes
0 answers
2k views

Problem with \mathbb

Here is the Latex: % !TeX spellcheck = en_US \documentclass[11 pt]{extarticle} \usepackage{fouriernc} % Use this \usepackage[T1]{fontenc} \usepackage{ amsthm, amssymb,latexsym,amsfonts} \...
Rustam Mamin's user avatar
0 votes
1 answer
369 views

Optional argument in \newcommand with subscript and superscript

I want to define a macro with an optional argument that will work with superscript and subscript in math mode. e.g. \binaryB{\alpha} will result into \mathbb{B}^{\alpha}() and \binaryB will result ...
OptimusPrime's user avatar
4 votes
2 answers
731 views

How to use blackboard bold numbers with the Palatino (mathpazo) font?

Consider the following MWE: \documentclass{article} \usepackage[sc]{mathpazo} \usepackage{bbold} \begin{document} Hello world $\mathbb{012345}$ \end{document} This gives me While removing ...
glS's user avatar
  • 546
1 vote
1 answer
272 views

First use of mathbbm prints out unreadable

When applying \mathbbm to a letter for the first time in a document and then producing a PDF, the letter appears correct on the screen but is shaded away and almost unreadable on a printout from a ...
Mikolaj's user avatar
  • 11
2 votes
2 answers
246 views

Blackboard bold, once again

I'm looking for a way to produce a blackboard bold version of numbers - not just 1 or 2, all of them. I've tried bbm: \documentclass{report} \usepackage{bbm} \begin{document} $\mathbbm{1}$\\ ...
j4nd3r53n's user avatar
  • 509
2 votes
2 answers
1k views

czech language with mathrm and mathbb fonts

How do I use fonts \mathrm and \mathbb with czech letters č,ě,š,ř,ž,ý,á,í....? Command Line: bibtex.exe "ideje" [12] [13] [14] [15] [16] [17] Package amsfonts Warning: Obsolete command \frak; \...
user2925716's user avatar
  • 1,940
2 votes
3 answers
855 views

How to redefine \mathbb so that it has the same effect as \mathds?

How I could to redefine \mathbb so that it has the same effect as \mathds? I've been trying to use command line \renewcommand{\mathbb}[1]{\mathds{#1}, but this one has not had any effect. Here's my ...
lucenalex's user avatar
  • 319
0 votes
1 answer
82 views

WinEdt/miktex printing wrong alphabet

Suddenly today when I type \mathcal{k}, for example, in WinEdt and compile to MikTex, I get output: ∥. I get similar strange characters for \mathcal{},\mathbb{},\mathds{} with any English character ...
Stuart Margolis's user avatar
6 votes
1 answer
3k views

Looking for a specific lowercase mathbb font

I am trying to reproduce this lowercase k with some mathbb font I have tried using the bbm font, bbold font and mathds without success. I either get that is not what I am looking for. I was able ...
C. Zhihao's user avatar
  • 265
3 votes
1 answer
194 views

$\mathbb{Z}$ as argument of hyperlink fails

$\mathbb{Z}$ (from amsfonts) causes an error as first argument in \hyperlink{}{}, but not as second argument: \documentclass{book} \usepackage{amsfonts} \usepackage[hyperindex]{hyperref} \hypersetup{...
jvd's user avatar
  • 181
0 votes
1 answer
2k views

Exponents to math symbols with mathbb

I am using the amsfont package where I can use mathbb to format for instance the symbol for real numbers as follows $\mathbb{R}$ I want however to include exponents, though my approach so far looks ...
Pugl's user avatar
  • 245
2 votes
1 answer
988 views

Composition of \mathbb and \mathcal

Is there any method to compose \mathbb and \mathcal, that is, to obtain a blackboard version of the caligraphic style? Something like: but maybe not so ugly!
Littlefield's user avatar
1 vote
1 answer
2k views

Variation of Computer Modern font in IEEEtran document class [closed]

This is really a mystery for me -- how to make up the following equations, which are very common in IEEEtran: Another example: They look quite similar to the standard CM font in latex, but not ...
Zubat's user avatar
  • 11
1 vote
0 answers
337 views

help me point out errors [closed]

This is my entire latex program: \documentclass[12pt,a4paper]{report} \usepackage[T1]{fontenc}%------------------------------------->% permet d'écrire directement avec les absents \usepackage[...
Bob James Bogny's user avatar
2 votes
1 answer
711 views

\mathbb plot label in PyX

I am making plot in PyX. To get (in LaTex language) \mathrm{a} you use \rm{a} (in PyX language). I wanna get (in LaTex language) \mathbb{a}. How to do it in PyX language? Attempt of \bb{a} ...
Nigel1's user avatar
  • 189
6 votes
3 answers
3k views

Blackboard Bold i

Although it is not standard notation, I quite like the fact that in Mathematica, a blackboard bold i is used to represent the imaginary unit. Apart from making it stick out, it allows me to write ...
Luke Collins's user avatar
  • 1,920
1 vote
1 answer
2k views

\mathbb gives strange results when using numbers [duplicate]

LaTeX command \mathbb gives strange results when using numbers. For example, \mathbb{1} prints an unintended symbol. There was a previous question on this topic whose solution involved using the \...
Antonio's user avatar
  • 21
1 vote
1 answer
774 views

problems with $\mathbb{1}$ in pandoc

I use pandoc, pandoc in.tex --latex-engine=xelatex -o out.pdf, and want characters like "𝟙𝟚𝟛ℝ" to be produced from \documentclass{article} \usepackage[utopia]{mathdesign} \let\mathbb\undefined % ...
Vlad Patryshev's user avatar
2 votes
2 answers
3k views

Use Latex math fonts outside of Latex?

In Linux, I use a drawing software called Inkscape to draw some math illustrations. I want to be able to use the same Latex math fonts in the drawings, in particular the \mathbb and \mathcal fonts, ...
Yan King Yin's user avatar
  • 1,743