I am trying to write a document in both English and French (like the ones you can find on some planes). I use following declaration to use babel
:
\usepackage[english,frenchb]{babel}
\babeltags{en = english}
\babeltags{fr = frenchb}
This works nice for paragraphs and typography.
Now I also want to add titles (\sections
). I followed this previous answer: https://tex.stackexchange.com/a/170963/27327. This allows to create 2 different Table of contents, but only French titles are shown in the document (all \addetoc
ones are dismissed).
So is there a simple way to create multi-language documents?
What I want is something like:
The TOC page:
|------------------------+-------------------------|
| table of content | Table des matieres |
|------------------------+-------------------------|
| Fist section 3 | Première section 3 |
| Second section 10 | Deuxième section 10 |
| ... | ... |
| | |
|------------------------+-------------------------|
On a \section
page:
|--------------------------------------------------|
| First Section - Première Section 3 |
|--------------------------------------------------|
| Text in English |
| |
|--------------------------------------------------|
| Text in French |
| |
|--------------------------------------------------|
The only things I am missing are:
- how to display a section in several languages
- how to display a 2-column toc in the same page (one for each language)
Thanks in advance.
Best Answer
Something like this perhaps? (warning, the section title does not wrap around correctly!)