summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg')
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg b/Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg
index a395e4fe2a5..5ad15f92242 100644
--- a/Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg
+++ b/Master/texmf-dist/tex/lualatex/lua-typo/lua-typo.cfg
@@ -6,7 +6,9 @@
\luatypoBackFuzz=2pt\relax
%% Minimum length of paragraphs’ last lines
-\luatypoLLminWD=2\parindent\relax
+\ifdim\parindent=0pt \luatypoLLminWD=20pt\relax
+\else \luatypoLLminWD=2\parindent\relax
+\fi
%% Maximum number of consecutive hyphenated lines
\luatypoHyphMax=2\relax
@@ -26,7 +28,7 @@
\definecolor{myred}{rgb}{1,0.55,0}
\luatypoSetColor0{red} % Paragraph last full line hyphenated
\luatypoSetColor1{red} % Page last word hyphenated
-\luatypoSetColor2{red} % Hyphens ending two many consecutive lines
+\luatypoSetColor2{red} % Hyphens on to many consecutive lines
\luatypoSetColor3{red} % Short word at end of line
\luatypoSetColor4{cyan} % Widow
\luatypoSetColor5{cyan} % Orphan
@@ -37,10 +39,10 @@
\luatypoSetColor{10}{myred} % First word matches
\luatypoSetColor{11}{myred} % Last word matches
\luatypoSetColor{12}{mygrey}% Paragraph ending on a nearly full line
+\luatypoSetColor{13}{cyan} % Footnote split
-%% Language specific settings (example for French only currently):
+%% Language specific settings (example for French):
%% short words (two letters max) to be avoided at end of lines.
-%% French:
%%\luatypoOneChar{french}{'À à Ô'}
%%\luatypoTwoChars{french}{'Je Tu Il On'}
%%