Questions tagged [babel]

{babel} is a package that manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages.

4
votes
1answer
38 views

How to write in english in an arabic text?

I am writing the abstract for my master thesis and I used this code in order to get three abstracts with three different languages - french, english, and arabic - on the same page. The code works ...
2
votes
1answer
36 views

Caption alignment, subfig and Babel

After many years of getting great answers here it is time to post my own question. I'm writing my thesis and as I need to write the abstract also in Hebrew I'm using the babel package. In the body of ...
1
vote
2answers
119 views

tlmgr: Remote repository is newer than local (2018 < 2019)

I know this question looks like a duplicate but it's not, all the other solutions are not working for me. I'm using debian 10 buster and I installed texlive with: sudo aptitude install texlive ...
1
vote
1answer
30 views

Possible to use$ \C$ for complex numbers with T2A encoding?

In using pdflatex on a document in English that will include some Cyrillic text. For math, I'd like to use $\C$ for the set of complex numbers. But the T2A encoding needed for babel with its russian ...
7
votes
1answer
143 views

numbering from Indian to arabic “arabic babel”

\documentclass[12pt]{arabbook} %%%%%%%%%%% packages \usepackage{fancyhdr} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english, arabic]{babel} \usepackage{t1enc} \usepackage{float} ...
0
votes
1answer
49 views

LuaLaTeX with babel/hebrew wants etex-extensions

Using texlive 2017 (same with texlive 2019), when i try to run the following minimal tex file (Hebrew font is https://www.sbl-site.org/educational/biblicalfonts.aspx; default font is Adobe's Minion ...
3
votes
1answer
61 views

LuaLaTeX engine, babel and pdfx package

There is one error with the combination of spanish babel, pdfx package, and LuaLaTex engine, how it is very easy to test with this MWE: \documentclass{article} \usepackage[spanish]{babel} \...
0
votes
0answers
39 views

Multiple language typesetting using Babel

I want to write languages such as spanish, english and urdu as well as some indic languages such as hindi, tamil and bangali in the same texfile using Babel package. I have tried on spanish+english ...
1
vote
1answer
42 views

How can I make \Alph using standard latin letters while using new ukraineb.ldf (babel ukrainian)?

Normally, \Alph and \alph command produce enumeration A, B, C, ... and a, b, c, ... respectively. Some days ago I installed a new MikTeX version and found, that, while using \usepackage[ukrainian]{...
0
votes
1answer
46 views

Writing farsi in Texstudio with it's Quick start “Wizard”

Simple configuration for writing Farsi results in: \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[farsi]{babel} \author{S. M. Saadatmand} \begin{document} سلام %I've ...
0
votes
1answer
53 views

How can I have two languages in the 'baposter' template?

I found this template and want to be able to change between two languages . I used the following commands in the poster.tex and baposter.cls files, respectively, but I have some strange letters. [...
1
vote
4answers
82 views

How to add support of several unicode letters inside a document?

I have a few dozens of letters that I want to use inside document without auxiliary symbols (as a plain text). How should I tune up latex for it? I.e. As I see babel package allows to solve the same ...
1
vote
1answer
54 views

Custom hyphenation for a different language

I load babel and specify the default language, but adding words of that language to \hyphenation{} command results in a number of errors: Improper \hyphenation will be flushed. \hyphenation{в ...
2
votes
2answers
68 views

How to translate “Keywords” to Spanish “Palabras claves”

I am writing a document in Spanish using the template Springer Lecture Notes in Computer Science (LNCS)and I want to change the predefined "Keywords" to the Spanish term "Palabras claves" I am ...
1
vote
1answer
28 views

Section/Subsection naming in Greek

I would like to replace the words "Secon" and "SubSecon" with something in Greek. Also i would like to have the Table of contents showing everything correctly. Here is my code: \documentclass{article}...
1
vote
2answers
113 views

What is the difference between "= and \hyp{}?

Sometimes I see questions talking about using "=, others just use \hyp{}. Are they the same thing? For example, on these questions you find both "= and \hyp use: Hyphenation of words containing ...
0
votes
1answer
34 views

How to activate or deactivate babel layout locally

Consider this example, how to deactivate tabular layout in RTL context \documentclass{article} \usepackage[nil,bidi=basic-r,layout=counters.lists.tabular]{babel} \babelprovide[import, main]{arabic}...
0
votes
0answers
37 views

Problem with hyphenation in Ubuntu ( No hyphenation patterns were preloaded for french babel)

I have a problem when compiling a latex document in Ubuntu (18.04). I am using TeXmaker et MikTeX. The message is Package babel Warning: No hyphenation patterns were preloaded for (babel) the ...
1
vote
1answer
36 views

Differences between \documentclass[spanish]{article} and \usepackage[spanish]{babel}

This is my second post in latex-SE. Here is a very (I think) basic question, but I could'nt find a precise answer yet: What exactly does the command \documentclass[spanish]{article} and what sets it ...
4
votes
1answer
131 views

How to show element name in portuguese using elements package?

I have to do a big table using the chemical elements names in portuguese. I'm using the elements package to do that, but don't works. Below following a few examples. \documentclass{article} \...
1
vote
1answer
31 views

Babel shorthands not working with `beamer` class (quotation mark not recognized as active character)

For the German language the babel package defines a set of shorthand commands that I use quite often. They all start with a quotation mark (") which is redefined as an active character. In detail, I'm ...
1
vote
0answers
60 views

Fix display of page range in bibliography using a babel language

Consider this example: \documentclass{report} \usepackage[backend=bibtex]{biblatex} \usepackage[latvian]{babel} \addbibresource{testbibfont.bib} \begin{document} See \cite{article} \printbibliography ...
6
votes
1answer
158 views

Creating a document with mixed languages

I am typing a document in both Chinese and Hebrew. When I use the following codes for Chinese, everything works fine: \documentclass[UTF8]{ctexart} \begin{document} \tableofcontents \begin{...
1
vote
2answers
91 views

Fix horizontal space before lists in LTR context when text direction change within frame

Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame. \documentclass{beamer} \usepackage[nil,bidi=basic-r,layout=...
0
votes
1answer
26 views

How to add babel captions to newfloat package environments?

This minimal example, will produce the following PDF: \documentclass[12pt]{abntex2} \usepackage[utf8]{inputenc} \usepackage{newfloat} \DeclareFloatingEnvironment[fileext=loq,placement={!hbtp}, ...
1
vote
2answers
54 views

Error @fileswith@pti@ns

So, I am having problem with this and couldn't find an answer. \documentclass[margin, 10pt]{res} \usepackage[res] \usepackage[brazilian]{babel} \usepackage{color} \usepackage[utf8]{inputenc} \...
5
votes
0answers
105 views

Decide between Polyglossia and Babel for XeLaTeX in 2019

Which are the key questions one has to ask to decide between Polyglossia and Babel for a XeLaTeX project in 2019? There has been a similar, more general question in 2012, but the packages have ...
1
vote
1answer
60 views

How to override command on my preamble, after its redefinition by my class with renewcommand?

I use this document class abntex2 from: https://ctan.org/pkg/abntex2?lang=en, but when I generate this: \documentclass[12pt]{abntex2} \renewcommand{\listfigurename}{Lista de Figuras} \begin{...
1
vote
1answer
34 views

language dependent citations and natbib

This is a question about how BibTeX and TeX interact. In this question: Apalike style several languages the OP asks for a way to get citation callouts with French in one part of the document, and ...
13
votes
2answers
630 views

Decide between Polyglossia and Babel for LuaLaTeX in 2019

Which are the key questions one has to ask to decide between Polyglossia and Babel for a LuaLaTeX project in 2019? There has been a similar, more general question in 2012, but the packages have ...
1
vote
1answer
41 views

Why does babalpha remove dashes?

Continuing https://tex.stackexchange.com/a/472956/165772 and https://gist.github.com/moewew/6a59fc23db6d2ab219b6f189a3645a06 , I noticed that the dash in name of an author may get replaced by a space. ...
0
votes
1answer
144 views

Argument of \language@active@arg" has an extra }. <inserted text> \par l.298 …el{chap:references}Literaturverzeichnis}] {}

I keep getting this error when compiling my pdf. I'm using the german language in babel I have no idea which of my references could be causing it. \usepackage[ngerman]{babel} \usepackage[german]{...
0
votes
0answers
22 views

tocloft and babel (possible) incompatibility

I am trying to change the default section title for the TOC, renewing tocloft's \contentsname macro: \documentclass{article} \usepackage[american]{babel} % (*) THE STARRED LINE \usepackage{tocloft} ...
0
votes
1answer
33 views

How to complete these side borders in Beamer? [duplicate]

There are some great answers here and here about the same issue but different code samples, in this case I am using a new package beamer-rlCTAN with last update of Babel package, it solves problems ...
1
vote
1answer
67 views

LuaLatex and bidi (Hebrew/German)

Using polyglossia or babel/bidi with LuaLatex seems to cause different problems. In my case I am totally helpless. I need to use the \texthebrew and \RL commands, but I can't get it run. Also, I don'...
2
votes
1answer
57 views

Arabic and greek inline text in russian document pdflatex

I'm quite new to Latex. Maybe this can be easily solved, but I could not find the solution. I'm trying to make document in Russian language with Arabic and Greek inline text in pdflatex. But it keeps ...
2
votes
1answer
60 views

Incompatibility between kvoptions and babel

I'm using kvoptions in my document class and it's worked nicely so far, but after a major rewrite I started getting strange errors that I was able to trace back to the babel package. MWE: %% myclass....
1
vote
1answer
64 views

print list of citation with “und” in German

Running the usual pdflatex-bibtex loop on \documentclass{article} \usepackage[american,ngerman]{babel}%%% The book is in German. \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{...
4
votes
2answers
51 views

Use localized quotation marks, hyphenation and ponctuation in BibLaTeX using langid for entries title

What I get: A. Author, « Some article title ? ». Whatever Journal. B. Buthor, « Un article ? ». Another Journal. What I would like: A. Author, “Some article title?”. Whatever Journal. ...
4
votes
2answers
122 views

Does babel portuguese obey the new ortography rules (Novo Acordo Ortográfico)?

I just noticed that, when I use babel Portuguese, a rule like \today produces something like 13 de Março de 2019. But this is wrong in regards to the new orthography of Portuguese (Novo Acordo ...
1
vote
0answers
22 views

British English date in elsearticle in OUP style, without “th”

Upon running pdflatex on the input \documentclass{elsarticle}%%% Version 3.1. Actually I use the options [nonatbib,twoside,preprint] or [nonatbib,twoside,review], but it's irrelevant, I hope. \...
0
votes
1answer
27 views

XeLaTex + babel (\addto\extras{lang}) + hyperref

Example % Based upon https://www.sharelatex.com/templates/cv-or-resume/professional-cv %%%%% Preamble %%%%% % Paper size = a4paper % Text body font size = 12 pt % Margins[all] = 1 in % Page ...
0
votes
0answers
34 views

Change language option with Babel not working. OVERLEAF template

I used a Template from OVERLEAF to write a document. I am using \documentclass[spanish,oneside,12pt]{Classes/RoboticsLaTeX} \usepackage[spanish,es-nodecimaldot,es-tabla]{babel} but it wont change ...
5
votes
4answers
146 views

Avoid fontspec warning with babel

I have this example \documentclass[hyperref=unicode]{beamer} \usepackage[english,nil,bidi=basic-r]{babel} \babelprovide[import=ar-DZ, main]{arabic} \babelfont{rm}{Amiri} \babelfont{sf}{Amiri} \...
2
votes
2answers
52 views

Invoice class language issue

I would like to change the custom description in the invoice class with custom description in greek. Problems: I could change some english descriptions that are in english but I can't change the ...
0
votes
1answer
185 views

Limit controls must follow a math operator

I'm receiving "Limit controls must follow a math operator" error. Googled it, tried, nothing helped. Appears on Overleaf 2.0, using makefile in Cent OS, Fedora. Using pkgs geometry, amsmath, amsthm, ...
0
votes
1answer
56 views

Formatting issues

With the following code: \RequirePackage[ english, ngerman]{babel} \RequirePackage[ autostyle = true, babel, german = quotes]{csquotes} \RequirePackage[ authordate, ...
11
votes
1answer
669 views

Typing Amharic inside a math equation?

I want to type the following Here is my MWE: \documentclass{article} \usepackage{ethiop,amsmath} \begin{document} \[ \int_{\mbox{'alamenahe}}^{\mbox{'abAs}} \mbox{'abAs}=\mbox{'abAs} \] \end{...
0
votes
2answers
85 views

PdfLatex, Template and Greek Language produces compilation error

I am having a serious problem that I do not know how to solve. I am using overleaf and the bristol template to write my thesis. I am mostly writing in english but I need to write an abstract in greek....
2
votes
1answer
61 views

Biblatex conflicts with Babel package for serbianc option

When compiling the following example code: \documentclass[a4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[serbianc]{babel} \usepackage[backend=biber]{biblatex} \...