How can I write a zeroenter image description here? I want this zero that have two bar inside its. Can I help me?


2 Answers 2


The zero of your screenshot.



enter image description here

  • thanks for answering. these codes work in article document but dont work for beamer doucument. How can I solve this problem? Commented Jan 29, 2023 at 9:13
  • @ToubaParsa You use \documentclass{beamer}.
    – Sebastiano
    Commented Jan 29, 2023 at 10:23

An alternative to overriding \mathbb with the boondox font that would also change the shape of blackboard bold capitals, might be using the STIX fonts (importing only the required glyph).

From the documentation of stix2 we see that blackboard bold is in stix-mathbb. We can go backwards and look for \mathbb in stix2.sty to see

\DeclareSymbolFontAlphabet{\mathbb}  {symbols3}

Then, looking for symbols3,

\DeclareSymbolFont{symbols3}      {LS1}{stix2bb}   {m} {n}

Good, we can even avoid defining new font encodings by looking in ls1stix2bb.fd and the relevant lines are

\DeclareFontFamily{LS1}{stix2bb}{\skewchar\font127 }
\DeclareFontShape{LS1}{stix2bb}{m}{n} {<-> stix2-mathbb}{}

Here's the complete code:


\DeclareFontShape{U}{stix2bb}{m}{n} {<-> stix2-mathbb}{}





enter image description here

Not the answer you're looking for? Browse other questions tagged .