<div dir="ltr"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre>Is it possible to enter short insertions of the foreign text while<br>preserving formatting?<br>
<br>For example, if I need<br><br>{\em Italic English text ... \textlatin{Italic in Latin language} ... more<br>italic English text}<br><br>will not work as expected, so I must use additional formatting inslide<br>\text&lt;lang&gt;{...} each time I insert a foreign text. (Of course, using<br>
\begin{latin}...\end{latin} in this example will produce the same non-italic<br>text.)<br></pre><br clear="all"></blockquote><div><br><br>That is not possible currently with polyglossia.  polyglossia  saves the original fonts as<br>
<br>\let\normalfontlatin\normalfont<br>\let\rmfamilylatin\rmfamily<br>etc<br><br>\def\latin@script@font{%<br> \let\rmfamily\latinrmfamily<br>etc<br>\latinnormalfont}<br><br>and every time you use a different script, it actually resets the \normalfont, for example if you use latin, you could expect this<br>
<br>\def\latin@font{\latinnormalfont}<br><br>and similarly for english. and because it resets normalfont everytime you change your language of polyglossia, therefore even if you say {\em english text \textlatin{latin text} more}<br>
<br>&quot;ennglish text&quot; and &quot;more&quot; will be emphasized but &quot;latin text&quot; is not.<br></div>-- <br>Vafa<br>
</div>