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

Questions tagged [mathbb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 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 ...
user avatar
1 vote
2 answers
110 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 ...
user avatar
2 votes
0 answers
34 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^...
user avatar
  • 233
6 votes
1 answer
191 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{...
user avatar
  • 163
2 votes
1 answer
5k 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 : $$ \...
user avatar
  • 121
12 votes
1 answer
640 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 ...
user avatar
5 votes
2 answers
551 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 ...
user avatar
0 votes
2 answers
141 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{...
user avatar
  • 369
5 votes
4 answers
620 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 ...
user avatar
  • 231
3 votes
0 answers
329 views

Who can write a package for the new mathbb font as in the picture and compatible with Computer Modern font?

As @barbara beeton noted here, the mathbb of AMS and the other blackboard fonts right now are not compatible with Computer Modern (CM) font family default in LaTex. So it may be necessary to create a ...
user avatar
  • 2,791
6 votes
2 answers
4k 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} \...
user avatar
  • 245
3 votes
2 answers
496 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?
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}...
user avatar
  • 21
1 vote
1 answer
337 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
634 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} \...
user avatar
0 votes
1 answer
173 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 ...
user avatar
4 votes
2 answers
415 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 ...
user avatar
  • 546
1 vote
1 answer
150 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 ...
user avatar
  • 11
2 votes
2 answers
164 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}$\\ ...
user avatar
  • 477
1 vote
2 answers
710 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; \...
user avatar
  • 1,838
2 votes
3 answers
525 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 ...
user avatar
  • 177
0 votes
1 answer
66 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 ...
user avatar
6 votes
1 answer
2k 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 ...
user avatar
  • 265
3 votes
1 answer
165 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{...
user avatar
  • 171
0 votes
1 answer
1k 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 ...
user avatar
  • 245
2 votes
1 answer
801 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!
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11
1 vote
0 answers
302 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[...
user avatar
2 votes
1 answer
600 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} ...
user avatar
  • 167
6 votes
3 answers
2k 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 ...
user avatar
  • 1,800
1 vote
1 answer
1k 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 \...
user avatar
  • 21
1 vote
1 answer
534 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 % ...
user avatar
2 votes
2 answers
2k 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, ...
user avatar
  • 1,581