I haven't used more than one font package. But I noticed some people use multiple font packages. Shortly speaking, which one will win if we load multiple font packages?
Is there a rule for loading multiple font packages?
|
It depends. Generally speaking, the font you get is the last one you specified. Thus usually when you use multiple font packages, the last one wins. However, it depends on the actual commands in the packages. A font package do not always do the same thing as another font package, some times they work together. An example is:
If you use the two packages in your document, you will see the main font is Utopia. You may say When you look into the code of the packages, you will know why:
What we obtain at last is the same as:
|
|||
|
|
\usepackage{mathptmx,helvet,courier}will work fine, as the first alters the serif font, the second the sanserif and the last the monospaced. – Joseph Wright♦ Aug 10 '12 at 16:40