{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
1answer
56 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
69 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 ...
5
votes
0answers
252 views

Removing spaces before command

When using French guillemets with TeX4HT, the resulting symbols are not followed/preceded by non-breaking spaces like they should, resulting in wrong line-breaking in HTML. I tried resetting \og and ...
4
votes
3answers
224 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
62 views

Babel's \selectlanguage{} resets \frenchspacing

I know that \frenchspacing is the way I ought to typeset documents today, but I happen to like the double spacing after periods. To enable them, I use \nonfrenchspacing. But if I use babel and issue a ...
4
votes
1answer
174 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
759 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
1k 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
254 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
168 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
3answers
344 views

English minitoc entry within a Greek utf8 document

In a document set up as shown in the question Greek pdf bookmarks, the interesting bits are: \documentclass[greek,english]{scrbook} \usepackage[LGRx,T1]{fontenc} % define LGR and T1 encodings ...
4
votes
2answers
274 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
245 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
2answers
507 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
104 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 ...
4
votes
2answers
352 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
3answers
238 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
525 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
1answer
35 views

Custom \thebibliography with alphabetic numbering for scrltt2 not working in presence of babel

I want to use an alphabetically numbered bibliography in a letter class that does not provide bibliographies (scrlttr in my case, but the example provided below works with letter, too). Based on this ...
4
votes
1answer
21 views

Set hyphenation with polyglossia

If babel doesn't know how to hyphenate a word, I can inform it of good line breaks with \babelhyphenation: \documentclass{article} \usepackage[nynorsk]{babel} ...
4
votes
2answers
59 views

Strange output when writing \texttt{“avg”} in spanish

I'm using pandoc, which parses markdown into LaTeX. In this case I configured pandoc to use babel in spanish and wrote `"avg"` which is translated by pandoc as \texttt{"avg"}. When I do this I obtain ...
4
votes
2answers
67 views

Does SIunits package correctly manage the typography according to the language of document?

when I use SIunits with \documentclass[a4paper,12pt,oneside,french]{book} and \usepackage[frenchb,french,francais]{babel} as preamble, could I be sure the commands like \kilo\meter will be print as ...
4
votes
1answer
606 views

spanish option for babel

I recently updated my Miktex 2.9 and when I try to compile my files I get the following error, which I didn't have... package babel error: unknown option spanish. Either you misspelled it or ...
4
votes
2answers
133 views

xcolor \color command affects the wrong word in a Hebrew sequence

When compiling \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} \usepackage{xcolor} \begin{document} \sethebrew ראשונה \color{red} שניה \color{black} שלישית ...
4
votes
1answer
2k views

getting an option clash with Babel, [english,greek]

I am getting an option clash for babel using: \usepackage[greek,english]{babel}. Here is the output: ! LaTeX Error: Option clash for package babel. Does anyone know what might be causing this? ...
4
votes
1answer
411 views

Babel not working on OS X? [closed]

I'm using a MacBook Air, with OS X, and I have great difficulties in using Latex in my native language (serbian). If I use the standard babel package in TexShop: \usepackage[utf8]{inputenc} ...
4
votes
1answer
2k views

Memoir appendix

At the moment I have Appendix A when I start the appendix page. In the table of contexts I see the item A. How can I replace the "A" by "Appendix". I'm using the memoir class and I'm also using babel ...
4
votes
2answers
424 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 ...
4
votes
2answers
67 views

Problems with acro package and greek babel?

Well, I need to create an acronym list in my thesis, I was using the acronympackage before for that. Since I updated several package and my old preamble had too much error, I decided to create another ...
4
votes
1answer
36 views

Bad interaction between alltt package and babel with the italian option

Given the following MWE: \documentclass{article} \usepackage[italian]{babel} \usepackage{alltt} \begin{document} \begin{alltt} \(\sb{1,1}\) \end{alltt} \end{document} I get the error: TeX ...
4
votes
1answer
54 views

Russian babel and chemformula

I want to write chemical formulas in a predominant german Text with a small amount of russian words. For that I use babel and chemformula, but they produce a heavy conflict. My MWE: ...
4
votes
1answer
83 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} ...
4
votes
1answer
77 views

Babel shorthands has a problem with \bm package

Using the babel command \useshorthands{"} prevents \bm package to work normally. \documentclass{report} \usepackage[T1]{fontenc} \usepackage[english]{babel} \useshorthands{"} \usepackage{bm} ...
4
votes
1answer
308 views

Hyphenation of words connected with a double/triple dash

I can't hyphenate the words Cam•bri•an--Or•do•vi•cian because they are connected with an endash. The same probably happens when using the emdash. I tried this ...
4
votes
1answer
159 views

babel: adding language shorthands to work inside glossaries

I added ngerman shorthands to my english babel as described here. But they do not work for glossaries, and probably in other macors as discussed here. I load all the acronyms as a separate file in the ...
4
votes
1answer
670 views

babel, beamer problem: refuse name change to part

I wanted to change the name in my beamer slide from Part to Theme. So in the Google BOK if found: \renewcommand*{\partname}{Theme} I could not get to work. Then I start to switch off (%) ...
4
votes
1answer
291 views

Changing “prefixes” in the Harvard bibliography

I am using the harvard-package for the bibliography of my reports, who are written i Norwegian. In my preamble i have the babel-package. However, when I use i.e. the @inbook entry in my .bib-file, ...
4
votes
1answer
29 views

Vietnamese babel: font consistency

I am writing a document in English, but want my name written in Vietnamese. I am using babel and mathpazo. The problem is that when I switch font to Vietnamese as in this minimal example: ...
4
votes
1answer
85 views

Combining dashes from babel with xspace

Assume we have some mathematical object that is used in formulae as well as in "natural" language (in my case, complexity classes). When defining a macro for such an object, I like to use \xspace so ...
4
votes
1answer
172 views

How to change hyphenation but not quotation marks in bibliography with biblatex?

I'm using biblatex with biber and an authoryear style for my bibliography. My main language is french, but I have different languages in my bibliography (so I load \usepackage[english, french]{babel}. ...
4
votes
2answers
3k views

Problems typing in Russian (MiKTeX)

I'm trying to make a LaTeX file in Russian. I wrote the following in the preamble: \usepackage[cp1251]{inputenc} \usepackage[T2A]{fontenc} \usepackage[russian]{babel} However, when I try to make ...
4
votes
1answer
419 views

Macro included via \include

I have a macro to define a text: \def\Title{Mein Titel und Langes"=Wort"=Beispiel} The dash "= is defined in babel/German and is used to activate the hyphenation in concatenated words. In ...
4
votes
1answer
377 views

efrench vs frenchb

What are the differences between efrench and frenchb? Are they compatible with one another (for example the use of \og and fg in frenchb)? Why is efrench not in TeXLive even though its documentation ...
4
votes
1answer
78 views

How to use pstool and babelbib in the same document?

I'm trying to use the pstool package and the babelbib package in my document. I couldn't manage to process an .eps image, when one of the languages loaded by babel is english. Here's an example, with ...
4
votes
1answer
293 views

Problem with multiple languages in BibTeX

I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code: \documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} ...
4
votes
1answer
370 views

Set biblatex smartand to small caps

I want to apply small caps to the final name delimiter using BibLaTeX. I tried the following \documentclass{article} \usepackage[spanish,es-minimal]{babel} \usepackage[style=american]{csquotes} ...
4
votes
1answer
152 views

autoref in French documents incompatible with TeX4ht

I'm currently using MiKTeX 2.9 on Windows 7 and can't get to compile a French document correctly. Here is a very minimal example: \documentclass[francais]{article} \usepackage[T1]{fontenc} ...
4
votes
1answer
58 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 ...
4
votes
1answer
302 views

Classicthesis in Chinese?

I wish to compile my dissertation in the beautiful classicthesis. My setting: Mac OX 10.6.8, TeX Live 2012 + LyX 2.0.5. I am able to work and produce document in Chinese elsewhere including in book, ...