Skip to content

Order of packages with Quick Start wizard #2901

@dbitouze

Description

@dbitouze

Describe the feature and the current behavior/state

The order in which packages are inserted with the Quick Start wizard doesn't follow usual advises. AFAIK:

  • inputenc and fontenc should preferably be the first ones,
  • babel should be the last one, except exceptions,
  • hyperref is such an exception and should be the last one, except exceptions (cleveref is a notable one).

Currently, if all the packages are asked, they are inserted in the following order.:

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{nameref}
\usepackage{thmtools}
\usepackage{xcolor}

A better one would be:

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{xcolor}
\usepackage{nameref}
\usepackage{babel}
\usepackage{hyperref}

Who will benefit with this feature?

Everybody who is relying on the Quick Start wizard.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions