\documentclass{article} \usepackage{amsmath,amsthm} \usepackage{unicode-math}
\DeclareMathAlphabet{\CMcal}{OMS}{cmsy}{m}{n} \SetMathAlphabet{\CMcal}{bold}{OMS}{cmsy}{b}{n} \DeclareMathAlphabet{\CMbfcal}{OMS}{cmsy}{b}{n}
\setmainfont{TeX Gyre Pagella} \setmathfont{XITS Math}
\setmathfont[range=\symscr]{Euler-Math.otf} \setmathfont{NewCMMath-Book.otf}[range={cal, bfcal}] \setmathfont{texgyrepagella-math.otf}[range=]
\newcommand{\pot}{\ensuremath \raisebox{1.07pt}{$\male$}} \newcommand{\pow}{\CMcal{P}}
\usepackage{fontawesome} %\usepackage{fontspec} \usepackage{hyperref} \begin{document}
I can write special fonts as $\male$ and $\pow$, combined with arguments, and special mathematical fonts under Unicode, Fontspec and so Lualatex as here. But how may one write letters from, e.g., the Cyrillic alphabet, and, presumably by extension, other Unicode Blocks, while using such a preamble as above?
\end{document}
{}
"button" in the ribbon above the edit window.\newcommand{\pot}{\ensuremath \raisebox{1.07pt}{$\male$}}
with\newcommand{\pot}{\vcenter{\hbox{$\male$}}}
. By the way, theunicode-math
package loads thefontspec
package automatically\ensuremath
in\newcommand{\pot}{\ensuremath \raisebox{1.07pt}{$\male$}}
will stop it working outside math mode as you witll get$\raisebox${1.07pt}{$\male$}}
\end{document}
from your edit...)