Generalbabel | French and Russian simultaneously

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
FatherTorque
Posts: 4
Joined: Fri Apr 06, 2012 8:23 am

babel | French and Russian simultaneously

Post by FatherTorque »

Hello, Comrades

could anyone please explain, is it possible to use two non-English languages in the Latex-document simultaneously? I am using babel package and I need to use french and russian.

Code: Select all

\usepackage[french]{babel}
\usepackage[russian]{babel}
works without each other, but being aplied together they clash.
Using only one of them (hyphenations is never mind now for me) results in error messages.

T.I.A.
Last edited by Stefan Kottwitz on Fri Apr 06, 2012 11:18 am, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

babel | French and Russian simultaneously

Post by Stefan Kottwitz »

Hi,

the options can be combined. Here is an example, which works for me:

Code: Select all

\documentclass{article}
\usepackage[french,russian]{babel}
\usepackage[utf8]{inputenc}
 \begin{document}
\selectlanguage{french}
Ceci est un texte.
\selectlanguage{russian}
Это некоторый текст.
\end{document}
Stefan
LaTeX.org admin
FatherTorque
Posts: 4
Joined: Fri Apr 06, 2012 8:23 am

Re: babel | French and Russian simultaneously

Post by FatherTorque »

Thank you so much, Stefan, this works fine for me!
Post Reply