Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Hi I used xelatex and texworks so far its working like a charm with unicode. Here is the sample text "प्रत्यय begning with ल श कवर्ग becomes इद्वर्णा।" Did not use any limiters etc to separate Devanagari and english text.

The question I have is, is there a way I can change the font of English words only. I used \setmainfont[Script=Devanagari]{Sanskrit2003}

can I use something like that to set the desired font for english text. I want to change all the english text to "Times new Roman"

share|improve this question
How could it be related to TeXworks or any other TeX-aware editor? – chl Jan 19 '11 at 18:31
Its not related to TexWorks, I am new to tex and thought may be I did something wrong while setting up since it was working so never bothered. Now I just want to be more structured and methodical so thought to ask the group here. – Aku Jan 19 '11 at 19:09
@Aku So you just need to switch font on the fly? Maybe this might be a good starting point: Getting Started to Xetex for Devangari ? or Temporarily change font. – chl Jan 19 '11 at 19:22
You should probably use the polyglossia package. See also my answer tho the question chl linked (just remove the numerals stuff if you don't need it). If that question solves your problem, we can mark it as duplicate of this one. If not, please tell us any specific problems you encounter. – Caramdir Jan 19 '11 at 21:26
You can close this question, I checked with the font makers as well and they said it's not valid the way MS Word is showing, in the language itself it should not be written like that. They said TeXWorks is showing the correct way, there could be something wrong with MS Word. – Aku Jan 20 '11 at 15:43
show 1 more comment

closed as not a real question by Caramdir, Stefan Kottwitz Jan 20 '11 at 19:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.