I am trying to use roboto font documentwise. while the roman fonts are working fine, greek fonts are giving problem.
\documentclass[12pt]{beamer}
\usepackage[sfdefault]{roboto}
\usepackage{amsmath}
%\usepackage{mathspec}
%\setmathsfont(Greek)[Lowercase=Regular,Scale=0.76]{roboto}
\begin{document}
$\gamma = G$
\end{document}
**UPDATE 1 ** Henri's solution is giving me error(using xelatex):
kpathsea: Running mktexmf Roboto
! I can't find file `Roboto'.
<*> ...:=ljfour; mag:=1; nonstopmode; input Roboto
Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input Roboto
Transcript written on mfput.log.
grep: Roboto.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Roboto' failed to make Roboto.tfm.
kpathsea: Appending font creation commands to missfont.log.
While using together with fontspec
, I am getting a clash of packages
Best Answer
Just use
mathspec
.