[Tex/LaTex] Find out the number of a symbol to access it

symbols

In http://www.logicmatters.net/latex-for-logicians/symbols/ I read that \boxright from txfonts or pxfonts can by used together with other fonts by doing the following:

\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}

There is another symbol in txfonts and pxfonts that I'd like to use. How can I get its number so that I can use a similar \DeclareMathSymbol to access it? The symbol I'm after in txfonts and pxfonts is \Diamondright:

\Diamondright

Best Answer

You could use the fonttable package:

\documentclass{article}
\usepackage{fonttable}
\begin{document}
\fonttable{txsyc}
\end{document}

There you can see it's 132.

font table