<span style="font-family: courier new,monospace;">Hmm, I have tried a short xe.tex file</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">===</span><br style="font-family: courier new,monospace;">
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\documentclass{article}</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\usepackage[math]{mathspec}</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\newfontfamily\mymono{DejaVu Sans Mono}</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\newfontfamily\mymathmono{DejaVu Sans Mono}</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\begin{document}</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">{\mymono this is with mono} changed {\mymathmono $E=mc^2$} back as normal</p>
<p style="margin: 0px; text-indent: 0px; font-family: courier new,monospace;">\end{document}</p><span style="font-family: courier new,monospace;">===</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">for which xe.pdf is created</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Using: </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">pdffonts -f 1 xe.pdf</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">name type emb sub uni object ID</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">------------------------------------ ----------------- --- --- --- ---------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">MQBWCL+DejaVuSansMono CID TrueType yes yes yes 5 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">AEDUWP+LMRoman10-Regular-Identity-H CID Type 0C yes yes yes 7 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">FETFUV+CMMI10 Type 1C yes yes no 8 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ZYNKTW+CMR10 Type 1C yes yes no 9 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">LKHLTI+CMR7 Type 1C yes yes no 10 0</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">which really shows what fonts are used. As far as I understood well, words "changed", "back as normal" are set with LMRoman10-Regular-Identity-H (Latin Modern as you wrote). \mymono changed "this is with mono" to DejaVu Sans Mono.</span><br>
<span style="font-family: courier new,monospace;">But what font is used for "$E=mc^2$"? Is it CMMI10,CMR10 and CMR7? Where can I get more info about these fonts? </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Why isn't the the equation written in DejaVu Sans Mono as defined with \mymathmono?</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Kind regards,</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Peter</span><br>
<br><div class="gmail_quote">On 29 September 2011 16:37, Peter Dyballa <span dir="ltr"><<a href="mailto:Peter_Dyballa@web.de">Peter_Dyballa@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Am 29.09.2011 um 12:34 schrieb peter knezel:<br>
<div class="im"><br>
> what is the default font setting for text and for math in xelatex?<br>
<br>
</div>For text it's Latin Modern.<br>
<br>
You can check the fonts used with the pdffonts utility (from xpdf package). With given \pagestyle{empty} you can exactly determine which fonts are used for which kind of text or which kind of mathematical expression. Since XeTeX can use TFM files I am pretty sure that it simply uses the usual Computer Modern fonts.<br>
<br>
--<br>
Greetings<br>
<br>
Pete<br>
<br>
A morning without coffee is like something without something else.<br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br>