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
47 views

Loading two font packages for different languages creates spacing issue

I have a long text in English with one pages and one more word in Serbian. Originally, the package used was for typesetting is fourier. The package works well, except that it is missing fonts for the ...
  • 123
1 vote
2 answers
51 views

Strange issue with `\url`

I have a problem with \url. When I use it, LaTeX (i.e., pdflatex with TeXstudio) won't end compiling. I have a main document with several included .tex files, each of them containing a different ...
  • 1,850
1 vote
1 answer
24 views

Symbol for decimal separator overwriten by `mathastext`

I found out that mathastext is interfering with spanish options for babel package. More precisely, when mathastext is loaded, the default decimal separator in Spanish, which is a comma, is replaced ...
  • 1,850
0 votes
0 answers
16 views

xsim, babel and tikzcd clash: quotation marks

I'm trying to write a simple commutative diagram like A \arrow[r, "f"] & B but I can't do it inside xsim's exercise environment (the combination of the exercise environment with the ...
3 votes
1 answer
48 views

How to provide preferences for hyphenating mixed-language words

Let's say we want to typeset long two-language compounds. We prefer to break such words right after the first-language word is over and before the second-language words starts; if the results get ...
  • 1,535
2 votes
1 answer
35 views

Another font for italic, and Open Features

Xelatex I can set special font for italics so \setmainfont[ItalicFont={Ropa Mix PTT}]{Theano Old Style} I can set Open features, or Letter spacing so: \newfontfamily{\notefnt}{Slopes}[LetterSpace=8....
3 votes
0 answers
75 views

How to use the known weights of different breaking points in German words?

In https://repo.or.cz/wortliste.git/blob/HEAD:/wortliste (which is, in my opinion, the source of the current German hyphenation patterns used by [PDF|Xe|Lua]LaTeX with \babelprovide[hyphenrules=...
  • 1,535
0 votes
0 answers
32 views

Glossaries with Babel returns "No language module detected for russian"

Whenever I use the package "glossaries" in combination with the English, Russian language configuration in "babel" as specified below, I get the following error message: Package ...
1 vote
1 answer
37 views

Babel & Bilingual fonts

I am using Babel package to support Arabic and English in one document. But I am not able to identify a multilingual font that supports Bold typeface. The code below works fine, but lacks the bold ...
  • 741
0 votes
0 answers
34 views

Cannot compile non-english languages with babel

I have the full texlive 2021 that I installed from Tug using install-tl --not the distro version. I am using both TeXstudio and TexWorks and the command line; all have the same issue for pdf or ...
  • 1
0 votes
1 answer
57 views

Trying to assign priorities to different breaking points in a word. Discretionary broken?

I try to assign priorities to different breaking points in a word. To this end, I work around the bug Soft hyphens with priority don't change style with their environment but should do so and ...
  • 1,535
2 votes
2 answers
105 views

Soft hyphens with priority don't change style with their environment but should do so

Feeding \documentclass{article} \pagestyle{empty} \usepackage[ngerman]{babel} %%% The following 3 lines may be uncommented; it doesn't really matter. %\hyphenpenalty=49% one less than the default ...
  • 1,535
1 vote
2 answers
39 views

Change the text depending on the language

This is probably a rather simple question, but I couldn't find it answered: When I write e.g. \pageref{Example} the output is on page 12 for babel language English, but auf Seite 12 for babel ...
  • 2,196
1 vote
1 answer
33 views

Subsection hyperref, titletoc and babel spanish conflict

Trying to use a template from overleaf, which worked perfectly in English. But adding babel for Spanish is messing up the document. I'm getting an error if I try to add a \subsection{}. I've looked at ...
  • 251
5 votes
1 answer
221 views

not showing bengali equation as output in latex

\documentclass[a4paper,12pt]{book} \usepackage[inner=1.5cm, outer=1.5cm, top=1.5cm, bottom=1.5cm]{geometry} \tracinglostchars=2 \usepackage[bidi=basic,layout=sectioning]{babel} \usepackage{fontspec} \...
  • 73
0 votes
0 answers
41 views

SmallCaps with Babel's font loading mechanism in texlive versions prior to TL2022

Please consider the following minimal example: \documentclass{article} %% Does not work with tl version < 2022 \usepackage{babel} \babelfont{rm}[% BoldFont = MinionPro-Bold.otf,% ItalicFont = ...
  • 2,450
0 votes
0 answers
37 views

cleveref, list of figures/tables and multiple languages in titlepage

There seems to be a bug in a combination of referencing another figure or table using cleveref in a figure/table caption, using multiple languages in \maketitle and the list of tables or figures. I ...
  • 71
0 votes
0 answers
45 views

Missing babel-spanish package on Rocky Linux 8

I've stumbled upon what looks like a regression from RHEL/CentOS 6 to RHEL/CentOS/Rocky Linux 7 and beyond, namely that there is no longer a babel-spanish package, only an English one (official repo) ...
  • 101
0 votes
0 answers
14 views

Appendix referencing is not working when using arabic with babel

I am using arabic and french in a report document using babel, the arabic is used for the abstract and it's not used in the appendix (the appendix is 100% in french). When using only french in babel ...
  • 1
0 votes
2 answers
42 views

Difficulties using babel portuguese package

i´m trying to make my project in portuguese, but the package seems to indicate that all my portuguese words are wrongly written I only have these packages in the project. \usepackage[portuguese]{babel}...
0 votes
0 answers
46 views

Symbol radical in mathfont

questions to help me root symbol problem not showing I use a Mathilde font \documentclass[10pt,a4paper]{standalone} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage[bidi=...
  • 1
0 votes
1 answer
32 views

Headers designing in extarticle class (with babel)

I use: \documentclass[14pt]{extarticle} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ukrainian]{babel} \begin{document} \tableofcontents \newpage \section*{The name of one of the ...
1 vote
1 answer
18 views

Change bibliography title for extarticle class

I use: \documentclass[14pt]{extarticle} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ukrainian]{babel} \begin{document} \begin{thebibliography}{00} \end{thebibliography} \end{...
0 votes
0 answers
42 views

How can I define different font face when using babel?

This command can be used to specify different font faces using fontspec package: \setmainfont{texgyretermes-regular}[ Extension = .otf , BoldFont = texgyretermes-bold, ItalicFont =...
  • 13
0 votes
0 answers
35 views

Changing default caption name in table environment

I am using a polish latex package and I noticed something weird. When I begin the table environment the caption normally (in English) begins with Table 1: {title} In Polish, it begins with Tablica 1. ...
  • 35
1 vote
1 answer
58 views

How can I get babel to use a fallback font when a special character is missing from the main font?

Sometimes there is a character in my text that is not in the main font, such as Chinese characters or emojis, etc. and I do not want to constantly modify this in the text with various commands to ...
  • 13
2 votes
0 answers
35 views

How can I most efficiently work around my editor's limitations to create bidirectional text?

I have used and loved Sublime Text on a Mac for a number of years. Now, however, I need to produce a series of documents with bidirectional text (i.e., both RTL and LTR languages), which ST doesn't ...
  • 2,454
0 votes
1 answer
48 views

Incompatibility between ctexcap and babel-arabic?

I'm trying to typeset a multilingual document with Arabic, Chinese (and a few others). In the following MWE, the Arabic word الشمس for "sun" is not shown (presumably because the babel ...
  • 17.4k
1 vote
1 answer
103 views

Biblatex warning on unsupported language in segment without citations

I have a document in English using biblatex to which I need to add an abstract in another language that is supported by babel, but not by biblatex. I thought that this would not be an issue because ...
  • 125
0 votes
1 answer
52 views

Table captions default to foreign language

I am typing up a latex report for a Vietnamese client. In order to spell their name correctly, I need to import the relevant language package \usepackage[vietnamese]{babel} The only issue is, when I ...
4 votes
0 answers
62 views

confused about babel australian/british/american hyphenation differences

I'm quite confused about hyphenation differences between the different English variants. I tend to use australian as my default language, but I notice that this often does quite poorly at hyphenation. ...
  • 23.9k
0 votes
1 answer
41 views

Use different languages for glossaries-extra (but only one at a time)

Is there a possibilty to include multiple languages (but only use one language at a time) to acronyms produced with glossaries-extra as shown in my MWE: % !TeX program = lualatex \documentclass[...
  • 495
0 votes
0 answers
70 views

tableofcontents, chapter, etc. showing up in weird font

PROBLEM SOLVED, SEE EDITS 2 AND 3. so i have several files written in bulgarian that are set up to compile into one PDF however in the process of doing so, several errors popped up despite me ...
1 vote
1 answer
73 views

How do I get LaTeX to recognize Greek letters on babel?

By inputting this here whenever I type \gr and type greek text it doesn't recognize any of the greek characters and shows an error ob that line on Overleaf. \documentclass{article} \usepackage{ucs} ...
  • 11
2 votes
2 answers
62 views

Headers not aligned with the text frame

I have the following preamble that tried to customize the headers and footers. However, I found that the package babel seems to cause the headers on the left page not aligned with the text frame. How ...
  • 315
3 votes
1 answer
187 views

pdflatex stops when both german and hungarian languages are set in babel

This is a MWE: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[german,hungarian]{babel} \begin{document} babel test \end{document} When I run pdflatex on ...
  • 839
2 votes
1 answer
74 views

LuaLaTeX fails to render Nepali properly, how can I fix it?

I'm not that hot with fontspec and friends, so took most from this answer about Nepali verbatim: How to write Nepali and English on the same page in Overleaf Here's my slightly edited code: \...
1 vote
0 answers
29 views

Package imakeidx not printing index voices/items into the Index chapter

Good evening everyone. I have a problem with the package imakeidx, coding on Overleaf (XeTeX engine, TeX Live 2021) a master's thesis. This is an example of my main.tex document, which produces the ...
0 votes
0 answers
24 views

soulutf8 + slovak = missing letteR?

The following file \documentclass[twoside]{book} \usepackage{soulutf8} \usepackage[slovak]{babel} \begin{document} \so{missing-letteR} \end{document} Produces the following output: Is it a bug?
0 votes
2 answers
34 views

table of content section numbering dots remove

I want to remove the dots from the section numbering from the ToC. Babel is enabled.
0 votes
0 answers
33 views

Endnotes: issues with section title [duplicate]

Using the package endnotes I sent the footnotes in a certain article to the penultimate section of it. The thing is that the command \theendnotes makes the section title appear as Notes even though I ...
  • 109
1 vote
1 answer
104 views

Amsmath package and overleaf

I have been using LaTeX (on the Overleaf platform) for a few years now, mainly in article and report class. Since I’m studying physics, I’ve more or less used the same packages for every new document ...
1 vote
1 answer
90 views

Package enumitem: Undefined label, with babel French

I'm getting the error Package enumitem: Undefined label with the following code: \documentclass{article} \usepackage[french,english]{babel} \usepackage{enumitem} \setlistdepth{10} \renewlist{itemize}...
  • 6,791
0 votes
0 answers
30 views

Best practices for class authors: configurable names / translations

How should I suggest document authors rename elements that my class provides, either because they're not writing in English, or because they need to change a word or two? Here are three tools, each ...
2 votes
1 answer
93 views

Why isn't the text hyphenated?

I can't resolve this. The text "definizione," doesn't get hyphenated. This is an Italian text and I used babel italian package but it doesn't fix that. \documentclass{article} \usepackage[...
0 votes
2 answers
65 views

Looking to typeset 2-columned Persian poem in classicthesis document that is otherwise Latin script and LTR

I am looking to typeset a classical Persian poem in a classicthesis-styled document which is otherwise in German or English. Based on this question I tried this: % article example for classicthesis....
  • 63
1 vote
1 answer
30 views

Error when using \edtext in eledsection with memoir and babel

I know something similar was asked before but it seems that this error is caused by something different. It says: Package reledmac Error: \edtext outside numbered paragraph (\pstart ... \pend). \end ...
1 vote
0 answers
91 views

No language definition file found with Apacite

I'm using latex with TeXmaker as my text editor and compile there. When I hit the quick build button, an error like this occurs: Package apacite Warning: No suitable language definition file (bahasa....
  • 11
3 votes
1 answer
77 views

Bibliography with Turkish Babel missing author name

I am trying to prepare my bibliography, but when I try to add some references it comes without authors of references. Here is my main.text: \documentclass[a4paper,12pt]{article} \usepackage[utf8]{...
0 votes
1 answer
42 views

Why do prosodic marks in babel-latin package cause some words to go past textwidth?

I am trying to copy a book in written in Latin using babel-latin package in Classic Latin variant. This package provides shorthands for prosodic marks if one loads the language with the ...
  • 767

1
2 3 4 5
31