{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

4
votes
1answer
74 views

Pdf bookmark error in beamer [closed]

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 ...
0
votes
0answers
29 views

Package babel error: Unknow option [duplicate]

I just installed pdfTeX (Tex Live 2013/Debian) on by Ubuntu 13.10 laptop, but I have problems with the babel package. My code: \documentclass[12ptk a4paper]{article} \usepackage[danish]{babel} ...
6
votes
2answers
214 views

Typesetting in Tamil on ShareLaTeX

My main goal is to display Tamil script in LaTeX using ShareLaTeX. I would be happy to figure out a minimal working code to display வணக்கம் in ShareLaTeX. \documentclass{article} ...
2
votes
1answer
64 views

Contributing to Babel or Polyglossia language support

I want to contribute language support for Babel or Polyglossia, so that I can type in my native language and use LuaTex or LuaLaTeX. Lithuanian support at the moment is using L7x font encoding and if ...
1
vote
1answer
44 views

Babel Multilingual Hyphenation Order of Precedence?

When I use multiple languages with Babel (e.g., with \usepackage[german,french,latin,english]{babel}), I realize that english is the default language because it is the last listed, but what does Babel ...
15
votes
2answers
208 views

Why does \usepackage[british]{babel} change the hyphenation to wrong?

Now I know there are hyphenation differences between British and American English but in no dictionary, British or American, could I find the word "alternate" to be broken down to al·tern·ate instead ...
5
votes
2answers
77 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 ...
2
votes
1answer
76 views

Automatically Detect Foreign Language for Hyphenation?

Is there a LaTeX package that automatically detects which foreign language a particular part of a multi-language TeX document is so that it can hyphenate it appropriately, or do I have to manually ...
3
votes
1answer
81 views

Problem with babel [brazil] and tikz-cd's phantom arrows

I'm trying to draw the following diagram using tikz-cd \documentclass[11pt]{article} %\usepackage[brazil]{babel} \usepackage{amssymb, tikz-cd} \tikzset{commutative diagrams/.cd} \begin{document} ...
1
vote
1answer
73 views

Switching first paragraph indentation rules with babel

I am aware that many questions have already appeared here regarding the indentation of the first paragraph, but I did not find any on this precise problem. I am writing a document with some portions ...
3
votes
1answer
51 views

Latex use other languages in section title

I am writing in english, greek babel and I have custom commands to change between languages. The problem is that I can change to english for example, anywhere in my text except in \chapter{}, ...
5
votes
1answer
60 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 ...
2
votes
0answers
118 views

bbm.sty not found, unknown option 'ngerman'

there is a piece of my header.tex: \documentclass[paper=a4,toc=bibliography,chapterprefix,parskip=true}{scrreprt} % ------------------------------------------------------------------- %%% Laden ...
1
vote
1answer
625 views

Unable to get rid of error babel: You haven't defined the language en yet? [closed]

! Package babel Error: You haven't defined the language en yet I am getting the above error - no matter what I do... I have tried everything from the other answers and am sure now that its not ...
0
votes
0answers
93 views

The french babel gives me a missing \begin{document}

My impression is that is an already answered question. However, I am really stuck with this: This code: \documentclass[french]{book} \usepackage[utf8]{inputenc} \usepackage{babel} ...
7
votes
1answer
86 views

\foreignlanguage in tabular environment

\foreignlanguage does not work in tabular. How to switch language in tabular? \documentclass[spanish,russian]{scrbook} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ...
1
vote
1answer
54 views

Using language Portuguese on Appendices throws unsupported control sequence

I am trying to compile my work under MikTex 2.9 windows 7 and/or Kyle 2.1.2 The appendices are throwing an unsupported control sequence error when I try to compile with the langage set to Portuguese. ...
6
votes
1answer
150 views

Why \shorthandon and \shorthandoff cannot be embedded in other macros?

Surrounding \title macro with \shorthandon{;:!?} and \shorthandoff{;:!?} gives the expected result with babel's french language (space added before the '?', '!', ':' and ';'): ...
5
votes
2answers
132 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} ...
6
votes
3answers
133 views

Define a \dots-aware command

edit: changed the MWE to show the problem with french babel So, I was wondering about in TeX.sx and came upon this question How do magic \dots work in amsmath?, I wanted to do the same thing (have a ...
1
vote
0answers
47 views

Package babel Error: Unknown option `ngerman' [duplicate]

I've tried to create German quotation marks in LaTeX, but after compiling with \usepackage[ngerman]{babel}, I get this error: ! Package babel Error: Unknow option `ngerman'. Either you misspelled it ...
2
votes
0answers
65 views

Can't Compile Because I haven't loaded Babel - But I'm not using Babel? [duplicate]

I tried compiling a document with an included Hebrew word. I copy and pasted the \usepackage example loading English and French as an example. Since then, my document will not compile no matter what I ...
9
votes
3answers
310 views

Problem with babel and tikz using \draw

I'm trying the next code: \documentclass[pdftex,spanish]{article} \usepackage{babel} \usepackage{tikz} \begin{document} Simple arrow: \begin{tikzpicture} \draw[->] (-1.5,0) -- (1.5,0); ...
2
votes
2answers
71 views

Main text and bibliography in two languages but with alternate date format

I'm writing a text in American English and German (new orthography), so I use \usepackage[ngerman,USenglish]{babel}. The biblatex bibliography also contains English and German references. I need the ...
1
vote
2answers
61 views

Russian and Chinese in the same document

I'm writing a document that is going to required having Russian, Chinese characters, and English. I'm using CJK and babel and example code is below: \documentclass[12pt]{article} ...
2
votes
1answer
66 views

Problem with Swedish hyphenation using apa6 with \usepackage[swedish]{babel} [duplicate]

I can't seem to get Swedish hyphenation to work within the document when using the apa6 document class, though I am using the Swedish babel package. The problem is not citation related, but concerns ...
5
votes
1answer
143 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 ...
3
votes
1answer
85 views

Pleaseinsertintopreamble in ToC and header

I wanted to style chapter headings, found out about titlesec and wrote the document like this: \documentclass[a4paper,12pt]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
1answer
59 views

Listings and Babel (with some languages) are breaking hyphenation

In the following document \documentclass{article} %\usepackage[german]{babel} % also try english, ngerman and dutch \usepackage{listings} \begin{document} \thispagestyle{empty} \begin{minipage}{1em} ...
5
votes
2answers
134 views

Tikz shortandoff-on newcommand problem

Usually I have no problem with babel and !:, and I don't use shortandoff-on switch. But since I made a command using !#1 parameter, the problem comes up again. The same synthax used outside the ...
3
votes
0answers
194 views

Problem when running babel

I am using babel installation (used Miktex 2.9 package manager to install) and the Culmus MiKTeX package (retrieved from http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html) ...
3
votes
1answer
65 views

Showing last accessed / urldate field with babelbib

Apparently babelbib displays the last accessed/urldate field by default, but it doesn't seem to work for me. I tried to change the bibliographystyle, but that didn't fix it either. In addition I can't ...
2
votes
3answers
145 views

French babel trouble: 1\ier{}, 2\ieme{}, etc

I'm having an issue with French babel. Whenever I use any of the 1\ier{}, 2\ieme{} and so on constructs (to obtain 1er, 2e, etc.), the spacing following it behaves very strangely. So, for example, if ...
3
votes
1answer
114 views

pdf option for pstricks conflicts with babel french option

Today I had this error message on compiling a document: ! Package babel Error: The character '"' is not a shorthand character in french After commenting a lot of things I finally identified the ...
10
votes
4answers
249 views

\newgeometry doesn't work with Turkish babel package

\newgeometry is a nice feature of geometry package. I found out that it doesn't work (together with many other problems) when \usepackage[turkish]{babel} is also used with many errors stating: ...
1
vote
1answer
49 views

Using doublequotes in bibtex fields and babel

I have autocreated (Mendeley - so editing by hand will be rendered useful on the next autocreation of the file) bib-files, which contain e.g. ". Unfortunately, those " are treated as the LaTeX ...
5
votes
1answer
87 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: ! ...
1
vote
1answer
65 views

How to compile Bulgarian in my Fedora 19 distribution?

I am completely new to TeX. LaTeX is already installed in my environment: pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013) Saying \usepackage[utf8]{inputenc} \usepackage[bulgarian]{babel} , as ...
1
vote
0answers
31 views

Using "= in preamble with babel [duplicate]

I have noticed a strange behaviour when switching between the packages german and babel with the german option. There is obviously a difference in how "= is handled in the preamble: ...
8
votes
1answer
146 views

Problem between unicode-math and babel option frenchb in LuaLaTeX

I've got a strange problem in LuaLaTeX with both babel, option frenchb, and unicode-math. My TeX Distribution is TeX Live 2013 (installed with MacTeX on a OS X.8.5 system). If I run the following ...
3
votes
1answer
187 views

Fontspec with bibtex with accents give me a bug : “Missing \endcsname inserted. \char”

i try to get out of a 3 days trouble, hope for your help ! I just want to find my bibliography in my font without bug... I'm using \documentclass{scrbook}, & {Adobe Garamond Pro} font with ...
5
votes
2answers
134 views

Why does a different font appear on Greek and different on English?

I'm trying to create a pdf that contains both English and Greek. But the two different languages appear in different fonts. Can someone tell me why? This is my code: ...
7
votes
1answer
271 views

Very strange biblatex style in french archeology

I have many problems with a bibliography style with biblatex. And excuse my english, I'm a French student. I would like a style like this: but after a lot of research I obtained: It is almost ...
2
votes
0answers
88 views

natbib - Citation in English and German [closed]

I am writing a document, which combines a German chapter (the intro) with several English chapters (the main document). Hence I would like to use the natbib in the intro, to provide a citation which ...
12
votes
1answer
76 views

Spanish Babel causes accents in start of sentence to stretch cell height

When the first letter of a sentence in a table cell has an accent, the cell height is stretched and it looks strange. This only happens when I use the Babel package (with Spanish) so I think it may be ...
5
votes
1answer
66 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 ...
3
votes
0answers
254 views

LaTeX hyphenation problems in Spanish [closed]

I am using this preamble on my document, edited with TeXStudio/MiKTeX and I am getting several words not hyphenated and past the margin limits on the right side. As you can probably see, I am very new ...
6
votes
2answers
148 views

How to suppress the space before the colon, in French language?

I would like to suppress the space before the colon, when using [french]babel. I only want to change this locally (that is not everywhere in the document, but just at some place). ...
1
vote
1answer
58 views

Pgfplots, problem with pin and [francais]{babel}

When I don't use babel package, pins are ok. I suspect there is a problem with the colon, in french we put a space before and after, but how to tell pgfplot not to do it? \documentclass{standalone} ...
0
votes
1answer
149 views

Enable portuguese language in babel in a gentoo linux system

How can a language be enabled in babel on a gentoo linux system? texlive has been installed using the system package management software.