{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

2
votes
2answers
379 views

special characters not showing (mathexam+babel)

I am trying to edit a exam using a template I found on internet (article using mathexam package) but since I have to use special characters of Brazilian portuguese (like á, à, ç, ã, õ, ô, â, ê) my ...
2
votes
1answer
358 views

Hyperref font selection problem with babel and french

How one can change font in the text form? \documentclass{standalone} \usepackage{xcolor} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[english,russian,french]{babel} ...
2
votes
1answer
409 views

Scaling tikzpicture with Babel spanish package

I have the following code: \documentclass[a4paper,10pt]{article} \usepackage[utf8x]{inputenc} \usepackage{tikz} \usetikzlibrary{matrix,shapes,arrows,positioning,chains} ...
2
votes
2answers
48 views

Fail to redefine enumerate when babel used

I wish to redefine the enumerate environment to have a continuous numbering through the different lists. I managed to do this, but my solution fails when using the babel package. Here is my ECM: it's ...
2
votes
1answer
147 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} ...
2
votes
1answer
188 views

Hyphenation, apostrophes and a bi-language document

It would appear pdflatex (with [frenchb,english]{babel}) does not do hyphenation of words with an apostrophe. For example, I wrote "l'arithmétique" which was not hyphened, and the commands ...
2
votes
2answers
184 views

2 Arabic words just using Babel Arabic and Roman letters

I need to put the Arabic words for deaf and restoration into an English language book review. I know what these should look from the book under review, but I can't find a guide for the Roman letters ...
2
votes
1answer
174 views

How can I pass babel options through class options?

I built a class upon the article class. This class load a package where the \maketitle command is define. If I do not load babel inside the class, the title of the document is always in english (the ...
2
votes
1answer
137 views

soul package does not work with user-defined language shorthands

Using \caps from the soul package with user-defined language shorthands generates an error. However, it works fine with language shorthands defined by babel itself, e.g. by using ...
2
votes
1answer
30 views

Improper \spacefactor after switching to babel?

After switching from ngerman package to babel with ngerman option, I get a "improper \spacefactor" error on this text part: $\glq$Kostendeckungsprinzip$\grq$ Any idea where this error comes from? ...
2
votes
1answer
96 views

Babel, tikz and Beamer do not work together

The following code fails to build with the message ! Argument of \language@active@arg" has an extra }. \documentclass[dvipsnames,unknownkeysallowed,12pt]{beamer} \usepackage[brazil]{babel} ...
2
votes
1answer
35 views

Referencing an URL: Change “Retrieved from” to “Available here”

I have some URLs in my references. When using \usepackage[ngerman]{babel}, "Retrieved from [some URL]" turns into "Zugriff auf [some URL]", e.g. I would like to change "Zugriff auf" into "Verfügbar ...
2
votes
1answer
143 views

How to reduce number of hyphenation patterns preloaded in MikTeX?

MikTeX comes with 69 languages preloaded as reported at compilation time: This is XeTeX, Version 3.14159265-2.6-0.99992 (MiKTeX 2.9 64-bit) (preloaded format=xelatex 2015.11.9) 13 NOV 2015 10:35 ...
2
votes
2answers
68 views

Is in babel [canadian]=[USenglish]?

I'm currently writing a letter to canada and therefore use \usepackage[canadian]{babel}. But would it be the same to use [USenglish]?
2
votes
1answer
27 views

babelbib “disables” substitution in English, but not in German

I have a really weird problem: When changing the babel language in combination with the use of babelbib, certain substitutions stop working altogether. It took me hours to track down this cause. ...
2
votes
1answer
93 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 ...
2
votes
1answer
152 views

Failure with [greek] babel and lastpage, \frontmatter?

I have a large document, for which I wanted to generate "precompiled headers" (TikZ's externalization and mylatex (note, \jobname should be the same)) and thought I'd use mylatexformat for it ...
2
votes
2answers
245 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 ...
2
votes
1answer
222 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 ...
2
votes
1answer
323 views

how to change the word 'preface' in Scientific Workplace 5.5

I'm having a problem with the language in SWP 5.5. I am writting a text in spanish, so I am using the \usepackage[spanish]{babel} sentence at the beginning of the document and it works perfectly with ...
2
votes
1answer
2k views

babel and \contentsname, how to add extra customization?

This is what I'm trying to do: \renewcommand{\contentsname}{ \vspace{-8mm} {\Huge Table of Contents}\vspace{-3mm} \rule{\linewidth}{0.5mm} \\[-4mm] } Using babel, I can get this code to work: ...
2
votes
1answer
19 views

Problems combining packages newlfm with babel[spanish]

I am writing a letter with package newlfm and babel[spanish], and some construction from spanish do not work commands from newlfm. Here is a minimal working example: ...
2
votes
1answer
54 views

How to get babel's language shorthands work inside biblatex entries with autolang=hyphen and langid fields?

I'm writing a German document, where I frequently cite works in English and other languages. Used to babel’s shorthands in ngerman for easily modifying hyphenation symbols in compound words or names ...
2
votes
1answer
63 views

It is possible to load babel with a default language if none is specified in the class?

I would like to write a class that loads the package babel with a default language but that this language could be overridden by a language specified in the class options. MWE: ...
2
votes
1answer
71 views

Setting [frenchb]{babel} with biblatex puts author names in small capitals. How to get back to first letter capitalized? [duplicate]

I am confused by the way the authors' names are capitalized when both biblatex and frenchb in bbel are used. There is no reference to this behavior in either documentation and I don't know how to make ...
2
votes
1answer
98 views

Chicago Template Bib(La)Tex [Biber] convert to XeLaTeX for Hebrew support

%runs in texmaker with Quickbuild = pdflex->biblatex->pdflatex(x2)->view pdf %that makes all the citekeys hook up to the .bib file and makes ibid work and all that stuff Adding little bit ...
2
votes
1answer
105 views

moderncv and babel greek cause “Missing \endcsname…” error

I am trying to create my CV by using Overleaf: %% start of file `template.tex'. %% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com). % % This work may be distributed and/or modified under the % ...
2
votes
1answer
80 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 ...
2
votes
1answer
116 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 ...
2
votes
1answer
216 views

Conflict between mdframed and amsthm packages with the use of czech babel

I would like to have theorems in boxes. I am working with amsthm and mdframded packages (I use the syntax utilized in Legrand Orange template). It works well with different babels (english, spanish, ...
2
votes
1answer
90 views

Bibliography string 'by' undefined in Canadian

I use babel with the canadian language, and biblatex-chicago. If I use a @inbook reference with a bookauthor field, I get the following error: Bibliography string 'by' undefined at entry 'smith' on ...
2
votes
3answers
285 views

Babel for hebrew

I am not able to write in Hebrew with latex. Every time I try to compile the process ends with a question mark. The following is an example of the document I am using: \documentclass[dvips, a4paper, ...
2
votes
1answer
198 views

Using language Portuguese on Appendices throws unsupported control sequence [duplicate]

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. ...
2
votes
1answer
93 views

Removing the bibliography name

I use the »babel« package with option bahasa . For bibliography purposes, I make the section "Daftar Pustaka", but thebibliography environment produced "Pustaka". So there are two titles. How to ...
2
votes
1answer
199 views

Problem with title languages from thesis template

I'm using LaTeX in order to write my thesis and to make a good impression to the reader. As long as I'm not a very experienced user I use a template from Master/Doctoral Thesis from LaTeX Templates. ...
2
votes
1answer
345 views

Change headings to another language when using elsarticle

After downloading the article template of Elsevier (elsarticle) and using it, I discovered that babel is not working. \documentclass[preprint,a4paper,12pt]{elsarticle} \usepackage[dutch]{babel} ...
2
votes
1answer
742 views

How does one change the babel language with the ClassicThesis style?

It's all in the title. The issue is simple, I just wish to change the language so that I can type in french using babel. The original languages are ngerman and american. I just want to replace the ...
2
votes
1answer
769 views

babel's \foreignlanguage works for Russian, but not for Serbian

I was trying to write the Serbian alphabet using: \usepackage[serbian, english]{babel} ... \foreignlanguage{serbian}{D d} But I get nothing. When I try this with e.g: \usepackage[russian, ...
2
votes
1answer
249 views

How to change the order of algorithm number and name in algorithm2e?

I have to write an algorithm in Hungarian, where the caption must look like: 1.3. Algoritmus: caption of alg instead of the usual style Algorithm 1.3: caption of alg. Until now I had no ...
2
votes
1answer
4k views

How to change my bibliography title using bibtex and miktex 2.9

I have a problem changing the title of my bibliography using bibtex and miktex 2.9. I've read varius sources already and tried different things, but the answer that popped up most and should be ...
2
votes
1answer
312 views

No tracking with Microtype + russian babel + mathdesign

I'm trying to compile the following code based on "more realistic example" from microtype.sty manual, Sect. 5.3. It works without babel (or with, say, french option) or without mathdesign. But with ...
2
votes
1answer
2k views

Adding language to MiKTeX installation

My native language is Serbian and it is included in MiKTeX distribution for Windows. However, there is only latin version of it, and I'd like to use cyrillic Serbian. I tried searching the Internet ...
2
votes
1answer
72 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] ...
2
votes
1answer
207 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 > ...
2
votes
1answer
428 views

Using Babel inside my own package produces option-clash error

I want to write my own package which provides an \affidavit command which produces some standard text in two languages (ngerman and english). Minimal working example of this package: ...
2
votes
1answer
55 views

Why does adding shorthands to language extras no longer work?

It used to be that this worked: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[main=american,ngerman]{babel} \addto\extrasamerican{\languageshorthands{ngerman}} \begin{document} ...
2
votes
1answer
132 views

Elegant way to write multilingual document

We want to generate a document that contains parts in different languages (e.g. Dutch, French and English). The problem is that these languages have different hyphen patterns and notations (e.g. in ...
2
votes
1answer
3k views

Babel Error: Undefined Control Sequence

I'm running into a bizarre issue with the Babel package that I haven't seen before and would love some help figuring out a solution. First, I'll give an example of something that does compile ...
2
votes
1answer
670 views

Problem with language, book class, and Table of Contents

I have this simple piece of code here: \documentclass[11pt]{book} \begin{document} \tableofcontents \clearpage \section{Dummy section 1} \section{Dummy section 2} \end{document} And every time I ...
2
votes
1answer
283 views

using the chronology package with babel french option

I'm trying to use the chronology package and it works fine with the english option in the babel package but if I use \usepackage[french]{babel} It doesn't work anymore. I've found a solution ...