13

I would like to know that which one of the following commands is faster in running?

‎\usepackage{A,B,C,...}‎ or

‎\usepackage{A}‎
‎\usepackage{B}‎
‎\usepackage{C}‎
...

Thanks

Dima
  • 12,427
  • 8
  • 40
  • 53

2 Answers2

21

In either case, the difference is too small to worry about it. If you preamble is slow to process, you might consider using mylatex to speed things up.

5

I think the only difference that may arise is when you have to specify some options for the packages you are loading. In this case you have to load the packages one by one.

  • 9
    (*) unless by design or coincidence, they both accept the same options you intend to pass (e.g., \usepackage[pdftex]{xcolor,graphicx}). – Geoffrey Jones Aug 29 '10 at 12:38
  • 8
    Or if it's likely that at some stage you might want to comment out one or other of the packages, keeping the packages separate is a good idea... – Seamus Aug 29 '10 at 12:53