%%% Configuration file for lua-typo.sty %%% These settings can also be overruled in the preamble. %% Minimum gap between end of paragraphs’ last lines and the right margin \luatypoBackPI=1em\relax \luatypoBackFuzz=2pt\relax %% Minimum length of paragraphs’ last lines \ifdim\parindent=0pt \luatypoLLminWD=20pt\relax \else \luatypoLLminWD=2\parindent\relax \fi %% Maximum number of consecutive hyphenated lines \luatypoHyphMax=2\relax %% Nearly empty pages: minimum number of lines \luatypoPageMin=5\relax %% Maximum acceptable stretch before a line is tagged as Underfull \luatypoStretchMax=200\relax %% Minimum number of matching characters for words at begin/end of line \luatypoMinFull=3\relax \luatypoMinPart=4\relax %% Default colours = red, cyan, mygrey \definecolor{mygrey}{gray}{0.6} \definecolor{myred}{rgb}{1,0.55,0} \luatypoSetColor0{red} % Paragraph last full line hyphenated \luatypoSetColor1{red} % Page last word hyphenated \luatypoSetColor2{red} % Hyphens on to many consecutive lines \luatypoSetColor3{red} % Short word at end of line \luatypoSetColor4{cyan} % Widow \luatypoSetColor5{cyan} % Orphan \luatypoSetColor6{cyan} % Paragraph ending on a short line \luatypoSetColor7{blue} % Overfull lines \luatypoSetColor8{blue} % Underfull lines \luatypoSetColor9{red} % Nearly empty page (just a few lines) \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): %% short words (two letters max) to be avoided at end of lines. %%\luatypoOneChar{french}{'À à Ô'} %%\luatypoTwoChars{french}{'Je Tu Il On'} %% %% %% End of file `lua-typo.cfg'.