How to configure Times font to work with XeLaTeX's polyglossia
package? I tried configuring it same as with PdfLaTeX, but this way does not work: bold and italic are shown as normal font.
Minimal working example:
\documentclass{article}
\usepackage{polyglossia}
\renewcommand{\sfdefault}{uhv}
\renewcommand{\rmdefault}{utm}
\renewcommand{\ttdefault}{ucr}
\begin{document}
\textbf{Bold text} \textit{Italic text} Normal text
\end{document}
fontspec
. Can you give some more information about your operating system and TeX distribution? – egreg Feb 9 '15 at 10:39\setmainfont{Times New Roman}
, see the documentation offontspec
(loaded by polyglossia). – Ulrike Fischer Feb 9 '15 at 10:39fontspec error: "font-not-found"
- I do not have Times New Roman installed on my system, because its a propietary font. I hope that some kind of standard package supports this font for XeLaTeX. – niekas Feb 9 '15 at 10:59\setmainfont{TeX Gyre Termes}
. Imho times (or a clon) is available for every system (I certainly didn't buy it), but it could be that the name is different. – Ulrike Fischer Feb 9 '15 at 11:27utm
and use pdfLaTeX. @UlrikeFischer I think it is part of that set of fonts you can get free from MS, even if you aren't on Windows. It is proprietary, though, so it may not be available on every system even though it is in some sense available for every system. On most GNU/Linux boxes, you'll get a clone and I don't thinkfontspec
respectsfontconfig
in that sense. – cfr Feb 9 '15 at 13:07