TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We want to generate a document that contains parts in different languages (e.g. Dutch, French and English). The problem is that these languages have different hyphen patterns and notations (e.g. in French one writes a space before a colon).

Is there an elegant way to swap between languages, something like:

The list contains three items: one, two, and three.
De lijst bevat drie elementen: \'e\'en, twee en drie.
La liste contient trois \'el\'ements: un, deux et trois.
share|improve this question
It's explained in the documentation. I don't know if this is the optimal way to do it, but you could use \begin{otherlanguage}{dutch} … \end{otherlanguage} instead of \begin{dutch} … \end{dutch}. EDIT: Although it recommends to enclose that environment in another pair of braces {…}… so there might be a better way. And, of course, you can define your own environments based upon these. – Manuel Jun 12 '14 at 12:29
There is no space before of the colon in your french example. Or am I blind? Beside that I'm not sure if it is true that this rule holds for french texts. Hence, this should'nt be a problem, which means that you can just go ahead with the babel environments. – Ruben Oct 15 '14 at 16:12

I don't know if this is the best solution, but I simply use




to switch between English and Spanish as needed.

share|improve this answer
Welcome to TeX.SX! – Adam Liter Oct 15 '14 at 15:04
Although I've just read that \begin{otherlanguage}{spanish} and \end{otherlanguage} could be preferable, but not sure yet about the difference. In both cases, text such as "Figure" and "Table" in captions will be in the selected language. – Mike Oct 15 '14 at 15:05
@Mike, you are able to edit an existing answer. As far as your comment provides additional information that is relevant for the answer, you should make use of this ability. – Ruben Oct 15 '14 at 16:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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