Inline chess symbols

Scale the big sizes (to take on the vertical footprint of "Xg").

\documentclass{article}
\usepackage{skak,scalerel}
\begin{document}
\scalerel*{\WhiteKingOnWhite}{Xg} and \scalerel*{\BlackKingOnWhite}{Xg}
\end{document}

enter image description here


I know only of one font prepared for pdflatex which provides black figurines, Berlin. But it is not in texlive (due to licence reasons) only on ctan (in the enpassant package) and in miktex.

You can change the size of the board font with \setboardfontsize:

\documentclass{article}
\usepackage{chessfss}
\begin{document}
{\setfigfontfamily{berlin}
 \figfont KQRBNP \fontshape{bl}\selectfont KQRBNP}

\bigskip

\BlackKingOnWhite \setboardfontsize{10pt} \BlackKingOnWhite

\end{document}

enter image description here

As an alternative you could create pictures of the various figurines (e.g. by using lualatex, standalone and one of the open type fonts which has the symbols), and then use them with a faked font encoding:

\documentclass{article}
\usepackage{chessfss,graphicx}

\makeatletter 
\DeclareFontEncoding{LSFI}{}{}
\DeclareFontFamily{LSFI}{skaknew}{}
\DeclareFontSubstitution{LSFI}{skaknew}{m}{n}
\DeclareFontShape{LSFI}{skaknew}{m}{n}{<-> SkakNew-Figurine}{}

\DeclareTextCommand\cfss@symrook  {LSFI}{\includegraphics[height=1em,page=1]{example-image-duck}}{}
\DeclareTextCommand\cfss@symknight {LSFI}{\includegraphics[height=1em,page=2]{example-image-duck}}
\DeclareTextCommand\cfss@symbishop {LSFI}{\includegraphics[height=1em,page=3]{example-image-duck}}
\DeclareTextCommand\cfss@symqueen  {LSFI}{\includegraphics[height=1em,page=4]{example-image-duck}}
\DeclareTextCommand\cfss@symking   {LSFI}{\includegraphics[height=1em,page=5]{example-image-duck}}
\DeclareTextCommand\cfss@sympawn   {LSFI}{\includegraphics[height=1em,page=6]{example-image-duck}}

\newcommand\LSFIchess{\def\cfss@figfontencoding{LSFI}}

\makeatother

\usepackage[T1]{fontenc}
\begin{document}
{\LSFIchess\symking\symqueen\symrook\symbishop\symknight\sympawn}

\symqueen \symking\symqueen\symrook\symbishop\symknight\sympawn

\LARGE

{\LSFIchess\symking\symqueen\symrook\symbishop\symknight\sympawn}

\symqueen \symking\symqueen\symrook\symbishop\symknight\sympawn

\end{document}

enter image description here


I'm not sure if this answer your question, but using XeTeX or LuaTeX including chess symbols (range U+2654-U+265F) is as easy as copy-pasting them. Obviously you'll need a font with proper support (I chose DejaVu Sans):

\documentclass{standalone}
\usepackage{fontspec}
\newfontfamily{\chessfont}{DejaVu Sans}
\begin{document}
{%
\chessfont%
\char"265A %♚
\char"265B %♛
\char"265C %♜
\char"265D %♝
\char"265E %♞
\char"265F %♟︎
}
\end{document}

enter image description here