LaTeX Package for a Nice PANDA with Bar on P

In my \(\LaTeX\) documents, I wanted to have nicely set PANDA names with the bar on top of the P.

Not so simple, though. I found the \overline to be too large, but the \bar to be too short. So I took to the great community that is StackExchange to find a solution. And, sure enough, someone was able to help me.
Based on egreg’s code, I assembled a proper LaTeX package1, making it more convenient for others to use as well.

Today, I gave the package a small Github repository.
→ github.com/AndiH/PandaNameLatex


  1. With options and stuff!