66

When writing in English what is the benefit of loading babel, by \usepackage[english]{babel}, except for the possibility of setting it to use specific English dialects as described in babel: english, american, USenglish?

For example I know that biblatex, csquotes and microtype can work together with babel but their features seems to only make sense when writing in other languages than in English.

  • 1
    you do not need babel, when you have a complete document in english. – user2478 Sep 7 '11 at 7:57
  • 10
    @Herbert: You do if you are in the UK – Joseph Wright Sep 7 '11 at 9:42
  • 3
    So it depends on whether your entire document is in English or in english. – doncherry Sep 7 '11 at 9:58
  • 1
    @doncherry I don't understand your comment. Could you please elaborate? – N.N. Sep 7 '11 at 19:27
  • 3
    @N.N.: I was just joking a bit on how Herbert and Joseph used different meanings of "English": Herbert was referring to the LaTeX option english, which means American English, and Joseph was referring to the language English, which in Joseph's case means British English. Essentially, there's a reason for using babel if you're writing in British English (Joseph's point), and (according to Herbert) you don't need it if you're writing in American English. – doncherry Sep 7 '11 at 19:38
37

You should load babel if you're unsure about the default language. A system administrator in the UK may well have changed it to British English instead of US English (they have different hyphenation rules).

Assuming TeX Live is used (but also MiKTeX, I believe), lines such as

\usepackage[USenglish]{babel}
\usepackage[UKenglish]{babel}

will guarantee that the requested hyphenation rules are used during typesetting. Another use for babel is for choosing a not directly supported set of hyphenation patterns; for example,

\usepackage{hyphsubst}
\HyphSubstLet{english}{usenglishmax}
\usepackage[english]{babel}

will use the "maximal set" of US English hyphenation patterns (check your language.dat file for the exact string to use, usenglishmax is surely correct for TeX Live).

  • 7
    Moreover, USenglish and UKenglish differ in the way quotation marks are used. For instance, \enquote of the csquotes package surrounds text with double quotation marks in case of USenglish, but with single quotation marks in case of UKenglish. – mhp Sep 7 '11 at 9:09
36

Besides guaranteed proper hyphenation, if you load babel, you could access various useful shorthands related to hyphenation, such as provided by ngerman, even with english option:

  • \- hyphenation with suppressed hyphenation before and after the break point
  • "- hyphenation with enabled automatic hyphenation before and after the break point
  • "" for a hyphenation point without hyphen
  • "| like "- but with disabling ligatures, adding a small space
  • - (divis) for combined words
  • "~ for a dash where hyphenation is not allowed
  • "- for a dash where hyphenation is allowed, also before and after

For example:

\usepackage[ngerman,english]{babel}
\useshorthands{"}
\addto\extrasenglish{\languageshorthands{ngerman}}

This has been asked and solved here: Adding ngermans language shorthands to english as the main document language.

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.