I need to enter the 🅱 sign in LaTeX for a paper I'm writing. I tried compiling my paper using XeLaTeX, but it just ignores 🅱. Is there perhaps a way to enter the 🅱's Unicode code point itself into LaTeX that I'm missing?

  • 2
    Does your font have this character? If not, you'll need to either create one yourself (with Tikz?) or find a font that has it.
    – Alan Munn
    Commented Mar 18, 2018 at 20:56
  • 2
    That font does not contain all of unicode, so you'll have to start by finding a font that provides this character
    – daleif
    Commented Mar 18, 2018 at 21:08
  • 8
    Just for the record, this is U+1F171: NEGATIVE SQUARED LATIN CAPITAL LETTER B. Commented Mar 18, 2018 at 22:40
  • 13
    🅱est of luck to you!
    – qwr
    Commented Mar 19, 2018 at 2:26
  • 9
    Does your paper happen to be about 🅱oneless 🅱izza?
    – MCMastery
    Commented Mar 19, 2018 at 3:10

4 Answers 4


The Apple Color Emoji font that contains this particular character doesn't encode its glyphs as regular characters and can't be used. See Emoji Characters. There seem to be very few fonts which contain these glyphs (the Enclosed Alphanumeric Supplement in Unicode).

On my machine (a Mac), only one font contains them: the Hiragino fonts. Here's an example that works for me (compile with LuaLaTeX, not XeLaTeX, which didn't work for me.)

\newfontfamily\Hiragino{Hiragino Sans}[Color=red]

{\Huge\Hiragino 🅱}

output of code

  • 1
    Yeah, I think it just amounts to finding a font on your computer that has 🅱. On my computer (running Ubuntu), the font "Symbola" worked for me.
    – Brian Lee
    Commented Mar 18, 2018 at 21:23
  • @BrianLee I'm glad you got it working.
    – Alan Munn
    Commented Mar 18, 2018 at 21:24
  • @AlanMunn Kind and excellent user but the color of B symbol change always? Before It war brown, after red and now magenta.
    – Sebastiano
    Commented Mar 19, 2018 at 9:59

This 🅱 sign in LaTeX it can work also without XeLaTeX. It is an alternative.

enter image description here

\node [fill=magenta, draw=magenta, rounded corners,minimum height = 12pt, minimum width = 12pt, inner sep = 1] at (10pt,10pt) {\textcolor{white}{\textbf B}};
We have \Boo{} a new symbol.


Maybe too classic, but ...

{{\fboxsep1pt\colorbox{black}{\color{white}\sffamily\bfseries B}}}
{{\fboxsep1pt\colorbox{black}{\color{white}\sffamily\bfseries A}}}


🅱l🅰ck and white


Another option with tcbox



\newtcbox{\mychar}[1][]{nobeforeafter, tcbox raise base, colback=red, colframe=black, sharp corners, colupper=white, size=fbox, #1}


How to write \mychar{B} or any other char (\mychar{A}, \mychar[colback=blue!70!black]{Z}, \mychar{!}, \mychar{\dots}) in \LaTeX


enter image description here

You must log in to answer this question.

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