{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

3
votes
1answer
12 views

Using ordinal numbers in chapter headings (e.g. First chapter)

I'm writing a document using the book class. The normal chapter headings are of the form (for the first chapter in the book): Chapter 1 <Name of first chapter> Instead I would like it ...
3
votes
1answer
27 views

Conflict between babel and TikZ quotes library

The MWE below gives error language@active@arg" has extra }. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,slovene]{babel}% ...
0
votes
0answers
26 views

Language conflict between bohr and babel [on hold]

This weekend I updated my MikTEX 2.9 installation and installed packages. To my suprise I promptly received an error message when recompiling a tex file (that previously compiled without a problem). ...
0
votes
1answer
23 views

Problem with referencing to the the number of an equation when using arabic support of babel

Unfortunately, I have a problem when using babel with arabic. When deferring to the number of an equation, the digits are reversed. In the below document when using (\ref{eq:10}) it gives (01) instead ...
3
votes
1answer
47 views

tkz-fct, babel and tabular compiling issue

I want to draw a function using pkz-fct and to save the picture with a "savebox" here is a minimal example : \documentclass[a4paper,10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
0
votes
0answers
48 views

English language

I really don't understand why latex still doesn't recognize English language when I write and in this way it doens't check spelling or grammar mistakes. I've installed the babel package using english ...
2
votes
1answer
27 views

Arabic support in Babel switches the TOC page numbering style

My thesis format requires that pages appear before the first chapter to be numbered with Roman numerals and the main content of the thesis to be numbered with Arabic numbers. It seems that the arabic ...
6
votes
1answer
73 views

Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX

following up on THIS QUESTION, I want to embed the solution in a document (Beamer presentation) I compile (in English) with LuaLaTeX, but I just don't find the way. I just want to include a slide with ...
2
votes
1answer
47 views

oscola and babel

Using pdfLaTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) with different versions of biblatex+biber+oscola, including the latest available, I get several errors when I include babel[italian] ...
1
vote
2answers
31 views

How do I define a list of strings with the babel package and the ngerman option?

I try to make a pie chart, but can't get the labels right: This is the MWE: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{tikz} \definecolorseries{colorser}{rgb}{last}{blue}{green} ...
2
votes
1answer
38 views

Load babel using language synonyms

How can synonyms be defined to allow loading babel with, e.g., \usepackage[nl-NL,en-GB]{babel} rather than \usepackage[dutch,english]{babel}?
1
vote
2answers
48 views

How to make a custom \crefformat dependent on language chosen with babel?

For my custom class I use the cleveref package and define new custom reference styles: \crefformat{figure}{Meine tolle Abbildung ~#2#1#3} Is there a way to make this command consider the language ...
2
votes
0answers
66 views

Hungarian babel makes English headers strange

I am writing a book mainly in English but it contains substantial Hungarian text, so I would use \usepackage[magyar,english]{babel} However, this makes chapter numbers in the headers look weird. ...
0
votes
1answer
26 views

OrnementsADF and babelbib font problem

Consider the following code: \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{babelbib} \usepackage{lipsum} ...
3
votes
1answer
37 views

babel, beamer and nag conflict

With the MWE below, I experience some problem. As shown, the MWE compiles fine. If I change from book to beamer, I receive the "TeX capacity exceeded" error. If I comment out either nag or babel, it ...
1
vote
1answer
65 views

How to use both “et al.” and other lang. “et al.” in one bibliography? [duplicate]

I am using biblatex with custom biblatex-chem style in my paper like this: \usepackage[backend=biber,style=chem-angew,articletitle,maxbibnames=5,minbibnames=4,bibencoding=utf8]{biblatex} Also I use ...
4
votes
1answer
25 views

datenumber: define \dateshortmonthname

I am working with datenumber package with spanish option, \usepackage[spanish]{datenumber} and I want to define a command similar to \datemonthname, but each month with the first 3 letters, I mean ...
3
votes
0answers
42 views

List of Figures and Tables won't get translated in the Table of Contents using Babel [closed]

Possibly a newbie question but here we go: I'm using Babel to translate titles automatically in my project. When focusing on my Table of Contents I realized that the texts for the List of Tables, ...
3
votes
2answers
85 views

Conflict with limit , font, babel

I have the following code \documentclass{article} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{gfsartemisia-euler} \usepackage[T1]{fontenc} \begin{document} $$\lim_{t\to ...
2
votes
1answer
140 views

How to use foreign language in pdflatex?

I use pdflatex for my thesis which is written mostly in English. For that purpose I use \usepackage[english]{babel} in the preamble. However, I must provide also Czech version of the abstract. Even ...
2
votes
1answer
43 views

babel's active " making problems in math mode

MWE \documentclass[norsk]{beamer} \usepackage[utf8]{inputenc} \usepackage{babel} \usetheme{Warsaw} \begin{document} \begin{frame} ``forkaster hypotesen om at $P(\text{"mynt"})=0,5$''. \end{frame} ...
4
votes
1answer
21 views

Redefining a babel macro in memoir?

According to the babel.pdf (dated 2005) , macro \Aref is used to "write the correct definite article for the argument", i.e. expanded to either 'A' or 'Az'. Since I upgraded to 2014 TeX, it ...
2
votes
1answer
32 views

Beamer with ragged2e and babel results in “command \selectfont has changed” warning

I am preparing a presentation in beamer and trying to get rid of warnings – but there is one that I cannot remove. In the MWE below there's empty beamer document with babel in Polish and ragged2e ...
0
votes
0answers
35 views

hyphenation not working with “programmed” text

I am writing a thesis using my university's documentclass. For this class, I can define a text as acknowledgement in the preamble which is automatically placed within the standard format. These are ...
1
vote
0answers
30 views

How to set up LaTeX to write in Hebrew on Ubuntu [closed]

I went through multiple guides and explanations until I finally managed to compile documents with mixed English and Hebrew. However, because of the multitude of methods I saw, I am now unsure whether ...
1
vote
0answers
31 views

Where can I find lists of non-US-English hyphenation exceptions? [closed]

As I learned from Where can I find a list of English hyphenation exceptions?, using the fine collection ushyphex.tex takes care of some of the known wrong hyphenation for US-English. It also includes ...
0
votes
0answers
31 views

How to make hyperref work with bibitem keys containing a colon and using babel french option?

As seen in this thread, the \cite command bugs when the selected language is French and a bibitem key contains a :, which is an active character in babel french. Indeed, concerned hyperlinks always ...
3
votes
1answer
28 views

spanish and lost figure

I want to use \usepackage[spanish]{babel} because I am writing a text in Spanish language. Now, when I make that, the figures get lost!, they cannot be read any more. The changes that I expect are ...
4
votes
1answer
75 views

hyphenation with languages in transliteration // forced hyphenation?

I am typesetting (lualatex) a document in a couple of languages. The main language is English. If I use other languages I usually use commands such as \foreigntextquote{french}{text} and ...
2
votes
1answer
91 views

LaTeX Kurdish Kurdi / كوردی (Sorani) problems

I'm trying to use arabic script but it seems I run into trouble, the output is just a mess of question marks, literally. I took this code from this page (I'm on Macbook Pro Yosemite, TeXLive, ...
3
votes
1answer
121 views

Spanish language not working after update [closed]

I've recently updated my Lyx to the new 2.1 version. But when I try to compile my documents (in spanish language), I obtain the following "Undefined control sequence" error: \StartBabelCommands ...
4
votes
1answer
47 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*)] ...
2
votes
1answer
73 views

Hyphenation doesn't work and lines overflow with French Babel (Lyx)

I'm using texlive-babel-french (on Fedora) with Lyx, and text overflows instead of having clear cuts because of hyphenation. When I change language from French to English in Document > Preferences > ...
3
votes
1answer
34 views

Babel: two languages, active shorthands

I'd like to use multiple languages in my document (babel), and both ngerman and british should have the nice shorthands active ("` and "'). The british language environment should turn "` into “ and ...
5
votes
2answers
58 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 ...
2
votes
0answers
55 views

Reference in Spanish and English language in BibTeX

I'm typing my thesis and I'm using LaTeX for it. I've found one problem in my references. I'm using two language for my references: Spanish and English, but for the last language , I can't change the ...
1
vote
0answers
30 views

Some non-english alphabets are missing after compilation

There are some non-English alphabets in my document, and these alphabets displays well in my Emacs (Ubuntu). But after i compiled using pdflatex, these alphabets are missing. I tried in the Window, ...
3
votes
0answers
73 views

Usepackage, babel,polish,french,germany

This is my first time in latex editor. I'm using texmaker + miktex 2.9 and i have problem with first document. I tried do something like this : \documentclass[a4paper,12pt]{article} ...
0
votes
1answer
55 views

Undefined control sequence \babeltags

I'm a beginner with LaTeX but I couldn't find anything on this problem: I have the following document: \documentclass[a4paper,11pt]{article} % Default font size and paper size \usepackage[german, ...
3
votes
1answer
67 views

Conflict between mdframed and arabic babel

I'm trying to make a template for an Arabic book. I wish to use the babel package with pdflatex as I'm not familiar with xelatex. I was hoping to arabianize the legend orange template ...
4
votes
2answers
65 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 ...
1
vote
0answers
45 views

Make \usepackage{polski} and \texttt work in the same document

I would like to use Polish language in a part of my Acknowledgements. In order to do it I introduced in the preamble: \usepackage{polski} \usepackage[polish, english]{babel} And later on, to ...
1
vote
1answer
103 views

Use of Spanish in Babel results in unwanted text in final document [closed]

I'm trying to use Babel for Spanish with TeXnicCenter and MikTeX. I have a beautiful 3-page article, my code works fine except for when I try to load Babel. When I add ...
3
votes
1answer
134 views

Why is XeLaTeX Pushing British English Text into the Margins?

I'm running into issues whereby TeX/LaTex/XeLaTex can't seem to calculate line breaks properly in regular paragraphs. This came about when I was experimenting with different fonts—in particular, Linux ...
5
votes
1answer
106 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
76 views

babelbib styles format first and second author names differently

I use babelbib and I have a source with two authors. Contrarily to when using the plain bib style, as soon as I switch to babplain, the author names are formatted like this: [1] Müller, Jan und Eva ...
6
votes
1answer
175 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 ...
3
votes
1answer
60 views

Incompatibility between package [francais]{babel} and refcheck

Below is an example that fails, giving, at compilation: ! Missing \endcsname inserted. <to be read again> \penalty l.10 On identifie \ref{eq:xx} With ...
4
votes
1answer
190 views

Latex with Hebrew

The babel attempt The following code, that contains Hebrew, is successfully imported to pdf using pdflatex: \documentclass{article} %\usepackage[T1, OT1]{fontenc} \usepackage[utf8x]{inputenc} ...
4
votes
1answer
41 views

Interaction between babel [turkish] option and rotating package

MWE: \documentclass[a4paper,11pt]{article} \usepackage{amssymb} \usepackage{rotating} %\usepackage[turkish]{babel} \begin{document} \newcommand{\olok}{\rotatebox[origin=c]{135}{$\twoheadrightarrow$}} ...