Skip to main content
added 604 characters in body
Source Link
David Carlisle
  • 828.7k
  • 74
  • 1.7k
  • 2.6k

* obtains a special mathcode inside the AMS math operator setup, but here you want the standard star which is still available as \ast :

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslima a \quad \wslimb a\] \end{document} 

Note the reason for the redefinition is to make it possible to just use w* which is the intended markup here although as you note it does not produce the same symbol (or use the same font) as a normal math ^*.

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslim}{w*-lim} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslim a \quad \wslima a \quad \wslimb a\] \end{document} 

* obtains a special mathcode inside the AMS math operator setup, but here you want the standard star which is still available as \ast :

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslima a \quad \wslimb a\] \end{document} 

* obtains a special mathcode inside the AMS math operator setup, but here you want the standard star which is still available as \ast :

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslima a \quad \wslimb a\] \end{document} 

Note the reason for the redefinition is to make it possible to just use w* which is the intended markup here although as you note it does not produce the same symbol (or use the same font) as a normal math ^*.

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslim}{w*-lim} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslim a \quad \wslima a \quad \wslimb a\] \end{document} 
Source Link
David Carlisle
  • 828.7k
  • 74
  • 1.7k
  • 2.6k

* obtains a special mathcode inside the AMS math operator setup, but here you want the standard star which is still available as \ast :

enter image description here

\documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\wslima}{w^{*}-lim} \DeclareMathOperator*{\wslimb}{w^{\ast}-lim} \begin{document} \[\wslima a \quad \wslimb a\] \end{document}