GeneralDifferent languages in the same document

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Sondre
Posts: 3
Joined: Mon May 07, 2007 1:17 pm

Different languages in the same document

Post by Sondre »

I am writing an article that needs an abstract in both english and norwegian. When I use \begin{abstract}, the topic is of course written in the language specified in \documentclass[]. Since most of the report is in english, I have set this to "english". But is it possible to define another language just for one page after the english abstract? Or perhaps there are other ways to solve this problem?

I would be gratful for any kind of help on this one!

Sondre

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Different languages in the same document

Post by localghost »

Do you use the babel package? It supports the usage of more than one language in a document.

Code: Select all

\usepackage[norwegian,english]{babel}
The last language is the standard language for the document. But you can switch to another language when needed. Refer to the documentation to get things work.
Sondre
Posts: 3
Joined: Mon May 07, 2007 1:17 pm

Re: Different languages in the same document

Post by Sondre »

Alright! I didn't know babel was multilingual. It worked perfect by just using \selectlanguage{} where I wanted to change it.

Thanks a lot for your help, localghost!
Post Reply