Questions tagged [babel]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
44 views

Quotation symbol changes i to ï with Dutch language

\documentclass[a4paper,11pt]{report} \usepackage[dutch]{babel} \usepackage[utf8]{inputenc} \begin{document} het "interessante" voorbeeld \end{document} this results in ïnteressante"...
MrI2C's user avatar
  • 85
1 vote
1 answer
37 views

Changing the name of the table of contents

So I want to change the name of the toc from "Contents" to "Inhoudsopgave" I have already tried using a babel package and \renewcommand{\contentsname}{Inhoudsopgave} But neither ...
Jelle Lansbergen's user avatar
2 votes
1 answer
82 views
+50

Inline equation breaks when adding Hebrew text with the witharrows package

I use Latex and babel to do my homework in Hebrew. I also use the witharrows package to make arrows explaining steps in equations. It usually works fine: However, when I try to add Hebrew text to ...
Shai Avr's user avatar
  • 685
0 votes
1 answer
82 views

(LuaLaTeX) Why does text width between the same phrase in different sentences seem to be inconsistent when comparing these two examples?

I have these two examples of text that have both Cyrillic and Latin in them. It is for a personal thing I am working on, but I didn't realise that there was a bitnof an inconsistent feature with the ...
Felix Maldonado's user avatar
1 vote
3 answers
191 views

(Overleaf and LuaLaTeX) ы with acute stress only works correctly sometimes (using Times New Roman and STIX Two Text) [Not A Repost]

I posted a semi similar question a while ago where I asked about why the ы character did not appear correctly at all on TNR with the acute accent when using \'ы. I have a Chromebook and have ...
Felix Maldonado's user avatar
0 votes
1 answer
39 views

Error with tableofcontents while using ngerman in Markdown

I am new here and I need some help with my Markwodn document. I encoutered a nasty problem: When I try to knit my PDF, it gives me this error: tlmgr.pl: Remote database (revision 69711 of the texlive-...
Nepomuk's user avatar
  • 11
1 vote
0 answers
31 views

Auto punctuation with csquotes and babel

I am using csquotes to manage my quotes in a document using American English. My code is basically as follows. \documentclass{article} \usepackage[american]{babel} \usepackage{csquotes} \begin{...
Tom M. Ragonneau's user avatar
1 vote
1 answer
50 views

LuaLaTeX strange error with Noto CJK and babel onchar=ids fonts

I am converting a multilingual project to LuaLaTeX when it gave a strange error in a chemfig command: ! LaTeX Error: Command \rmfamily invalid in math mode. See the LaTeX manual or LaTeX Companion ...
M. Zhang's user avatar
  • 113
1 vote
1 answer
113 views

How to handle babel active characters when writing a package?

In the bodeplot package, I defined new environments using (defined like this to avoid issues with externalization of tikz graphics) \documentclass{standalone} \usepackage{pgfplots,xparse} \pgfplotsset{...
Rushi's user avatar
  • 827
-1 votes
1 answer
50 views

Babel package doesn't work with template

I'm using the Legrand Orange Book template (you can download the tex file from there or open it in Overleaf) and I am currently trying to obtain a document with the spanish language specs, but using \...
Blooment's user avatar
  • 666
7 votes
3 answers
469 views

The cancel package doesn't work sometimes in Hebrew

I use babel to write documents in Hebrew, and I use the cancel package to draw lines on terms in an equation for cancelation. Until now, this has been working fine. Recently, I tried to cancel a term, ...
Shai Avr's user avatar
  • 685
0 votes
1 answer
62 views

Hyphenation for different document languages (e.g. russian and swedish)

I am little bit unclear about the impact and the proper definition of the language for a document. e.g. \documentclass[a4paper,11pt,russian]{article} \usepackage[margin=2.5cm, showframe]{geometry} % ...
LeO's user avatar
  • 1,377
1 vote
1 answer
32 views

biblatex issue when loading babel

I use BibLaTeX to format my professional CV, with several, separate, "refsections" citing my publications. I recently moved into a new computer and noticed after installing the latest ...
Brian's user avatar
  • 321
0 votes
1 answer
56 views

XeLaTeX and svg - Package transparent Warning: Loading aborted, because pdfTeX is not running in PDF mode

I am using XeLaTex to compile the following LaTeX-code: \documentclass[]{book} \usepackage[UKenglish]{babel} % main language \usepackage{xeCJK} % for Japanese fonts (requires XeLaTeX) \...
edgar's user avatar
  • 1
3 votes
2 answers
57 views

Text in `\underbrace` isn't centered in Hebrew

I am using babel to make Hebrew documents, and I try to use the \underbrace command to put some information below an equation. Doing it in English works as expected, but when I do that in Hebrew, the ...
Shai Avr's user avatar
  • 685
3 votes
1 answer
95 views

How to use a consistent language for headers and footers with babel?

I have a Hebrew document with some English parts, and I am using the fancyhdr package to have headers and footers. I am using \begin{otherlanguage}{english} \end{otherlanguage} for my English parts. ...
Shai Avr's user avatar
  • 685
1 vote
0 answers
32 views

Margin notes don't show up in a Hebrew document

I am working on a Hebrew document, and I want to add margin notes. When I do this in an English document, everything works fine: \documentclass[a4paper, oneside, 12pt]{book} \usepackage{geometry} \...
Shai Avr's user avatar
  • 685
0 votes
1 answer
101 views

Clash between environ and babel (french) packages

The explicit code \documentclass{standalone} \usepackage[french]{babel} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usetikzlibrary{babel} \begin{document} \begin{tikzpicture} \begin{...
Rushi's user avatar
  • 827
3 votes
0 answers
36 views

Managing acronyms in bilingual document

I have a (big) document, mostly in english, with few chapters in french. I compile with pdfLaTeX. I use glossaries-extra (heavily) to define acronyms, and I would like to achieve the following: print ...
Alberto's user avatar
  • 31
2 votes
2 answers
406 views

Why does foreign language text not hyphenate even when using Babel? Typst hyphenates it correctly

Why do I not get the same hyphenation results as Typst when using babel in LuaLaTeX? I have tried various methods for fixing the issue, but they dont work. Both use Letterpaper sized paper, use custom ...
Felix Maldonado's user avatar
1 vote
0 answers
43 views

Hebrew text won't compile even though I use babel

so I'm using overleaf and for some reason Hebrew text won't compile, even when I use code that was perfectly fine a couple months ago. Here's some problematic code: \documentclass[a4paper, 10pt]{...
tcb93's user avatar
  • 167
2 votes
0 answers
82 views

Using biblatex in a document in catalan undesirable "urlalso: " text appears before links in references [duplicate]

I have been using Overleaf for uni work for a couple of years now and I have had rarely any issues I couldn't solve. On this instance I have ran into an issue with my references. I am using biblatex. ...
vedipo00's user avatar
1 vote
1 answer
61 views

Tikz's babel library not working under certain condition

The use of a functionality from the "quotes" library initially gave me an error. I changed the babel's language from "brazilian" to "english", and it worked. I went after ...
name_to_display's user avatar
1 vote
0 answers
68 views

Babel: Which languages are supported (e.g. for Portugues)

I read the Babel documentation and recognize that it supports several versions of Portuguese. According to the documentation I can specify additionally how e.g. the name of the ToC. The documentation ...
LeO's user avatar
  • 1,377
0 votes
0 answers
58 views

How I determine the font name to use in a command like \babelfont{} from the package that install the font?

I am using TeXShop on a Mac, and when I look at the installed packages, I see a couple of installed packages that include hebrew font - "culmus" and "hebrew fonts". When l look at ...
Michael Wagner's user avatar
1 vote
1 answer
81 views

Can anyone provide s minimal example of Hebrew/English document using Luatex/babel? (MacOS/TeXShop)

I am working on a novel, and I’d like to include very short bits of Hebrew. I can’t tell if I am having trouble with LuaLaTeX, babel, fonts or some combination. Here is a short document (which doesn’t ...
Michael Wagner's user avatar
0 votes
0 answers
45 views

Error: "Missing \endcsname" [duplicate]

I have a problem when compiling my Latex file. The problem seems to be the babel-package \usepackage[english,ngerman]{babel} (because the error goes away if I delete this line) the xsim-package and ...
garondal's user avatar
  • 445
0 votes
2 answers
55 views

PGF/TikZ conflict with French Babel (Beamer) [duplicate]

I am trying to include a TikZ figure in a French-language presentation. The Beamer script, without specifying the language, is as follows: \documentclass{beamer} \usetheme[progressbar=frametitle]{...
Saïd Maanan's user avatar
3 votes
1 answer
45 views

moderncv and Greek babel problem

I am working on overleaf and I have an issue when using moderncv and greek using the babel package. The following code shows the problem. I compile with pdfLaTeX. If I uncomment any of the mobile, ...
Ioannis E. Venetis's user avatar
0 votes
0 answers
43 views

Remove "thaithai" when using babel for Thai script

I am working on a multilingual document using babel. The main language is English and there are short passages in languages with other scripts. When I try to include Thai using \foreignlanguage, "...
user242399's user avatar
3 votes
1 answer
47 views

LTR item in beamer-rl

I am creating a presentation in beamer-rl. sometimes I have English item but the itemize environment is RTL. This is an example: \documentclass[babel={layout=lists},9pt]{beamer-rl} \babelprovide[...
Erfan Riahi's user avatar
0 votes
0 answers
35 views

Insert code source with listings and problem with special french characters [duplicate]

I'm having a problem using listings. Everything works fine until I want to insert special French characters such as é or è. From that moment on, I get an error message. However, I had specified in my ...
Alejd's user avatar
  • 1
1 vote
0 answers
39 views

Problem with babel and tikzcd [closed]

Consider the following MWE: \documentclass[italian]{standalone} \usepackage{babel} \usepackage{tikz} \usetikzlibrary{cd} \usetikzlibrary{babel} \begin{document} \begin{tikzcd} A \arrow[dr, "\...
brad's user avatar
  • 517
1 vote
1 answer
83 views

datetime2 warning in connection with babel: Date-time language module 'english' not installed

When I try to use the package datetime2 in conjunction with babel (English), I receive the following warning in the log: Package datetime2 Warning: Date-Time Language Module `english' not installed on ...
serval's user avatar
  • 107
0 votes
1 answer
19 views

Printing babel date.gregorian strings

I am creating a babel .ini file for my language, and I want to create an accompanying document that lists all strings defined in the said file. For captions, I can do this by calling \[key]name (e.g., ...
Einreinfall's user avatar
0 votes
0 answers
15 views

trivfloat + biblatex-abnt are requiring french

Why is LaTeX requiring french for the following document? \documentclass{article} \RequirePackage[brazil]{babel} \RequirePackage[T1]{fontenc} \RequirePackage[utf8]{inputenc} \RequirePackage[style=...
LRMAAX's user avatar
  • 213
1 vote
1 answer
64 views

Analogue of \proofname but for the word "Theorem" [duplicate]

Let's say I'm writing a macro which defines a proof-like environment for beamer. then I can use \proofname inside the definition, and the macro works fine with the default ("english") ...
Łukasz Grabowski's user avatar
2 votes
2 answers
69 views

Microtype plus eplain and portuguese

I am preparing a set of documents using eplain. The text is in portuguese, so I'd like to have proper hyphenation. At the same time, I would like to use microtypography enhancements. Here is my ...
Tássio's user avatar
  • 544
1 vote
1 answer
36 views

Error while running pgfplots along with babel (French)

I am trying to prepare a beamer presentation in French (using the babel package). In my presentation there is a histogram generated using the pgfplots package. This is my code: \documentclass{beamer} ...
Saïd Maanan's user avatar
1 vote
1 answer
34 views

Strange interaction between babel and tikz leads to compilation errors [duplicate]

I want to produce 3 versions of the same document in 3 different languages (catalan, spanish and english), also keeping a single source document. For that I define a "doclanguage" macro to ...
Orestes Mas's user avatar
0 votes
1 answer
40 views

some arabic words in beamer, babel xelatex problem!

How to insert some arabic words in a beamer presentation using the babel package and xelatex? I have tried the following code but the arab words are not displayed! \documentclass{beamer} \usepackage{...
Hafid Boukhoulda's user avatar
0 votes
0 answers
52 views

Conflict between babel package and tcolorbox package

This code: \documentclass[a4papaer, 12pt, landscape]{article} %%% Format margines ... \usepackage[margin = 15mm]{geometry} %%% Get more control over colors \usepackage[tabel]{xcolor} %%% Add ...
Emad's user avatar
  • 33
2 votes
1 answer
87 views

Languages & Undefined control sequence \caption

I try to compile the following code with luatex \documentclass[a4paper,11pt,latvian]{article} \usepackage[margin=2.5cm]{geometry} % for margins on a A4paper \usepackage[shorthands=off,bidi=basic]{...
LeO's user avatar
  • 1,377
1 vote
0 answers
105 views

Unknown option leads to error with babel and geometry

Consider the following example: \documentclass[logo height = 2\baselineskip]{article} \usepackage[french]{babel} \usepackage{geometry} \begin{document} Text in case of empty. \end{document} I am ...
Jinwen's user avatar
  • 8,226
4 votes
0 answers
62 views

How to set default fonts to custom families defined with babel?

I have custom font files which I load with \babelfont with custom settings: \babelfont{assistant}[ Extension = .ttf, Path = ./fonts/assistant/, UprightFont=*-Regular, BoldFont = *-Bold,...
Shai Avr's user avatar
  • 685
10 votes
1 answer
645 views

How can I get the English words in this mostly-Greek document not to render in Greek characters?

I'm trying to set a book in polytonic Greek with English sprinkled here and there throughout, but for some reason, when I try to switch to English, the characters stay Greek. Here's a MWE: \...
Joel Derfner's user avatar
1 vote
2 answers
78 views

Biblatex: conjunction translation in \parencite, \cite and \textcite

I am using Biblatex and Babel. I am trying to print a translated conjunction for \parencite, \cite and \textcite depending on the language I provide with langid. For reasons too long to explain, I can'...
Noire382's user avatar
0 votes
1 answer
31 views

how can I fix this interaction of the dialogue package and the textgreek package?

I'm trying to use the dialogue package and the textgreek package together, and something is going wrong. I'll confess I'm not super-familiar with either package, so it may be something obvious that I'...
Joel Derfner's user avatar
1 vote
1 answer
113 views

Use of Different Languages in Latex and How it Changes the Figure Labelling/Captioning Language

\usepackage[english, russian]{babel} \renewcommand{\thefigure}{5.1} \begin{figure}[h!] \centering \includegraphics[width=8cm]{Fig 8.5.1} \caption{} \label{Fig 8.5.1} \end{figure} This is the image ...
JustAnAveragePerson's user avatar
2 votes
1 answer
89 views

The `siunitx` package uses the wrong font for the micro symbol with babel

I use babel to write documents in my native language Hebrew. I also use the siunitx package to format numbers and units. I use custom fonts for Hebrew and English (for Hebrew since I need a font that ...
Shai Avr's user avatar
  • 685

1
2 3 4 5
34