Consider the following code:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage{fontspec} %compile with xelatex
%\setmainfont{Times New Roman}
\begin{document}
\textsc{Small Caps}
\end{document}
No small caps are obtained when I uncomment the line \setmainfont{Times New Roman}. There is a warning:
LaTeX Font Warning: Font shape `TU/TimesNewRoman(0)/m/sc' undefined
(Font) using `TU/TimesNewRoman(0)/m/n' instead on input line 6.
How to both have Times New Roman font style and small caps?
\usepackage[utf8]{inputenc} %compile with xelatexseems strange, you should never useinputencwith xelatex (it does nothing other than give a warning that it should not be used) – David Carlisle Jan 16 '19 at 16:44\setmainfont{TeX Gyre Termes}– David Carlisle Jan 16 '19 at 17:07Tex Gyre Termesinstalled.! Package fontspec Error: The font "Tex Gyre Termes" cannot be found.How to install it? – Viesturs Jan 16 '19 at 17:13This is XeTeX, Version 3.14159265-2.6-0.99999 (TeX Live 2018) (preloaded format=xelatex 2018.11.18) 16 JAN 2019 19:11. Do I still need some additional update? – Viesturs Jan 16 '19 at 17:39tlmgr install tex-gyre– David Carlisle Jan 16 '19 at 17:42tlmgr. How to install it? I installed TexLive from here https://www.tug.org/texlive/quickinstall.html – Viesturs Jan 16 '19 at 22:04