New answers tagged babel
1
vote
Accepted
Different language in citation appearing in csquotes's \foreignblockquote
As it's documented in csquotes, \foreignblockquote uses otherlanguage* that doesn't enable biblatex strings and extras.
The following patch seems to work.
\begin{filecontents}{\jobname.bib}
@Article{...
1
vote
tcolorbox gets cut off when using Hebrew with babel
I found that adding layout=tabular graphics to babel fixes the issue. Thanks to Ulrike Fischer who suggested it in the comments.
0
votes
Error when display foreign language for the first time
This file seems to compile fine both with XeTeX and LuaTeX engines (after copying the font Lohit-Tamil.ttf in the local directory):
\documentclass[a4paper,french]{article}
\usepackage{fontspec}
\...
2
votes
Accepted
How to load babel languages conditionally?
I'm not sure whether this is really what you want/need, but the following handles your languages (I renamed the key languages, also I changed the syntax of it, its value should be a key=value list ...
1
vote
Accepted
Can not (fully) change language (specifically to German)
I suggest you make two changes:
set ngerman as a document class option rather than as just a package option (for babel):
\documentclass[ngerman]{book}
add the instruction
\usepackage[noabbrev]{...
3
votes
Babel / LuaTex support for .otf features
2024. First, I'd point out fontspec has fortunately modified this misleading (and mostly useless) warning, which was shown very often even if there was absolutely nothing wrong. It has been ‘...
8
votes
Accepted
Thai word not breaking properly between lines, in LuaLaTeX
You can add patterns with \babelpatterns to prevent (or to allow) ‘hyphenation’ points (in this case, linebreaking points). For this particular combination, write in the preamble:
\babelpatterns{...
1
vote
Thai word not breaking properly between lines, in LuaLaTeX
I get the same problem as you have. But if I didn't use the babel setting
and instead \setmainfont I get another linebreak:
%\babelfont[thai]{rm}%
\setmainfont[Scale=1.15]{THSarabunChula-Regular.ttf}
2
votes
Proof style with babel
The commands \rm and \bf have been deprecated for about 30 years. Don't use them, ever.
Changing \proofname will definitely fail with babel anyway.
A long standing feature request for amsthm is to add ...
0
votes
Proof style with babel
I found on this page the following solution which appears to work:
\usepackage{xpatch}
\newcommand{\prooffont}{\rm\bf}
\xpatchcmd{\proof}{\itshape}{\prooffont}{}{}
0
votes
Accepted
How to write boldface Greek text in latex while using times package
Use a Times clone that supports Greek, such as Tempora.
\documentclass{article}
\usepackage[greek,english]{babel} % Babel for language switching
\usepackage{tempora}
%\usepackage{newtxmath} % ...
Top 50 recent answers are included
Related Tags
babel × 1725languages × 203
hyphenation × 133
biblatex × 128
luatex × 127
hebrew × 87
polyglossia × 71
greek × 71
french × 70
xetex × 66
tikz-pgf × 63
spanish × 61
fonts × 60
errors × 58
arabic × 54
beamer × 53
german × 46
pdftex × 45
bibliographies × 44
fontspec × 44
table-of-contents × 43
shorthands × 43
right-to-left × 42
hyperref × 40
incompatibility × 38