Skip to main content
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
6 votes

Clash between package -- nomencl and possibly polyglossia

This is a bug in polyglossia. It uses \ifdef{\KOMAScript} as a test, whether it should redefine \autodot or not. But this is not a suitable test, because \KOMAScript is just a logo macro like \LaTeX ...
cabohah's user avatar
  • 15.8k
3 votes

Clash between package -- nomencl and possibly polyglossia

The nomencl package, by default, loads tocbasic which is part of the KOMAScript suite. The file gloss-russian.ldf checkes whether \KOMAScript is defined in order to make some decisions dependent on ...
egreg's user avatar
  • 1.2m
3 votes
Accepted

How to use two different bold variants of a variable openfont with fontspec in beamer?

As a quick hack, maybe something like this could do the job: % !TeX TS-program = lualatex \documentclass{beamer} \usepackage{fontspec} \setsansfont{Work Sans}[ BoldFont = *, ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Xelatex: missing character, but character is present in the font file (tbsp)

Make the character into a command that produces a thin space, if U+202F doesn't exist in the font. \documentclass[a4paper]{article} \usepackage[french]{babel} \usepackage{fontspec} \usepackage{...
egreg's user avatar
  • 1.2m
2 votes
Accepted

Bad clash between biblatex, polyglossia and fontspec

You seem to have an outdated version of Polyglossia, because the message I get is ! Package polyglossia Error: The current main monospace font, (polyglossia) lmmono10-regular, does not ...
egreg's user avatar
  • 1.2m
1 vote
Accepted

How to use Consolas and Helvetica in Overleaf?

I have uploaded the Helvetica.ttc into your project folder and it works well under xelatex and lualatex. Code Changes The font configuration under xelatex and lualatex should be something like \...
Stephen's user avatar
  • 5,288
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

Only top scored, non community-wiki answers of a minimum length are eligible