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

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




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.

| improve this answer | |
  • As Will says, the difference will be pretty small as most of the processing will be in the packages themselves. – Joseph Wright Aug 29 '10 at 10:56
  • +1 for the useful suggestion. I've never heard of mylatex. – Geoff Aug 30 '10 at 12:06

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.

| improve this answer | |
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.