I'm using the mathastext package to make math contents consist with the text. The package offers a \MTgreekfont command to change the font of greek letters. Current I use the lmtt font but its size does not match that of Courier, thus I would like to switch to the one native to Courier. However I cannot find the internal name of Courier (like lmtt for Latin Modern), \MTgreekfont{courier} does not work. How can I find this internal name? Or, is there a way to change the scale of current greek letters?
Moreover, what if I use Menlo font with xelatex? The font itself apparently offers greek letters, How could I use them with mathastext?
Below is a MWE.
%! TEX program = xelatex
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{courierten}% Courier
% \usepackage[no-math]{fontspec}% These two lines require xelatex
% \setmonofont[Mapping=tex-text]{Menlo}% Menlo
\renewcommand{\familydefault}{\ttdefault}
\usepackage[italic,LGRgreek]{mathastext}
\MTgreekfont{lmtt} % What should I put here respectively, for Courier and Menlo?
\Mathastext
\begin{document}
\noindent Text\\
$\alpha\beta\gamma\epsilon$
\end{document}




CourierOneZeroPitch-TLF– David Carlisle Jan 30 '21 at 14:32LaTeX Font Warning: Font shape 'LGR/CourierOneZeroPitch-TLF/m/it' undefined– David Carlisle Jan 30 '21 at 14:34couriertenfor pdflatex, but in practice I use\setmonofont[Mapping=tex-text]{Courier}with xelatex, which I think contains Greek letters. – Jinwen Jan 30 '21 at 14:38courier10) has 256 accented latin script characters and no Greek. It would be possible to subset the original font again to make a subset matching the Greek LGR pdftex encoding but that hasn't been done so far. – David Carlisle Jan 30 '21 at 14:43