{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
716 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
66 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
70 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
253 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
225 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
75 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
766 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
305 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
196 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
351 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
276 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
249 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
508 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
113 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
369 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
241 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
552 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
43 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
2answers
61 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
68 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
748 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
138 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
438 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
426 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
78 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
58 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
96 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
490 views

How can I define bullet style for itemize with french option babel?

I would like to use itemize environment with the bullet style before each item. I found out that the french option with the babel package seems to define the dash style for the itemize environment. It ...
4
votes
1answer
79 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
319 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
165 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
687 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
295 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
44 views

French “Tableau” and English “Table” captions in tables in one LaTeX document

In my thesis I have french resume part, but main text is in English. I need to have in the resume French tables naming (Tableau) in table captions and in the main part instead of Tableau the English ...
4
votes
1answer
34 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
87 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
179 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
429 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
383 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
80 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
311 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
375 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
155 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} ...