| 1 |
%%% Configuration file for lua-typo.sty |
| 2 |
%%% These settings can also be overruled in the preamble. |
| 3 |
|
| 4 |
%% Minimum gap between end of paragraphs’ last lines and the right margin |
| 5 |
\luatypoBackPI=1em\relax |
| 6 |
\luatypoBackFuzz=2pt\relax |
| 7 |
|
| 8 |
%% Minimum length of paragraphs’ last lines |
| 9 |
\ifdim\parindent=0pt \luatypoLLminWD=20pt\relax |
| 10 |
\else \luatypoLLminWD=2\parindent\relax |
| 11 |
\fi |
| 12 |
|
| 13 |
%% Maximum number of consecutive hyphenated lines |
| 14 |
\luatypoHyphMax=2\relax |
| 15 |
|
| 16 |
%% Nearly empty pages: minimum number of lines |
| 17 |
\luatypoPageMin=5\relax |
| 18 |
|
| 19 |
%% Maximum acceptable stretch before a line is tagged as Underfull |
| 20 |
\luatypoStretchMax=200\relax |
| 21 |
|
| 22 |
%% Minimum number of matching characters for words at begin/end of line |
| 23 |
\luatypoMinFull=3\relax |
| 24 |
\luatypoMinPart=4\relax |
| 25 |
|
| 26 |
%% Minimum number of characters for the first word on a page if it ends |
| 27 |
%% a sentence (version >= 0.65). |
| 28 |
\ifdefined\luatypoMinLen \luatypoMinLen=4\relax\fi |
| 29 |
|
| 30 |
%% Acceptable marginpars must end at |\luatypoMarginparTol| under |
| 31 |
%% the page’s last line or above (version >= 0.85). |
| 32 |
\ifdefined\luatypoMarginparTol \luatypoMarginparTol=\baselineskip \fi |
| 33 |
|
| 34 |
%% Default colours = red, cyan, blue, LTgrey, LTred, LTline. |
| 35 |
\definecolor{LTgrey}{gray}{0.6} |
| 36 |
\definecolor{LTred}{rgb}{1,0.55,0} |
| 37 |
\definecolor{LTline}{rgb}{0.7,0,0.3} |
| 38 |
\luatypoSetColor1{red}% Paragraph last full line hyphenated |
| 39 |
\luatypoSetColor2{red}% Page last word hyphenated |
| 40 |
\luatypoSetColor3{red}% Hyphens on to many consecutive lines |
| 41 |
\luatypoSetColor4{red}% Short word at end of line |
| 42 |
\luatypoSetColor5{cyan}% Widow |
| 43 |
\luatypoSetColor6{cyan}% Orphan |
| 44 |
\luatypoSetColor7{cyan}% Paragraph ending on a short line |
| 45 |
\luatypoSetColor8{blue}% Overfull lines |
| 46 |
\luatypoSetColor9{blue}% Underfull lines |
| 47 |
\luatypoSetColor{10}{red}% Nearly empty page |
| 48 |
\luatypoSetColor{11}{LTred}% First word matches |
| 49 |
\luatypoSetColor{12}{LTred}% Last word matches |
| 50 |
\luatypoSetColor{13}{LTgrey}% Paragraph ending on a nearly full line |
| 51 |
\luatypoSetColor{14}{cyan}% Footnote split |
| 52 |
\luatypoSetColor{15}{red}% Too short first (final) word on the page |
| 53 |
\luatypoSetColor{16}{LTline}% Line color for multiple flaws |
| 54 |
\luatypoSetColor{17}{red}% Margin note ending too low |
| 55 |
|
| 56 |
%% Language specific settings (example for French): |
| 57 |
%% short words (two letters max) to be avoided at end of lines. |
| 58 |
%%\luatypoOneChar{french}{"A À Ô Y"} |
| 59 |
%%\luatypoTwoChars{french}{"Ah Au Ça Çà Ce De Il Je La Là Le Ma Me Ne Ni |
| 60 |
%% Oh On Or Ou Où Sa Se Si Ta Tu Va Vu"} |
| 61 |
%% |
| 62 |
%% |
| 63 |
%% End of file `lua-typo.cfg'. |