There are a few questions regarding the speed of loading packages together, but this question isn't necessarily about that. I'm more interested in any tangible, persistent differences, such as package clashes and the like.
Is there any difference between loading packages one by one,
\usepackage{x}
\usepackage{y}
\usepackage{z}
as opposed to loading them 'all at the same time'?
\usepackage{x,y,z}
I know that some packages behave differently depending on the order in which they are loaded (xcolor
is a prime example), but I suspect that as long as the order remains the same (x,y,z
, not z,x,y
, say), everything should work exactly the same.
\usepackage[utf8]{inputenc}
with\usepackage[T1]{fontenc}
. Beside this there is no difference. I'm using lists when I'm lazy and want to add a package fast, but one-by-one is in the long run easier to handle.\usepackage{x,\ny,\nz}
), allowing commenting and (marginally) saving space (which is a bad reason to do anything on this level).\usepackage{x,\ny,\nz}
you can't comment out packgae z easily, you will have to put the last brace on a line on its own. So you will use 4 lines instead of three. I have another reason why I avoid lists: In my editor when I doubleclick on\usepackage
it opens the sty. This doesn't work with lists.:-)