Information obtained from the Stackexchange
Translated as follows
You can use FONTSPEC this macro package
to define a new form such as: \newfamily\cmd[font Features]{font name Here is the PostScript name}, wait until the call to use the \cmd{text} can, Can also be shaped like {\cmd text}
An example
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\unicodefont{ Lucida Grande}
% redefine Lucida Grande font name is the
PostScript name corresponding to Unicodefont%\newcjkfontfamily\unicodefont{Chinese font.
\usepackage{mathpazo}
\usepackage[t1]{fontenc}
\begin{document}
A legacy \tex\ font. {\unicodefont A Unicode font.}
% here call Unicodefont to implement
\end{document}
above all is achieved in English, if want to implement in Chinese
only need to change to \newcjkfontfamily\unicodefont{ The PostScript name corresponding to the Chinese font can be}
If you want to achieve the above mentioned environmental methods, the following
\newenvironment{cmd}{\fontfamily{lucida Grande}\selectfont}
\begin{cmd}
Hello World!!!
\end{cmd}