1

I was trying to use the hash symbol (#) from boisik font family on pdfLaTex (In Overleaf). That is, I want to use \hash instead of \# in my document. But the problem is that if I use \usepackage(boisik), the font in my whole document is getting changed.

I saw different answers to this kind of problems, but all those answers are probably meant for some other font families, e.g. mathabx,fourier etc., but I am unable to implement what those answers say.

Can anyone please help ? Thanks in advance.

2

1 Answer 1

2

You don't really want that, because the Boisik fonts are only available in bitmap format.

\documentclass{article}

\DeclareRobustCommand{\hash}{{\fontfamily{bsk}\selectfont\#}}

\begin{document}

The normal \# and the Boisik one \hash

\end{document}

enter image description here

A magnified version:

enter image description here

You could obviate the problem by choosing very high resolution:

\pdfpkmode{dpdfezzz}
\pdfpkresolution=8000

\documentclass{article}

\DeclareRobustCommand{\hash}{{\fontfamily{bsk}\selectfont\#}}

\begin{document}

The normal \# and the Boisik one \hash

\end{document}

enter image description here

1
  • Thank you. It helped.
    – JRC
    May 18, 2020 at 16:09

You must log in to answer this question.

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