If you put {\tracingall \textit{\mu}} to your document, you will be able to see what TeX is doing but be prepared to read "lakh" (or even more) lines of messages in the log file. Do not forget the outer curly braces, without them you will not be able to find anything. I have not tried, I just keep the rule that using a math symbol outside of math leads to an error or at least to strange things.
Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2016-09-04 4:39 GMT+02:00 Suki Venkat <suki.ven...@gmail.com>: > It almost worked fro me, just the quotes spoiled it. > I am just looking for an explanation of how such a strange thing appears > from nowhere. > > Suki > > > On Sat, Sep 3, 2016 at 7:10 PM, Zdenek Wagner <zdenek.wag...@gmail.com> > wrote: >> >> \textit{μ} requests Greek μ in italics from a text font while \mu is >> a math synbol that cannot properly work outside math and \textit >> switches the text style to italics. >> Zdeněk Wagner >> http://ttsm.icpf.cas.cz/team/wagner.shtml >> http://icebearsoft.euweb.cz >> >> >> 2016-09-03 13:32 GMT+02:00 Suki Venkat <suki.ven...@gmail.com>: >> > Hi, >> > >> > Whenever I use >> > >> > \textit{\mu} >> > >> > instead of the usual UTF-8: >> > >> > \textit{μ} >> > >> > I get a strange quote symbol before the Greek mu in the PDF. >> > In the preamble I use: >> > \usepackage{mathspec} >> > \setmathsfont(Digits,Latin,Greek){Linux Libertine} >> > \setmainfont[Ligatures=TeX]{Linux Libertine} >> > >> > You can recreate the problem with any other Greek symbol or any other >> > font >> > other than "Linux Libertine". >> > If we comment these lines in the preamble then I get the usual error >> > message >> > saying missing dollar etc. but with the above preamble I get no such >> > error >> > message but a PDF with a extra quote sign. >> > >> > Suki >> > >> > >> > >> > -------------------------------------------------- >> > Subscriptions, Archive, and List information, etc.: >> > http://tug.org/mailman/listinfo/xetex >> > > > -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex