Skip to main content

New answers tagged

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{...
egreg's user avatar
  • 1.2m
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.
Shai Avr's user avatar
  • 939
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} \...
Daniel Flipo's user avatar
  • 2,284
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 ...
Skillmon's user avatar
  • 63.2k
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]{...
Mico's user avatar
  • 519k
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 ‘...
Javier Bezos's user avatar
  • 10.8k
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{...
Javier Bezos's user avatar
  • 10.8k
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}
user187802's user avatar
  • 17.6k
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 ...
egreg's user avatar
  • 1.2m
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}{}{}
oliversm's user avatar
  • 2,767
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} % ...
egreg's user avatar
  • 1.2m

Top 50 recent answers are included