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{...
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 ...
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 ...
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 = *,
...
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{...
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 ...
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
\...
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}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fontspec × 2332fonts × 951
xetex × 852
luatex × 625
unicode-math × 128
polyglossia × 110
opentype × 82
unicode × 78
ligatures × 74
math-mode × 70
small-caps × 69
fontsize × 64
luaotfload × 58
font-encodings × 57
microtype × 45
babel × 44
beamer × 42
miktex × 42
libertine × 39
spacing × 36
errors × 36
symbols × 35
overleaf × 35
bold × 35
math-fonts × 31