CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/panda

README.md

panda

License GitHub tag CTAN

A package to estimate the blackness of fonts

One challenge when drawing icons or symbols can be to make them blend in with the surrounding text. If their line widths look good with one font, they can stand out like a sore thumb with another font. The panda package provides tools to automatically adjust line widths etc. to fit in with the surrounding font.

This project is licensed under the Project Public License v1.3c or later, see https://www.latex-project.org/lppl.txt .

The project repository, including a bug tracker, can be found at https://github.com/samcarter/panda .

Usage CleverPanda

\documentclass[varwidth,border=1pt]{standalone}

\usepackage{CleverPanda}

\newcommand{\bamboo}{%
  \rule{\CleverPanda{}}{\fontcharht\font`I}
}

\begin{document}

normal cmr: \bamboo

\bfseries
bold cmr: \bamboo

\normalfont
\fontfamily{cmbr}\selectfont
normal cmbr: \bamboo

\bfseries
bold cmbr: \bamboo

\end{document}

Usage BusyPanda

\documentclass[varwidth,border=1pt]{standalone}

\usepackage{BusyPanda}

\newcommand{\bamboo}{%
  \rule{\BusyPanda{0.125}\fontcharht\font`I}{\fontcharht\font`I}
}

\begin{document}

normal cmr: \bamboo

\bfseries
bold cmr: \bamboo

\normalfont
\fontfamily{cmbr}\selectfont
normal cmbr: \bamboo

\bfseries
bold cmbr: \bamboo

\end{document}

For more details, please consult the package documentation.

Download the contents of this package in one zip archive (2.7M).

panda – A package to estimate the blackness of fonts

One challenge when drawing icons or symbols can be to make them blend in with the surrounding text. If their line widths look good with one font, they can stand out like a sore thumb with another font. The panda package provides tools to automatically adjust line widths etc. to fit in with the surrounding font.

Packagepanda
Home pagehttps://github.com/samcarter/panda
Supporthttps://github.com/samcarter/panda/issues
Bug trackerhttps://github.com/samcarter/panda/issues
Repositoryhttps://github.com/samcarter/panda
Version0.2 2025-10-09
LicensesThe Project Public License 1.3c
Maintainersamcarter
Contained inTeX Live as panda
TopicsFont support
Font supp symbol
...
Guest Book Sitemap Contact Contact Author