{babel} is a package that manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages.

learn more… | top users | synonyms

5
votes
2answers
60 views

Arabic Support in Babel Mess up Chapter referencing

\documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage[arabic,main=english]{babel} \begin{document} \chapter{Introduction} \label{ch:intro} We talked about the second chapter ...
5
votes
2answers
256 views

TikZ and Babel disagree when Hebrew is loaded

As with most things related to LaTeX, when Hebrew (and I assume other RTL languages too) tend to completely break everything. \documentclass[10pt]{article} %\usepackage[utf8x]{inputenc} ...
5
votes
2answers
564 views

Change hyphenation patterns only for a chapter

I am currently writing a book in Italian using LyX and I use \usepackage[italian]{babel} in the preamble. However, I need to write a chapter of this book in a different language. How can I change ...
5
votes
1answer
254 views

multilang with babel problem

I've loaded babel in my .sty file like this: \RequirePackage[ukrainian,russian,english]{babel} Then at .tex or at the same .sty file I am trying to: \selectlanguage(X) \languagename ...
5
votes
3answers
887 views

hyperref bad references

After cleaning up my project and compiling a tex file 10 times in a row: rm temp.toc temp.pdf temp.out temp.html temp.aux xelatex temp.tex # executed 10 times! I still get bad references with ...
5
votes
2answers
490 views

Fix nested section numbers in RTL languages with polyglossia.

The third subsection in the second subsection of the first section should be numbered 1.2.3. This holds also for RTL languages, since numbers, including Dewey numbering is still LTR even in an RTL ...
5
votes
1answer
104 views

Math comma issue with babel and MinionPro/MinionMath: typeset as an inverted E

The following code typesets an inverted E instead of the math comma on my system (texlive 2014, OSX) \documentclass{book} \usepackage[T1]{fontenc} \usepackage[onlytext]{MinionPro} ...
5
votes
2answers
89 views

Contents page in two different languages

I'm currently writing a report where all of my titles are in French and hence my table of contents is also in French. I however need to also include a contents table in English and I was wondering if ...
5
votes
1answer
236 views

Chemfig - command arrow - alignment doesn't work

I'm writing my bachelor thesis. I wanted to insert a chemical equation, but the reactant and the product are not horizontally aligned well. I found in Chemfig manual a solution to this problem but ...
5
votes
1answer
105 views

Changing the writing language

I write in greek (having before load all the necessary packages and own commands - babel etc). In order to change the language and write a word in english I type \gre and the letters appear with ...
5
votes
1answer
1k views

Error caused by interaction between minted, footnotes, babel and "(double quote)

I'd like to put some inline code using minted but when I try to typesent the empty string "" I get an "undefined control sequence" error. Sample code: \documentclass[a4paper,10pt]{article} ...
5
votes
1answer
244 views

Babel breaks maketitle on moderncv's casual and banking templates

I'm working on my CV and I started using the classic theme. After finishing the document, I trried to switch to the casual theme (also happens in the banking theme), but I get the following error: ! ...
5
votes
1answer
118 views

Bad interaction between babel and xypic?

I'm writing an elaborate in Italian, and I'm using XY-pic to draw some diagrams. Unfortunately it seems that babel is interacting with XY-pic, making it impossible to group elements. Here is a MWE: ...
5
votes
2answers
878 views

babel \L command reverses letters, inserts Ł symbol

It's time for Eyal's babel+Hebrew (or right-to-left) incompatibility of the week; and this time, it's hyperref again. If you have: \documentclass{article} \usepackage[hebrew,english]{babel} ...
5
votes
1answer
123 views

Adding a comma after “et al.” in citations doesn't work for a different language “et al.”

In an assignment, I am required to have citations formatted in the following manner: in the authoryear style with a comma after the andothers-string (normally "et al.") with "et al." translated to ...
5
votes
1answer
127 views

Wrong hyphenation with \usepackage[croatian]{babel}

The words 'izoliran' and 'kostur' in the MWE \documentclass{article} \usepackage[croatian]{babel} \begin{document} mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm izoliran ...
5
votes
1answer
99 views

What is difference Indonesian babel with Bahasa babel ?

I'm reading Babel manual page 18 and there are bahasa, indonesian, indon, and bahasai babel. I want ask " What is difference it?". I am from Indonesia and I confused use it for hyphenation better. ...
5
votes
1answer
298 views

Babel and csquotes Language Problem in Biblatex

I have spent a lot of time customizing the biblatex style to my needs. Just when I thought it's finally ready, I can't seem to work biblatex properly. I need to use babel for correct hyphenation. But ...
5
votes
1answer
495 views

biblatex/babel autolang= doesn't work with idemtracker

Although I was glad to discover that biblatex integrates with babel for bibliography formatting, I might have found a bug that prevents it to work with idem (not ibidem) entries. Same goes with ...
5
votes
1answer
892 views

\textit doesn't work with babel’s russian and mathptmx

\textit doesn't work in a LaTeX template for a thesis in English. Now I am writing my thesis in Russian using the same template. MWE: \documentclass{article} \usepackage[utf8]{inputenc} ...
5
votes
1answer
61 views

datetime causes incorrect date format even when babel is loaded first

According to the package manual, datetime supports language-sensitive date formats provided that babel is loaded first. The example on page 2 is: \usepackage[francais]{babel} \usepackage{datetime} ...
5
votes
1answer
87 views

Conflicting packages in presentation (beamer vs. ethiop)

I'm making a presentation and I have to include some text in Ethiopic script. For documents, the ethiop-package is a great help, but when in beamer mode, I get an error: ...
5
votes
1answer
321 views

how to change language within the .cls file

The problem is this: I want to use in the custom class file (named thesis.cls), a different language than English, Greek to be specific. In the .tex file I loaded the babel package with the command ...
5
votes
1answer
394 views

How to change hyphenation language without Babel?

I would like to change hyphenation pattern in pdlatex without using babel, because babel kills my document class in my language (hungarian). Unfortunately I cannot find a way to change the pattern ...
5
votes
1answer
72 views

No support for American-style punctuation in csquotes?

I was under the impression that csquotes provides support for American-style punctuation, whereby a punctuation mark adjacent to a closing quotation mark is moved inside, not outside, the quotation ...
5
votes
1answer
160 views

pdfLaTeX problems with figures in Arabi package (Farsi)

I have searched the site with different keywords regarding the aforementioned problem and it seems that I am the first guy with this problem. I am new to Arabi package. I will use it to typeset Farsi ...
5
votes
1answer
46 views

Reducing space before chapter works with english but not with hungarian babel package

I write my thesis recently and I want to reduce the spaces before chapters. I find the solution, but it isn't working for me with \usepackage[magyar]{babel} I use the following codes: ...
5
votes
1answer
860 views

Problem with spanish and babelbib

I'm not an English native speaker. All the documents I write are in Spanish. To handle this I use some packages like babel and babelbib for bibliographies. However, this can cause some troubles of ...
5
votes
1answer
116 views

Tikzcd conflict with babel and cd

I have this problem: when I try to compile a diagram I get the following message: I think the culprit is a tikzcd arrow in ell 1-1 But I have not problem when, in the tikzlibrary, I just use cd, ...
5
votes
1answer
84 views

Xindy and german babel shorthands “-, ”= etc

I'm using XeLaTeX, imakeidx and xindy, and I'd like to use shorthand like "- and "= in the index entries (soft and hard hyphen allowing hyphenation within component words, from [ngerman]babel). I ...
4
votes
3answers
239 views

Babel[french] adds \ier commands, why doesn't Babel[english] add \th?

I recently realized that when called with the option [french], the babel package adds a number of useful commands such as ier{} for "1er" read "premier", \no or \degres. Yet it seems to get similar ...
4
votes
2answers
162 views

Error when writing the chapter number fifteen of the appendices (the letter ñ in the Spanish alphabet), when using the babel package spanish

I am currently doing a very long document in LaTeX (my thesis), and the structure of the document I'm writing the number Appendix fifteen, but as we know in Spanish the number letter fifteen is the ñ, ...
4
votes
1answer
195 views

Is there any automatic way to detect hanging text on the right in LaTeX?

I wonder if there is any automatic approach to detect hanging text all throughout the 200-page thesis, mostly due to hyphenation issues. Consider the output below, there is like a subtle hanging text ...
4
votes
3answers
850 views

Something's wrong with tocloft

I want the right margin of TOC to be straight. Instead of this Latex violates the bound (Pic. 1). If babel is commented out (with the last \addcontentsline), the result is still buggy (Pic. 2). ...
4
votes
3answers
2k views

polutonikogreek with lmodern 12pt

Within a document in ngerman or english, I'd like to have some Greek text using babel's polutonikogreek. It seems there are two options for including greek text: \textgreek{mikra'iti mouse~ion} ...
4
votes
2answers
582 views

biblatex + biber + babel: configuration for polish language and style of bibliography (missing polish.sty)

This problem is probably trivial, but it's very important to me. After hours spent on searching the solution I couldn't find it. My LaTeX document works very well with biblatex, biber and babel, but ...
4
votes
2answers
377 views

Language selection for \maketitle

I am writing a document in English but when I use \maketitle, it inserts the date in Czech (my mother language I normally use when writing other text documents). I have set my IDE (TexWorks) to ...
4
votes
2answers
308 views

LaTex i18n (integrate a new package's strings with babel)

Suppose I'm preparing LaTeX package to give the abstraction of admonition boxes (warning, error, tip, note, fyi, ...). I'd like to have theses strings internationalized. I wouldn't appreciate the ...
4
votes
1answer
49 views

No enumerate in [turkish]{babel} package

MWE \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[turkish]{babel} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\Roman*)] ...
4
votes
2answers
74 views

How to configure (tweak) babel's hyphenation?

I found out that I can tweak hyphenation settings by writing: \righthyphenmin=6 \lefthyphenmin=6 \usepackage{hyphenat} I like this, because it hyphenates only really long words, leaving all others ...
4
votes
1answer
156 views

Pdf bookmark error in beamer

Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange ...
4
votes
1answer
319 views

part number (1, 2, 3) as word (one, deux, trois)?

Can someone please explain to me, why I get: Part ONE but then: Part DEUX Part TROIS In addition to an explanation, any successful solution to this rather odd phenomenon would be highly ...
4
votes
1answer
715 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
4
votes
2answers
543 views

algorithmicx + babel + Hebrew incompatibility

When trying to create any document with babel and algorithmicx, e.g.: \documentclass{article} \usepackage[hebrew,english]{babel} \usepackage{algorithmicx} \begin{document} Hello, world. ...
4
votes
1answer
4k views

How to pass parameters in a class file to different packages?

I'm writing a new class file that is based on book, and thought of making it available both in an English and in a Dutch version. Easiest to do seemed passing the arguments, so I constructed following ...
4
votes
1answer
142 views

How to get proper German hyphenation?

Code: \documentclass[paper=3.5cm:5cm]{scrbook} \usepackage{german} \usepackage[german]{babel} \usepackage[utf8]{inputenc} \begin{document} Andere übertragen das am besten den Geschwistern. ...
4
votes
2answers
545 views

Doubts for customize classicthesis

I downloaded the classicthesis from its site and I was analysing the contents of the class, the manual, examples and all that. But I have few doubts yet about how to customize well the classic thesis ...
4
votes
1answer
546 views

letter document class and babel/magyar not compatible any more?

I am recently having trouble with combining the letter document class with the magyar language option of the babel package. The weird thing is that the last time when I had to use this combination ...
4
votes
3answers
272 views

Command to uppercase the first letter of a maths command

This question is a bit similar to Command to uppercase the first letter of each word in a sentence. What I want is to build a new command for being used just at math mode, using the ...
4
votes
1answer
23k 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 ...