As the topics says I have to write my thesis in Times New Roman on my machine. It uses EndeavourOS, and I am compiling the LaTeX code using Texstudio.

  1. Can anyone offer me instructions on how to check if the font is installed on my Computer ? (I installed the ttf-croscore package which contains it, but I'm not sure.)
  2. How do I use the "exact" Times New Roman font. (either using Pdflatex or something else) This is what my preamble looks like:
\graphicspath{{/home/agnelo/Documents/BUT\ Machine\ HAMK\ Template\ version/images/}}
\setmainfont{Times New Roman}

I get an error that "Times New Roman" cannot be found.

PS: This is my first time posting, so I apologize for any errors.

  • 1
    What error? // you need XeLaTeX or Lua TeX.
    – user202729
    Commented Oct 27, 2021 at 7:38
  • Welcome to TeX.SE!
    – Mensch
    Commented Oct 27, 2021 at 7:47
  • 1
    in that case you can not be using pdftex (as you have tagged the question) you must be using luatex or xetex. (in which case you should not use \usepackage[utf8]{inputenc} simplest is to use a Times Roman clone that comes with texlive, such as \setmainfont{TeX Gyre Termes} Commented Oct 27, 2021 at 8:08
  • 1
    honestly it seems extremely weird, almost impossible that it depends on a specific proprietary font (whatever the documentation says) but if you do, then just delete inputenc and use lualatex or xelatex as you are currently doing (not pdflatex as you said you used) and install Times New Roman into your linux system fonts. It is a distributed with Microsoft Windows but available from linux package managers with package name usually something like mscorefonts Commented Oct 27, 2021 at 8:17
  • 1
    @MadyYuvi but the OP probably needs to obtain the font first, it will work on Windows by default. Commented Oct 27, 2021 at 10:35

1 Answer 1


The code will work as written with lualatex or xelatex but you should delete inputenc which does nothing but warn that it should not be used with those engines.

Times New Roman is a standard Windows font but distributed under a licence that allows it to be installed on other platforms. Most Linux package managers will install it as part of the Microsoft Core Fonts package (mscorefonts or similar name, depending on your linux package manager details)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .