In my research I'm using results of the paper Vinogradov A. M., - The logic algebra for the theory of linear differential operators, - Soviet Math. Dokl., 13 (1972), 1058-1062. The paper uses the character looking like Д (Unicode hex U+0414) to refer to a specific operator:
What I want is to write something like
\newcommand\DD{\unicodesymbol{U+0414}}
(which obviously doesn't work) and use \DD
to refer to this symbol in math mode.
I've also found, that
\usepackage[OT2, T1]{fontenc}
\usepackage[russian, english]{babel}
\newcommand\DD{ {\operatorname{\textrm{\foreignlanguage{russian}{D}}}} }
seems to work, but I'm not sure, if this is a good way to define this symbol (e.g. if it doesn't break anything).
So, what is the best way to do that?
P.S. I tried to use Detexify, as suggested here, and didn't find anything like Д. I also looked at Comprehensive LaTeX symbols and AMS LaTeX Short Math Guide, and the most close equivalend I've found is \symrook
from skak
package, which is still different.
Update: as was suggested in a comment below by Gonzalo Medina I now use
\usepackage{amsmath}
\usepackage[OT2, T1]{fontenc}
\usepackage[russian, english]{babel}
\DeclareMathOperator\DD{\textrm{\foreignlanguage{russian}{D}}}
\cyrd
command?\DeclareMathOperator
fromamsmath
(the starred version if "limits" are required). In the preamble:\usepackage{amsmath} \DeclareMathOperator*{\DD}{\textrm{\foreignlanguage{russian}{D}}}