One more question, this problem also occur when I use beamer. That is
math font change when I use \setmainfont command.
The method above (\usepackage[no-math]{fontspec} ) can not solve this
problem. Here is the code
\documentclass[xelatex,serif]{beamer}
\usepackage{amssymb,amsmath,amsthm,amsfonts}
\usepackage[no-math]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Scale=1.0, Mapping=tex-text}
\XeTeXlinebreaklocale "th_TH"
\setmainfont[Scale=1.23]{TH Sarabun New}
\begin{document}
\begin{frame}
\[
\sin x
\]
\end{frame}
\end{document}
How to solve this problem when using beamer class?
Thank you in advance.
Chat