Questions tagged [mathbb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
42 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} \...
0 votes
0 answers
33 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 ...
1 vote
1 answer
51 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} ...
  • 1,509
0 votes
0 answers
139 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 ...
  • 330
1 vote
1 answer
102 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 ...
  • 330
3 votes
3 answers
580 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 ...
1 vote
4 answers
148 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 ...
  • 143
1 vote
0 answers
103 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 ...
1 vote
2 answers
184 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 ...
2 votes
0 answers
269 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^...
  • 233
6 votes
1 answer
516 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{...
  • 163
4 votes
1 answer
11k 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 : $$ \...
  • 143
12 votes
1 answer
1k 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 ...
5 votes
2 answers
609 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 ...
0 votes
2 answers
201 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{...
  • 369
5 votes
4 answers
875 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 ...
  • 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} \...
  • 245
3 votes
2 answers
960 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?
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}...
  • 21
1 vote
1 answer
491 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
1k 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} \...
0 votes
1 answer
226 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 ...
4 votes
2 answers
537 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 ...
  • 556
1 vote
1 answer
224 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 ...
  • 11
2 votes
2 answers
200 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}$\\ ...
  • 477
1 vote
2 answers
914 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; \...
  • 1,812
2 votes
3 answers
653 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 ...
  • 297
0 votes
1 answer
78 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 ...
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 ...
  • 265
3 votes
1 answer
180 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{...
  • 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 ...
  • 245
2 votes
1 answer
925 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!
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 ...
  • 11
1 vote
0 answers
323 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[...
2 votes
1 answer
666 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} ...
  • 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 ...
  • 1,870
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 \...
  • 21
1 vote
1 answer
625 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 % ...
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, ...
  • 1,653