2

Here's my input:

\documentclass{article}
\DeclareFontEncoding{LMP2}{}{}
\DeclareFontSubstitution{LMP2}{mtt}{m}{n}
\DeclareFontFamily{LMP2}{mtt}{\skewchar\font48}
\DeclareFontShape{LMP2}{mtt}{m}{n}{<-7> mt2syf <7-9> mt2sys <9-> mt2syt}{}

\DeclareSymbolFont{Test}     {LMP2}{mtt}{m}{n}
\DeclareMathSymbol{\hslash}{\mathord}{Test}{175}

\begin{document}
Words $\hslash$ words.
\end{document}
jeecabz
  • 1,448

1 Answers1

1

Since the "lite" subset of the mtpro2 (MathTime Professional II) font package may be downloaded free of charge, I suggest you rewrite your example code as follows:

\documentclass{article}
\usepackage{times} % or: \usepackage{newtxtext} %% Times Roman text font
\usepackage[lite]{mtpro2}

\begin{document}
Words $\hslash$ words.
\end{document}

enter image description here

Or, instead of loading the times and mtpro2 packages, load the newtxtext and newtxmath packages.

Mico
  • 506,678