chat
2011-11-11 05:49:02 UTC
Hi all,
I am using Xelatex. My problem is that when I include the command
\setmainfont[Scale=1.23]{TH Sarabun New}
(TH Sarabun New is my native language font) the font used to display
\sin function is different from not including the command
\setmainfont. How to prevent changing font used to display \sin
function
in math mode if I include the command \setmainfont? (As I understand,
\setmainfont should not effect font used in math mode). Here is the
minimal latex code.
\documentclass[a4paper, 12pt]{article}
\usepackage{amssymb,amsmath,amsthm,amsfonts}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Scale=1.0, Mapping=tex-text}
\XeTeXlinebreaklocale "th_TH"
\setmainfont[Scale=1.23]{TH Sarabun New}
\begin{document}
\[
\sin x
\]
\end{document}
Thank you very much for any helps.
Chat
I am using Xelatex. My problem is that when I include the command
\setmainfont[Scale=1.23]{TH Sarabun New}
(TH Sarabun New is my native language font) the font used to display
\sin function is different from not including the command
\setmainfont. How to prevent changing font used to display \sin
function
in math mode if I include the command \setmainfont? (As I understand,
\setmainfont should not effect font used in math mode). Here is the
minimal latex code.
\documentclass[a4paper, 12pt]{article}
\usepackage{amssymb,amsmath,amsthm,amsfonts}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Scale=1.0, Mapping=tex-text}
\XeTeXlinebreaklocale "th_TH"
\setmainfont[Scale=1.23]{TH Sarabun New}
\begin{document}
\[
\sin x
\]
\end{document}
Thank you very much for any helps.
Chat