I am using the Baskervald font with KP fonts for the maths font. It is very nice, but it needs some manual fine-tuning.
For example, the \star
command gives an (oversized) italic star, which should not happen. I figured I just redefine \star
as
\renewcommand{\star}{\scalebox{.5}{\bigstar}}
but this doesn't seem to work (\star
is used in display mode).
What is the correct command to resize a particular command in math mode?
Minimal example:
\documentclass{article}
\usepackage{amssymb,amsmath}
\usepackage{kpfonts,baskervald}
\begin{document}
\begin{align*}
f\star g=fg+\hbar\{f,g\}\\
f\bigstar g=fg+\hbar\{f,g\}
\end{align*}
\end{document}
\star
is slanted, but \bigstar
is not.
\documentclass
. For example, I do not get a big italic star with\star
and\usepackage{baskervald}
. So perhaps it is other packages you have loaded that are interacting with your font. It is why a complete MWE is usually needed.