Skip to main content

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
0 votes
0 answers
27 views

Vietnamese warnings with babel and biblatex

\documentclass{article} \usepackage[T5,T1]{fontenc} \usepackage[vietnamese, british]{babel} \usepackage{csquotes} \usepackage{biblatex} \begin{document} \foreignlanguage{vietnamese}{Ngô Bảo Châu} \...
Gargantuar's user avatar
  • 1,219
3 votes
1 answer
89 views

xfrac reverses numerator and denominator in align environment with babel

I use the xfrac package to make nice-looking fractions and I encountered a problem with it. I use the babel package to write my documents in Hebrew, and I found that using xfrac inside an align* ...
Shai Avr's user avatar
  • 909
0 votes
0 answers
34 views

xfrac behaves weird with babel and anyfontsize

I use the xfrac package to make nice looking fractions, and I noticed some weird behavior of this package. Let's begin with this simple example: \documentclass{article} \usepackage{amsmath} \...
Shai Avr's user avatar
  • 909
2 votes
0 answers
38 views

Using Block with the option [draw] in NiceMatrix, in combination with [spanish]{babel} leads to an error

I'm having trouble with NiceTabular and Babel (Spanish). The idea here is to draw a square around the letter 'A'. The draw option in Block doesn't seem to play nice with the [spanish] option in Babel. ...
Axel Graff's user avatar
0 votes
0 answers
35 views

Error with Latex , using Babel package and Randomizechoices package

I'm using the randomizechoices package to write a test. As shown in the following code. \documentclass[12pt,a4paper]{exam} \usepackage[spanish]{babel} \usepackage{exam-randomizechoices} \renewcommand{\...
Victor Perez's user avatar
2 votes
1 answer
92 views

I want to write a section in arabic in an overleaf template but the rest of the document is written in english

I'm using an overleaf template (https://www.overleaf.com/latex/templates/thesis-template-faculty-of-engineering-ain-shams-university/ykvrxppdjqmz) to write my thesis and I wanted add a section written ...
Mariam Hesham's user avatar
0 votes
0 answers
22 views

\usetikzlibrary{babel} does not work [duplicate]

In this code: I want to label an angle. I made \loesung to make one document with \loesung to hide. Otherwise i allways need two documents and herw i can switch the toggle showcomment and everything ...
Patrick's user avatar
  • 149
2 votes
1 answer
34 views

How to use Babel transforms?

The Babel manual sction 1.22 describe transforms. Can someone explain how can they be used in the code I provide to transliterate sanskrit using the Harvard-Kyoto method (also in the manual) 1.22 ...
yannisl's user avatar
  • 118k
1 vote
0 answers
29 views

How do I include/define multiple english fonts within babel?

How might I be able to include multiple english fonts within a babel document (that has english as its main language)? For example, how might I use a different font (or subfont within a font family) ...
Epimanes's user avatar
  • 111
2 votes
0 answers
86 views

Latex text reversing with Babel package

I am using the babel package, which causes text-reversal when combined with amsmath. The exact list of packages I use is: \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} % Workaround ...
TheEmeritus's user avatar
2 votes
0 answers
76 views

Can't get rid of the "Package biblatex Warning: Please rerun LaTeX"

I'm working on a multilingual document that uses the biblatex package to manage my bibliography. While the output looks correct, I'm getting a persistent error that I haven't been able to resolve ...
Mycroft_47's user avatar
0 votes
0 answers
24 views

Use babel language selector in biblatex/biber URL

In an English document with occasional Thai words, I've been able to use babel's Thai language selector to good effect, including in citations, but not in URL citations (which are unicode-encoded ...
bongbang's user avatar
  • 407
0 votes
0 answers
27 views

changing scale of font in babel

Is there a way to change the scale of a font within babel? Specifically, the Hebrew is smaller than I'd like it. Is there a way to make it a little larger? Here's the document I'm working with: %!TEX ...
Epimanes's user avatar
  • 111
3 votes
1 answer
123 views

Text above equal sign in an align or gather environments is misplaced with babel?

I write my homework in Hebrew using babel and lualatex. I encountered a weird bug that if I put an \eqref above something inside an align or gather environment in Hebrew, then the reference moves to ...
Shai Avr's user avatar
  • 909
3 votes
2 answers
94 views

babel otherlanguage environment causes lettrine to stick into the margin

In typesetting documents where there are extended passages in ecclesiastical Latin and then the vernacular (English), I set babel to accommodate this and as the main language is Latin, I use \begin{...
DomMocquereau's user avatar
0 votes
0 answers
35 views

Using `\babelfont` with `newtx` for multilingual typesetting

I'm writing my thesis in English (american) and use, amongst others, babel. For the font, it seems that the best/easiest way to use "Times New Roman" for both text and maths is the newtx ...
Jonas Zaugg's user avatar
1 vote
1 answer
37 views

with llncs.cls, using babel turns compression of bibliographic references off, and dropping babel turns it on

Feeding \documentclass{llncs} \pagestyle{empty} %\usepackage{babel} \begin{document} \cite{A,B,C} \begin{thebibliography}{} \bibitem{A}A \bibitem{B}B \bibitem{C}C \end{thebibliography} \end{document} ...
AlMa1r's user avatar
  • 541
0 votes
2 answers
53 views

Using ucharclasses and babel together

How can I use ucharclasses with babel in XeLaTeX while defining the font with \babelfont? Alternatively, is there a method to achieve automatic locale and font switching in XeLaTeX, rather than ...
Inverted Pastry's user avatar
4 votes
1 answer
70 views

Strange behaviour with tikz[babel] with pdfLaTeX

I noticed a strange behaviour of label processing in tikz when used with the tikzlibrary babel and with pdfLaTeX. Here is the code \documentclass[frenchb]{article} \usepackage{tikz} \usepackage{babel} ...
paulbou's user avatar
  • 103
1 vote
0 answers
34 views

I want to write in English, dutch and Hindi in the same document with babel [duplicate]

I have already have a set of code for writing document in English and dutch \RequirePackage[dutch,English]{babel}, It tried incorporating hindi, but it is showing error.
Anjana Ekka's user avatar
4 votes
1 answer
82 views

right-to-left lists with l3doc

I've run into a couple of problems with typesetting my documentation with the l3doc class. Here's the first: When typesetting a right-to-left list with a \leftmargin, no margin is inserted. This does ...
David Purton's user avatar
  • 26.4k
3 votes
2 answers
130 views

Setting font face for \mathrm in math mode

Regarding my previous question (Setting multiple language environments in LaTeX) -which is about setting different fonts for multiple language environments, I have read answers from @cfr and @Davislor ...
mickmix's user avatar
  • 43
4 votes
2 answers
97 views

Adding \kern to Thai language in babel breaks line breaking

If I add a \kern in Thai text, it seems to break line breaking. (Disclaimer: I don't read or write Thai.) How can I fix this? (I'm using \kern to add a little bit of unbreakable space, so happy with ...
David Purton's user avatar
  • 26.4k
0 votes
1 answer
96 views

bidi document grouping, list environment and display math interaction

I'm trying to debug some of my code which works when everything is LTR and works when everything is RTL, but fails when main document direction is different to the direction inside one of my ...
David Purton's user avatar
  • 26.4k
1 vote
0 answers
212 views

Problematic install of babel-scottish

Here are two failed attempts to install the downloaded (by MiKTeX) files for babel-scottish. It seems to revolve around the missing file hilatex-dev.fmt presumably needed for XeLaTeX. The internet ...
hsmyers's user avatar
  • 1,573
0 votes
1 answer
49 views

(LuaLaTeX) What's the best bidi option when having a bidirectional multilingual document?

I'm having a dilemma over whether to use bidi=basic, bidi=default or bidi=basic-r when using both English and Farsi/Persian. I have the follwoing code: \documentclass[letterpaper,12pt]{article} \...
Felix Maldonado's user avatar
1 vote
0 answers
40 views

Estonia - babel typesettings

As a follow up of my previous questions I have a problem with babel and estonia. \documentclass[a4paper,11pt,estonian]{article} %\documentclass[a4paper,11pt,british]{article} \usepackage[margin=2.5cm]{...
LeO's user avatar
  • 1,491
1 vote
0 answers
30 views

Estonian - typesettings (or catcode10)

I tried to adapt this solution for usage in my project. ONE of my problem is that when using estonian language the hyphens in the detect macro are not treated properly - i.e. they appear as squared ...
LeO's user avatar
  • 1,491
1 vote
2 answers
59 views

Table of contents doesn't display chapter names in memoir class after adding Hebrew as secondary babel language

I wanted to include a few Hebrew characters in the text of a memoir. If I write \usepackage[hebrew,english]{babel} in the preamble though, chapter's no longer have names in the table of contents. They ...
tsj's user avatar
  • 580
2 votes
1 answer
100 views

Argument of \language@active@arg< has an extra }

I have the small MWE: \batchmode \documentclass[twoside]{book} \usepackage[spanish]{babel} \begin{document} \chapter{Referencia \texorpdfstring{$<$}{<} } \end{document} And this results (...
albert's user avatar
  • 1,337
6 votes
1 answer
131 views

Problems with \Ref and babel (The Latex Companion 3rd edition p.78)

Having just bought The LaTeX Companion Third edition, I'm testing the examples given in the book. On p.78, the example treats of the using of \labelformat and \Ref. \documentclass[10pt,a4paper]{...
paulbou's user avatar
  • 103
1 vote
0 answers
31 views

Change language for specific fields using biblatex-ms

I am writing documents in French compiled with XeLaTeX and using biblatex to manage references which contain other languages. When I need to change the language settings of some fields, I typically do ...
Namrod's user avatar
  • 106
0 votes
0 answers
29 views

Warning when using BibLaTeX for a Spanish article, it does not print the citations or references [duplicate]

I am trying to create a Spanish article template using BibLaTeX (because using natbib print "and" instead of "y" (or "&")). However, when I compile it, it does not ...
nandhos's user avatar
  • 163
0 votes
0 answers
70 views

eqref fails in local compilation, but works on Overleaf

I am trying to transition from Overleaf to a local workspace and set up VSCode with the Latex Workshop extension as my Latex IDE, and I faced a weird problem. I work on Hebrew documents and I use ...
Shai Avr's user avatar
  • 909
2 votes
1 answer
155 views

babel+newtx+superiours+stmaryrd+LS1+LS2+biblatex+biber+\cite+\mathsf+\mathit+\mathbf+\printbibliography = swallowed space after math mode

Running pdflatex+biber in a loop till stabilization on \documentclass[USenglish]{article} \pagestyle{empty}% only to omit the page number \usepackage{babel} \usepackage{newtx} \usepackage{superiors} \...
AlMa1r's user avatar
  • 541
0 votes
1 answer
47 views

Missing Arabic character in FreeSerif font / document mixing Korean, English, and Arabic

I've got a document that has English, Arabic, and Korean in it; I'd solved the "English-Korean" combination but anything I tried to do that added Arabic caused a clash with what worked for ...
Sara L. Uckelman's user avatar
1 vote
0 answers
20 views

Lualatex Babel Hebrew working with Article class but not with Beamer [duplicate]

This compiles and the Hebrew is visible: % !TEX encoding = UTF-8 Unicode \documentclass[english]{article} \usepackage[bidi=basic]{babel} \babelfont{rm}{Times New Roman} \babelprovide[import, onchar=...
Nick's user avatar
  • 11
2 votes
3 answers
68 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
  • 125
1 vote
1 answer
62 views

Changing the name of the table of contents [closed]

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
2 answers
139 views

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
  • 909
0 votes
1 answer
91 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
212 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
58 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
38 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
60 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
128 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
  • 837
-1 votes
1 answer
74 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
  • 676
7 votes
3 answers
506 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
  • 909
0 votes
1 answer
88 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,491
1 vote
1 answer
36 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

1
2 3 4 5
35