{languages} is about the specifics of using languages in (La)TeX documents, e.g. about switching {naming} and {hyphenation} patterns when typesetting multilingual documents. Popular packages are {babel} and {polyglossia}.

learn more… | top users | synonyms (1)

9
votes
1answer
2k views

Effect of the definition of a language for \documentclass

What exactly does \documentclass[american]{article} do with the definition of a language and in what case is it useful to define a language? What is the difference to ...
9
votes
1answer
362 views

What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?

In the fontspec manual, there is a section on LuaTeX that states: babel   The babel package is not really supported! Especially Vietnamese, Greek, and Hebrew at least might not work ...
9
votes
1answer
1k views

Hyperref ignores \setdefaultlanguage from polyglossia

I use polyglossia to set my default language with \setdefaultlanguage to German. This works for the captions of tables, figures etc. I want to reference to these figures with the \autoref command of ...
9
votes
3answers
185 views

How to typeset Tibetan in XeLatex with correct linebreaks?

I am trying to typeset Tibetan language in a document, but the text does not wrap at the margin. I think this could be easily fixed if I tell XeLaTeX to recognise the Tibetan tsheg character ('TIBETAN ...
9
votes
1answer
3k views

Translate “Algorithm” in the caption

This is my code \begin{algorithm} \caption{Funkcija ACO} \label{alg:aco} \begin{algorithmic} \STATE{do something} \end{algorithmic} \end{algorithm} it produces a caption like this ...
9
votes
1answer
287 views

Bibtex link word “AND” with different translations in a single bibliography

In a thesis, I refer to english publications and some old publications written in french or german. So in my text I have that kind of references: [Billy and John], [Pierre and Paul], [Helmut and ...
9
votes
1answer
5k views

How to write Persian/Arabic text in a LaTeX document which is mainly written in English?

Actually, I want to add some sentences in Arabic script inside my PhD thesis. Will it be possible just by adding some \usepackage statement in the preamble or need more than this? This is a bit tricky ...
9
votes
1answer
99 views

Vowel Harmony and Reference Numbers

I am preparing a document in Turkish which is an agglutinative language with two dimensional vowel harmony. This means that there are a lot of suffixes and they change form depending on how the word ...
9
votes
1answer
950 views

Biblatex - using two languages in one reference entry

I'm trying to learn biblatex and have small problem. according of czech style for academic writings, some fields in bibliographic record, like volume, edition or issue, should be in language of source ...
8
votes
2answers
730 views

Can I write in “begin{}” something in greek?

I want to write in latex a text at which there are some lemmas. So we could use the command \begin{Lemma} ... \end{Lemma} right?? Could we write instead of "Lemma" something in greek?? When ...
8
votes
3answers
231 views

How can I display the possible hyphenation points for words in a language other than US English?

This is a follow-up to tohecz's question, which I'm asking at the suggestion of Mico. The original question asks how to discover the hyphenation points for particular words, and the answers explain ...
8
votes
2answers
2k views

Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately

I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
8
votes
2answers
143 views

Latin text not hyphenated at all with LuaLaTeX and polyglossia

I recently noticed that there are numerous under- and overfull hboxes in the document I'm working on. Further inspection revealed that such problems almost always arose when there was Latin text ...
8
votes
3answers
854 views

Korean characters scrambled [XeLaTeX; Noto Sans Korean]?

I was trying to find a font which has obsolete jamo and the right combining behaviour. Yesterday I found out about Noto Sans, which seems to have both of these. However, when I use it in XeTeX, I get ...
8
votes
2answers
292 views

Polish, Russian and Greek in one file

Is there any way to use these three languages in one file? I've been trying to do this for several hours, and all I got are some cryptic errors. Could you provide me with a simplest possible working ...
8
votes
2answers
241 views

TeX question: how to switch between languages?

I am using TeX, with the macro package AmS-TeX. I'd like to use it with the Italian language, so that words are hyphenated the right way (e.g. the Italian word 'distante' should be broken as ...
8
votes
1answer
3k views

Problem with using quotations in German document [duplicate]

Possible Duplicate: Quotation with double quote and O results in Ö I want to write a document in German. For it I write in the preamble: \usepackage[german]{babel} ...
8
votes
2answers
584 views

Semantic TeX - where are we heading?

(Update: I learned that this kind of open question is not supposed to be asked here at tex.stackexchange.com, so I will refrain from furthering the discussion here and invite contributions instead via ...
8
votes
1answer
346 views

Language-specific removal of diacritics from text and bibliography

I am using XeLaTeX and BibLateX to write papers in the humanities. I routinely use transcriptions of Chinese (pinyin), Korean (McCune-Reischauer), Japanese (Hepburn), Manchu (Norman) etc. In addition, ...
8
votes
3answers
1k views

How to hyphenate Portuguese in plain TeX?

I'd like to use plain TeX in Portuguese, but I don't know how to hyphenate in this language, or in any other language than English. What do I have to do?
8
votes
2answers
492 views

Tajik language in LaTeX

My question is about adding a new language into LaTeX: the Tajik language. There is Russian language support in LaTeX and Russian is written using a modified version of the Cyrillic alphabet. Tajik ...
8
votes
1answer
1k views

What's the difference between \usepackage{ngerman} and \usepackage[ngerman]{babel}

Is there something additional that \usepackage[ngerman]{babel} does that a simple \usepackage{ngerman} won't be able to do?
8
votes
1answer
730 views

Changing the format of ordinal numbers (\the…) and related strings

I develop a package that improves LaTeX support for the Latvian language. One of the things I have here is different style used for things like Chapter 1, Theorem 1.1 etc. First, the phrase is written ...
8
votes
1answer
1k views

How to localize label using algorithm and algorithmic packages

I am writing a paper in Italian and I need to include pseudo code in my latex document so I am currently using the algorithm and algorithmic packages. At the top of every algorithm the label Algorithm ...
8
votes
3answers
969 views

Listing language for “screen session”

I am writing a set of tutorial documents on some command-line based tools. This tutorials need to show a "screen session". Something along the lines of: $ git status # on branch "master" I want to ...
8
votes
1answer
567 views

Malayalam package

Sorry if I am repeating, but I do not seem to see my post here. Does anybody know of a Malayalam language package. I am working on a Mac running Leopard.
7
votes
3answers
439 views

XeLaTeX: How to specify a different font family for Latin text within non-Latin text?

In a XeLaTeX document whose main language is non-Latin (in the sense of using non-Latin alphabet), I'd like the Latin text to be typeset with a different font family from that of the main text. How do ...
7
votes
4answers
955 views

Renewcommand labelitem doesn't work with multiple languages

I'm having troubles with the bullets for itemize. I need to have one part of my document in English and one part in French. Therefore I use: \usepackage[english,french]{babel} then in my document I ...
7
votes
3answers
594 views

TOC in double language

For my thesis, I have to write the table of contents in two different languages.. (don't ask me why...). Is there a way to do it?
7
votes
1answer
570 views

Is there any support for Esperanto in LaTeX?

Is Esperanto supported by LaTeX? And, if so, are there any required packages?
7
votes
2answers
329 views

Brazil Language problem in the TikZ diagram

I have a problem with TikZ diagram, I don't get to make the diagram with babel under the brazil language. I used the code with french and everything is OK! \documentclass[a4paper,12pt, ...
7
votes
1answer
224 views

How can I retrieve (and conditionally act on) the language of my document?

I have a collection of documents that share a common style file that has all the functions and templating shared by this particular collection. The majority of these are all in the same language, but ...
7
votes
1answer
564 views

'List of theorems', translated into my language

I'm using \listoftheorems (part of the thmtools package) to show a list of all my theorems. It works really well, but it prints "List of theorems" in English; I would obviously prefer it to be in my ...
7
votes
1answer
720 views

How to specify the caption names in bilingual captions without babel or polyglossia?

I use Axel Sommerfeldt's bicaption package to setup bilingual captions. bicaption needs babel's \selectlanguage to set the different caption names for different languages. However, I cannot use the ...
7
votes
1answer
230 views

translated from <language> by <translator> in biblatex

I could not find a biblatex style showing the language of a reference from which it is translated when the translator field is used even though the fields language and orilanguage are correctly ...
7
votes
2answers
4k views

\usepackage[turkish]{babel} and \includegraphics inconcistency

Here is my document : \documentclass[12pt]{book} % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages ...
7
votes
2answers
770 views

Using mathspec’s \setallmainfonts with Russian in polyglossia causes hang during compilation

I’ve just run into a problem with the combination of mathspec’s \setallmainfonts command and polyglossia with language set to Russian. I’m using MiKTeX 2.9 and compiling with XeLaTeX and when I use ...
7
votes
1answer
203 views

Print localization strings in biblatex

I want to print all the localization strings in biblatex for a language, so I can review them in an easier way than looking at the code. How can I achieve this?
7
votes
1answer
357 views

biblatex ignores own lbx file

I’m trying to build an own biblatex style named musuos for that I created the two style files musuos.bbx and musuos.cbx which look like the following: \ProvidesFile{authoryear-musuos.bbx}[2011/05/06 ...
7
votes
2answers
4k views

unknown language \selectlanguage{english}

I'm writing my second document in latex and I'm using my universities template. But since I'm working on an English document and the template is for German papers I have to adjust the language. ... ...
7
votes
1answer
2k views

Custom hyphenation for different languages in XeTeX

When I define custom hyphenation with \hyphenation in XeTeX, it seems to only work for the main body of the text, but not for the bits inside \text<language> (as in \textgerman) environments. I ...
7
votes
2answers
166 views

French equation numbering using bis, ter, etc

As a corollary to my other Question "French section numbering using bis, ter, etc", I am looking for a way to number equations by appending "bis," "ter," and other latin suffixes after the equation ...
7
votes
3answers
332 views

Non-English in-text citation

I have changed the language setting in my lyx document to Danish but my in-text citations still read e.g. (Jones and Jones, 2013) and not (Jones og Jones, 2013) which would be the Danish equivalent. ...
7
votes
2answers
771 views

Best practice: define BibLateX/BibTeX entry with title in native language and in English

I am preparing a paper. Some of the documents are written in Portuguese. My supervised suggested me to include in the bibliography the title translated to English and the title in Portuguese as well, ...
7
votes
1answer
1k views

TeX capacity exceeded with multiple font encodings

I work in humanities, so please forgive my lack of competence and the weirdness of my computing needs. Is there a way to make this work? I need to use three (for starters) languages in the same ...
7
votes
1answer
1k views

Spanish Glossary

I want to create a glossary and to name it "Glosario" (Spanish), but despite my attempts it continues to print "Glossary". MWE: \documentclass{article} \usepackage{hyperref} ...
7
votes
1answer
200 views

Combining mark over ligature (Devanagari)

I want to typeset the combination m̐llo in Devanagari with XeLaTeX. When I use the correct Unicode ल्ँलो, there is no ligature of the ls. When I place the candrabindu on the ligature the o is not ...
7
votes
1answer
3k views

Mixing latin and cyrillic characters

I have an idea of how to mix those, but failed to find out which fontenc encoding to use for Central European characters. \documentclass{article} \usepackage[utf8]{inputenc} ...
7
votes
2answers
661 views

Using the glossaries package in other languages.

I have just started using the glossaries package, and as I'm writing my documents in icelandic I run into a certain problem. The glossaries package assumes the words are in two forms, singular or ...
7
votes
1answer
699 views

Language in biblatex?

If I want to produce a referece like this in my bibliography: Boncompagni, Baldassarre. Tre scritti inediti di Leonardo Pisano. — Firenze : Tipografia Galileiana, 1854. — 122 p. (in Lat.) Do I use ...