[Tex/LaTex] What exactly are the “[ ]” for in “\usepackage[]{}”


I've looked in a few places for this and there are no good explanations.

Best Answer

[] are used for passing values for package options.


\usepackage[ngerman]{babel} loads the language pack with the option ngerman for the German language.

\usepackage[T1]{fontenc} loads font encoding with the T1 font encoding that is an 8-bit encoding.