I seem to recall reading somewhere that fontenc should be loaded either before or after the packages loading fonts, but I cannot remember which. I don't see differences between loading it before and after. Was what I read incorrect, or is there a preferred package loading order and why?
|
|
||||
|
|
|
fntguide is my standard go-to reference for these kinds of questions. Here's the entirety of what it has to say about the matter:
In other words, there are no (non-pathological) dependencies in the load order that affect the final output. Compilation efficiency, however, might be less in one direction than the other. I used to load fonts then |
|||||||||||
|
|
It used to be a bad idea to have
before any other font packages because it could trigger LaTeX to attempt to load T1 versions of the Computer Modern font; nowadays I believe this isn't a problem because the EC fonts are installed by default (even though you probably don't want to use them with Latin Modern now in existence). Just to be on the safe side, however, probably best to still follow this practice of first loading your font package and only then switching the encoding. |
|||||
|
