Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [languages]

{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}.

165
votes
6answers
446k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
96
votes
11answers
240k views

inputenc Error: Unicode char \u8: not set up for use with LaTeX

This is with ref to my previous question Package clash in multilingual report. \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
94
votes
6answers
14k views

What are good ways to make pdflatex output copy-and-pasteable?

One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the ...
83
votes
7answers
75k views

Cyrillic in (La)TeX

What are different ways to use Cyrillic in (La)TeX? What are their pros and cons?
80
votes
5answers
78k views

How does one type Chinese in LaTeX?

Can anyone describe how one can type Chinese in LaTeX? When I compile this: \documentclass{article} \begin{document} 你好吗? \end{document} the resulting document shows nothing. For reference my IME ...
79
votes
5answers
22k views

What package allows Elvish in TeX?

Anyone who has read The Lord of the Rings will recognise the Elvish script at the top of this page (in the Tengwar alphabet). If this is meant to be an example of what is typesettable in TeX/related ...
72
votes
1answer
8k views

LaTeX Introductions in languages other than English

Inspired by What are good learning resources for a LaTeX beginner?, I thought that it might be useful to collect a list of the many brilliant introductory LaTeX books and tutorials written in ...
59
votes
9answers
3k views

Comparing typographic traditions for different languages

Sometimes students using LaTeX ask me how to do the typesetting of documents in French or Spanish. I'm not able to help them because I never learned to speak or write French or Spanish. Different ...
54
votes
4answers
129k views

babel: english, american, USenglish

Does it make any difference (and if so, which) whether I use english, american, or USenglish as the option for the babel package? I've already looked into the package description, and it seems to be ...
53
votes
3answers
50k views

How to write Japanese with LaTeX?

I've recently started to use LaTeX but I've just encountered a problem, I tried searching it, although apparently no-one asked it before. I'd like to write using Japanese input, but when I typeset, ...
45
votes
6answers
10k views

Is it possible to keep my translation together with original text?

I have an English article in LaTeX, which I'm going to translate to Russian. I want to keep my translation in sync with the original text. It means that I want every paragraph to stay as close to its ...
45
votes
3answers
58k views

Date format in LaTeX

I use UKenglish package. And the \date command produces the date like so: 10th October 2011. But I want just 10 October 2011; th should be omitted. How can this be done? I tried using datetime package....
44
votes
3answers
35k views

Extend a language with additional keywords?

I'm using listings and I want to extend a language with additional keywords for highlightning. I know there is an option morekeywords available, but that only works for a particular lstset declaration ...
43
votes
2answers
951 views

Bibliography style per language with biblatex/polyglossia?

This is a followup to Russian and Japanese and biblatex oh my. I've got a lot further now, using the polyglossia-enabled bib latex and writing my own Japanese csquotes and lbx files, but now I'm ...
40
votes
1answer
43k views

Changing babel package inside a single chapter

I have a document written in British English and I am using \usepackage[british]{babel} in the preamble; however, this same document also has an abstract written in a different language, whose ...
39
votes
4answers
30k views

No hyphenation patterns were loaded for the language

I'm using babel package for spanish language. However, each time I compile my document, the package babel throws me a warning: Package babel Warning: No hyphenation patterns were loaded for (babel) ...
35
votes
3answers
34k views

What's the difference between ngerman and german in babel?

I use the following three packages to get correct German umlauts in the generated PDF: \usepackage[utf8]{inputenc} % this is needed for umlauts \usepackage[ngerman]{babel} % this is needed for ...
32
votes
1answer
92k views

Change Language in \usepackage[<language>]{babel}?

I've been trying to change the language of my LaTeX document by replacing \usepackage[swedish]{babel} with \usepackage[english]{babel} but I only get this message: ! Package babel Error: You haven't ...
28
votes
3answers
7k views

Getting Started to Xetex for Devangari?

I have learn LaTeX for a while. Now, I want to type Indic scripts using Tex and I found that XeTeX is the best because it supports unicode and opentype fonts. But the problem is there are not any ...
28
votes
3answers
3k views

How to create multilingual (English, Japanese) bibliographies with biblatex, biber and polyglossia

I would like to update my bibtex file in a way that allows me to create multilingual bibliographies. Since I publish in English and Japanese, I will need this to work in a way that: In an English ...
27
votes
5answers
39k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is because ...
25
votes
3answers
3k views

Specifying multiple hyphenation exception lists for multi-lingual documents

This question led to a new feature in a package: babel By default, (La)TeX fails at hyphenating some words, e.g., the English word potable (should be pot-able) or the German word Mor-dop-fer (...
24
votes
2answers
3k views

babel: Adding ngerman' s language shorthands to english as the main document language

The (n)german language option of the babel package provides various shorthands related to hyphenation, e.g. "-: "an explicit hyphen sign, allowing hyphenation in the rest of the word" (manual, section ...
24
votes
3answers
7k views

How to write Bengali in LaTeX?

\documentclass{barticle} \title{EkiT pRbn/dh} \author{Ajana elkhk} \date{pNNicesh {oi}bshakh, 1413} \begin{document} \bng \maketitle \section{pRthm pirec/chd} rbiin/dRnaethr EkiT kibtar shuru inec ed{...
23
votes
2answers
2k views

A class with default language settings

I want to write a class which loads babel and other language aware packages and pass to all of them the option ngerman as default. But if another language is used in the options of the \documentclass ...
22
votes
4answers
14k views

How do I get Korean (Hangul) characters to typeset in LaTeX ?

I've been unable to find a concise answer anywhere else on the web. Since its only a few words, albeit crucial ones, that are in Korean I don't want to have to muck around with HLaTex or deviate from ...
22
votes
1answer
1k views

Russian and Japanese and biblatex oh my

I'm trying to typeset a book with bibliography entries in English, Russian and Japanese. Getting the bibliography to work right is driving me mad. I have got pretty close (I think) by cobbling ...
21
votes
3answers
4k views

What is the deal about these semantic vs syntactic commands?

I keep hearing people on this site talking about "semantic" vs "syntactic" commands and that the "semantic" ones are somehow better. I don't really get what they are talking about, could you explain ...
21
votes
2answers
5k views

Localize terms in bibtex/biblatex entries

Is there a way I could localize terms in my bibtex entries? example: note = {to appear} I use a bibtex file for articles in english and german and it would be nice to replace the "to appear" in ...
21
votes
1answer
332 views

Hyphenating words with archaic spellings

I often work with texts from the 17- to 1800s that (in addition to now obsolete words) contain familiar words in slightly different spelling. The language of these texts, and of the ones I'm writing, ...
20
votes
4answers
14k views

Typesetting a document using Arabic script

I'm using TeXlive (2009-7) on Ubuntu 10.04. I've installed texlive-lang-arabic and I can't find out how should I compose the preamble to be able to use it. The babel's documentation I've found in the ...
20
votes
5answers
7k views

Managing multiple translation of a single document

Consider that you are working on a standard that should be translated into some other languages. The document structure (figures, table structures, ...) is constant among languages. Is there any ...
20
votes
2answers
861 views

What is the most appropriate way to configure biblatex for use with an unsupported language?

From time to time, I need to typeset Welsh. Sometimes, I need to typeset citations and bibliographies in Welsh. I think that last time I did this, I may still have been using BibTeX although I am ...
20
votes
1answer
2k views

Is there an environment / document class for dictionaries?

Background of this question I've got the idea of creating a math dictionary with LaTeX for quite a while now. My native language is German and I write a lot of blog articles about algorithms and a ...
19
votes
3answers
14k views

babel with russian and english language

I need to use Russian in my article, but the default language has to be English. How do I do this? I use: \usepackage[russian]{babel} Result: all chapter names and date are in Russian. Change to: ...
19
votes
1answer
13k views

Switching languages in bibliography with biblatex

I would like to have a bibliography with both Cyrillic and Latin and the main document language being English. How can I make biblatex to automatically switch between languages? (without using XeTeX ...
19
votes
2answers
463 views

Creating resources for a currently unsupported language

I want to add support for a new language to TeX and friends. What do I need to do to achieve this? We have had questions about Lao, Asturian, Cyrillic and Tajik, but this CW question is supposed to ...
19
votes
1answer
649 views

LaTeX for the Lao language

Possible Duplicate: Tajik language in LaTeX With a friend, I would like to develop LaTeX in Lao (a language that is close to Thai). There is already a thaitex Babel set so I guess it should not ...
18
votes
5answers
1k views

Generating multiple versions of a document using options

Before I start, I want to say that I have already read this post and this post I am writing a paper in two languages. I want to write other language version of every paragraphs and title just below ...
18
votes
4answers
2k views

Calculate prices

I want to calculate prices in a LaTex file. This means I want to add two numbers with exactly 2 decimal places and I want to multiply these values by an integer. An other thing is the output format. ...
18
votes
2answers
9k views

No space after closing double quote

As the title says, there's no spacing after my closing quotes, I have boiled my huge preamble down to the following, % Manual: http://ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf \...
18
votes
3answers
546 views

Changing the suffix according to the figure number

In Turkish (and possibly in other similar languages), there are suffixes that change corresponding to the word they are applied. This also holds for the numbers. For example, in Figure \ref{fig1} ...
18
votes
2answers
3k views

Sentence alignment for dual-line bilingual paragraph translation in LaTeX

I would like to make a translation of entire paragraphs at a time for a large document, with the start of the new sentences aligning. The following is almost what I want done, though it doesn't yet ...
17
votes
4answers
4k views

Syntax of TeX/LaTeX

{} and [] do some kind of grouping, and comma seems to be special as well. Being a programmer I find it frustrating to use Latex on incantation-only basis. I would like to know how does it exactly ...
17
votes
4answers
4k views

biblatex: Switching languages for *citations* according to the bibentry's “hyphenation” field

Quoting from section 3.1.2.1 of the biblatex manual: [The babel] option controls which language environment is used if the babel package is loaded and a bibliography entry includes a ...
17
votes
1answer
10k views

How to show Abstract title

I think that is something very simple, but I can't see the Abstract title in the abstract environment. \documentclass{scrreprt} \usepackage[english]{babel} %Loaded here: microtype,graphicx,...
16
votes
2answers
12k views

Typesetting any language, Vietnamese for example

I have this document which contains Vietnamese characters, and it doesn't compile correctly: \documentclass[letterpaper]{article} \usepackage[vietnam]{babel} \begin{document} Ðàn con chung ...
16
votes
2answers
87k views

How to install a language package in Texmaker on Ubuntu 12.04?

I'm having problems with the babel language package with TeXmaker could someone propose a fix I've typed in \usepackage[french]{babel} and I get the following error: Package babel Warning: No ...
16
votes
4answers
19k views

Croatian/Serbian letters in CV problem

I'm using a currvita CV for something, but am unable to get Croatian/Serbian (I don't know how this will come out, but they are šŠđĐčČćĆžŽ). Haven't used LaTeX in a while but remember that in the ...
16
votes
2answers
10k 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 \...