When I’m using pdfLaTeX, my preamble usually contains
\usepackage[utf8]{inputenc}
and
\usepackage[T1]{fontenc}
Should these two be loaded in any particular order? What problems could arise if they’re loaded in the “wrong” order?
On a related topic, I know that fontenc
should come after font packages, as described in Should the fontenc package be loaded before or after font packages?, so I’d move font packages along with inputenc
– unless there’s a catch as well, which would indicate something like
1) font package(s) 2) inputenc
3) fontenc
?