{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
2answers
37 views

varioref: change default “on the facing page” string

I would like to be able to change the varioref strings. In particular, the on the facing page one. It should not be a problem. The documentation clearly states various macros used, and I would think ...
2
votes
0answers
34 views

babel french + compilation issue

Since yesterday I'm using polyglossia for one of my documents. Today I opened another document in which I use babel and that worked just fine yesterday morning. Suddenly I can't compile it anymore : ...
5
votes
1answer
38 views

russian option for babel breaks Inconsolata

OK: \documentclass[14pt]{extarticle} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{zi4} \begin{document} \Huge \texttt{I need only latin here} % I see Inconsolata here ...
5
votes
1answer
21 views

Wrong autoref names when using babel's `main=` feature

I have just tried out the main=<language> package option to babel and found that it seemingly does not play nicely with hyperref's \autoref. Using the traditional syntax works nicely: ...
3
votes
1answer
67 views

Getting Swedish letters to work in LaTex

Problem: Issue 1 (solved): The Swedish letters ÅÄÖ/åäö do not print out correctly when used with listings package. Issue 2: How can it be solved so that the Swedish letters also get orange color ...
15
votes
1answer
132 views

"| shortcut no longer available in babel?

In the answers to this question, people recommend using the "babel shorthand" command "| to break the ligature in the word shelfful. Am I doing this wrong or is this command no longer available in ...
4
votes
0answers
21 views

pgf-pie and babel incompatibility? [duplicate]

I'm having a rather strange problem with pgf-pie: it seems not to work very well when using the babel package... See for yourself: Without babel With babel Here is the code: ...
4
votes
1answer
145 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. ...
2
votes
0answers
20 views

Setting an \abnormalparskip with memoir and babel french [closed]

I'm experiencing an issue trying to set a non-zero \abnormalparskip using the memoir class with chapterstyle ell and the french (or francais, or frenchb) babel package. Doing so moves chapter titles ...
7
votes
1answer
219 views

Why is babel loaded automatically in my document?

I’m currently writing my thesis in LaTeX, using the scrreprt class and xetex for better language support. With xetex, I’m supposed to use polyglossia instead of babel. I did not load the babel package ...
2
votes
1answer
45 views

Inputenc/Fontenc conflict

I am freaking out with this problem. I am writting a beamer presentation in spanish, and compiling with PDFLaTeX. My input encoding has to be UTF-8. So I write: \documentclass[12pt]{beamer} ...
4
votes
2answers
98 views

pgf inside macro

I'm trying to create a macro that conditionnaly print whatever it's given as argument. However, when such argument is a tikzpicture with a function definition, I get Paragraph ended before ...
0
votes
0answers
30 views

Get error on calling \chapter (…) \input{chapters/intro} [on hold]

So, I'm writting a dissertation in portuguese and I'm using the class REPORT, and I've put the chapters of my disseration in a separated folder containing these chapters, so that I call them ...
4
votes
1answer
28 views

Problem with babel + Greek and endnote package

I am typesetting a document which includes both French text (the main language) and some Greek. It's a kind of scholarly work and I would like to have both footnotes and endnotes. I would like to use ...
0
votes
0answers
16 views

tikz error with `\draw` command and babel package [duplicate]

I'm compiling a document with class article, in which I use tikz library with this libraries: \usetikzlibrary{arrows,automata,positioning} And I have this picture (and nothing more in the ...
1
vote
1answer
41 views

babel/plain.def : ! Illegal parameter number in definition of \@yargdef

I tried to generate plain TeX cyrillic format files using makefmts.sh script from cyrplain package, here is the content of this script: #!/bin/sh tex -ini -fmt=cyrtex -progname=tex cyrtex.ini tex ...
1
vote
2answers
47 views

Biblatex-apa not replacing ampersand for citations and references with Spanish options

I have read that the spanish-apa.lbx file contains the command \setcounter{smartand}{0} to prevent the ampersand from showing up and uses y instead. However, I can't seem to manage to get this right ...
4
votes
1answer
38 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}% ...
1
vote
1answer
30 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
53 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
52 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
40 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
80 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
50 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
37 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
53 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
59 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
68 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
70 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
50 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
87 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
158 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
46 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
22 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
36 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
38 views

hyphenation not working with “programmed” text [on hold]

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
31 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
34 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
35 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
29 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
78 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
106 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
217 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
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*)] ...
2
votes
1answer
84 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
41 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
61 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 ...