add kage option.
[chise/omega.git] / chise.sty
1 \NeedsTeXFormat{LaTeX2e}
2 \ProvidesPackage{chise}[2003/10/18 v.0.2 (Omega/CHISE Team)]
3 % based on mulambda and omega-japanese
4 \RequirePackage{omega}
5 \RequirePackage[UT1]{fontenc}
6
7 %% options %%
8
9 \DeclareOption{utf8mcs}{
10   \externalocp\OCPuniGB=Utf8mcsToUniGB {}
11   \ocplist\uniGB=
12     \addbeforeocplist 1 \OCPuniGB
13     \nullocplist
14   \externalocp\OCPuniCNS=Utf8mcsToUniCNS {}
15   \ocplist\uniCNS=
16     \addbeforeocplist 1 \OCPuniCNS
17     \nullocplist
18   \externalocp\OCPuniJIS=Utf8mcsToUniJIS {}
19   \ocplist\uniJIS=
20     \addbeforeocplist 1 \OCPuniJIS
21     \nullocplist
22   \externalocp\OCPuniKS=Utf8mcsToUniKS {}
23   \ocplist\uniKS=
24     \addbeforeocplist 1 \OCPuniKS
25     \nullocplist
26   \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
27   \ocplist\uniMulti=
28     \addbeforeocplist 1 \OCPuniMulti
29     \nullocplist
30 }
31 \DeclareOption{utf8gb}{
32   \externalocp\OCPuniGB=Utf8gbToUniGB {}
33   \ocplist\uniGB=
34     \addbeforeocplist 1 \OCPuniGB
35     \nullocplist
36   \externalocp\OCPuniCNS=Utf8gbToUniCNS {}
37   \ocplist\uniCNS=
38     \addbeforeocplist 1 \OCPuniCNS
39     \nullocplist
40   \externalocp\OCPuniJIS=Utf8gbToUniJIS {}
41   \ocplist\uniJIS=
42     \addbeforeocplist 1 \OCPuniJIS
43     \nullocplist
44   \externalocp\OCPuniKS=Utf8gbToUniKS {}
45   \ocplist\uniKS=
46     \addbeforeocplist 1 \OCPuniKS
47     \nullocplist
48   \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
49   \ocplist\uniMulti=
50     \addbeforeocplist 1 \OCPuniMulti
51     \nullocplist
52 }
53 \DeclareOption{utf8cns}{
54   \externalocp\OCPuniGB=Utf8cnsToUniGB {}
55   \ocplist\uniGB=
56     \addbeforeocplist 1 \OCPuniGB
57     \nullocplist
58   \externalocp\OCPuniCNS=Utf8cnsToUniCNS {}
59   \ocplist\uniCNS=
60     \addbeforeocplist 1 \OCPuniCNS
61     \nullocplist
62   \externalocp\OCPuniJIS=Utf8cnsToUniJIS {}
63   \ocplist\uniJIS=
64     \addbeforeocplist 1 \OCPuniJIS
65     \nullocplist
66   \externalocp\OCPuniKS=Utf8cnsToUniKS {}
67   \ocplist\uniKS=
68     \addbeforeocplist 1 \OCPuniKS
69     \nullocplist
70   \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
71   \ocplist\uniMulti=
72     \addbeforeocplist 1 \OCPuniMulti
73     \nullocplist
74 }
75 \DeclareOption{utf8jis}{
76   \externalocp\OCPuniGB=Utf8jisToUniGB {}
77   \ocplist\uniGB=
78     \addbeforeocplist 1 \OCPuniGB
79     \nullocplist
80   \externalocp\OCPuniCNS=Utf8jisToUniCNS {}
81   \ocplist\uniCNS=
82     \addbeforeocplist 1 \OCPuniCNS
83     \nullocplist
84   \externalocp\OCPuniJIS=Utf8jisToUniJIS {}
85   \ocplist\uniJIS=
86     \addbeforeocplist 1 \OCPuniJIS
87     \nullocplist
88   \externalocp\OCPuniKS=Utf8jisToUniKS {}
89   \ocplist\uniKS=
90     \addbeforeocplist 1 \OCPuniKS
91     \nullocplist
92   \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
93   \ocplist\uniMulti=
94     \addbeforeocplist 1 \OCPuniMulti
95     \nullocplist
96 }
97 \DeclareOption{utf8ks}{
98   \externalocp\OCPuniGB=Utf8ksToUniGB {}
99   \ocplist\uniGB=
100     \addbeforeocplist 1 \OCPuniGB
101     \nullocplist
102   \externalocp\OCPuniCNS=Utf8ksToUniCNS {}
103   \ocplist\uniCNS=
104     \addbeforeocplist 1 \OCPuniCNS
105     \nullocplist
106   \externalocp\OCPuniJIS=Utf8ksToUniJIS {}
107   \ocplist\uniJIS=
108     \addbeforeocplist 1 \OCPuniJIS
109     \nullocplist
110   \externalocp\OCPuniKS=Utf8ksToUniKS {}
111   \ocplist\uniKS=
112     \addbeforeocplist 1 \OCPuniKS
113     \nullocplist
114   \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
115   \ocplist\uniMulti=
116     \addbeforeocplist 1 \OCPuniMulti
117     \nullocplist
118 }
119
120 \DeclareOption{gbfont}{
121   \AtBeginDocument{
122     \GBfont
123   }
124 }
125 \DeclareOption{cnsfont}{
126   \AtBeginDocument{
127     \CNSfont
128   }
129 }
130 \DeclareOption{jisfont}{
131   \AtBeginDocument{
132     \JISfont
133   }
134 }
135 \DeclareOption{ksfont}{
136   \AtBeginDocument{
137     \KSfont
138   }
139 }
140 \DeclareOption{multifont}{
141   \AtBeginDocument{
142     \Multifont
143   }
144 }
145
146 \DeclareOption{kage}{
147   % to use KAGE server
148   \externalocp\OCPmkfont=makefonts.pl {}
149   \ocplist\mkfontOCP=
150   \addbeforeocplist 1 \OCPmkfont
151   \nullocplist
152
153   \AtEndDocument{
154     \pushocplist\mkfontOCP
155   }
156 }
157
158 %% end options %%
159
160 \ocp\CJKbreak=cjkbreak
161 %% \ocplist\CJKadjust=
162 %%    \addbeforeocplist 1 \CJKbreak
163 %%    \nullocplist
164 \def\cjkglue{\hskip 0pt plus 1pt minus .5pt}
165
166 \ocp\OCPutf=inutf8
167 \ocplist\inutf
168   \addbeforeocplist 1 \OCPutf
169   \nullocplist
170 \AtBeginDocument{
171 %  \DefaultInputMode onebyte
172 %  \InputMode currentfile onebyte
173 %  \DefaultInputTranslation onebyte \OCPutf
174 %  \InputTranslation currentfile \OCPutf
175   \pushocplist\inutf
176 }
177
178 % Settings for CJK
179 \def\selectjisfont{\fontencoding{OT1}\fontfamily{omjis}\selectfont}
180 \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont}
181 \def\selectcnsfont{\fontencoding{OT1}\fontfamily{omcns}\selectfont}
182 \def\selectksxfont{\fontencoding{OT1}\fontfamily{omksx}\selectfont}
183 %\def\JIS{\pushocplist\CJKadjust\selectjisfont}
184 %\def\GB{\pushocplist\CJKadjust\selectgbsfont}
185 %\def\KS{\pushocplist\CJKadjust\selectksxfont}
186 %\def\CNS{\pushocplist\CJKadjust\selectcnsfont}
187
188 \newenvironment{JISfont}{\pushocplist\uniJIS\selectjisfont}{}
189 \newenvironment{GBfont}{\pushocplist\uniGB\selectgbsfont}{}
190 \newenvironment{KSfont}{\pushocplist\uniKS\selectksxfont}{}
191 \newenvironment{CNSfont}{\pushocplist\uniCNS\selectcnsfont}{}
192 \newenvironment{Multifont}{\pushocplist\uniMulti}{}
193 \newenvironment{ASCII}{\pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont}{}
194
195 \newcommand{\jisfont}[1]{\begingroup%
196   \pushocplist\uniJIS\selectjisfont #1\endgroup}
197 \newcommand{\gbfont}[1]{\begingroup%
198   \pushocplist\uniGB\selectgbsfont #1\endgroup}
199 \newcommand{\ksfont}[1]{\begingroup%
200   \pushocplist\uniKS\selectksxfont #1\endgroup}
201 \newcommand{\cnsfont}[1]{\begingroup%
202   \pushocplist\uniCNS\selectcnsfont #1\endgroup}
203 \newcommand{\multifont}[1]{\begingroup%
204   \pushocplist\uniMulti #1\endgroup}
205 \newcommand{\noncjk}[1]{\begingroup%
206   \normalfont\pushocplist\inutf #1\endgroup}
207 \newcommand{\ascii}[1]{\begingroup%
208   \pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont #1\endgroup}
209 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
210 % Entity Reference
211 % ----------------
212 \def\ER#1{amp#1;}
213 %
214 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
215 % IDC shorthand
216 % -------------
217 \def\idc@#1{{\selectgbsfont\clearocplists\char"#1}}
218 \def\idcltr{\idc@{2FF0}}
219 \def\idcatb{\idc@{2FF1}}
220 \def\idcltmr{\idc@{2FF2}}
221 \def\idcatmb{\idc@{2FF3}}
222 \def\idcfs{\idc@{2FF4}}
223 \def\idcsfa{\idc@{2FF5}}
224 \def\idcsfb{\idc@{2FF6}}
225 \def\idcsfl{\idc@{2FF7}}
226 \def\idcsful{\idc@{2FF8}}
227 \def\idcsfur{\idc@{2FF9}}
228 \def\idcsfll{\idc@{2FFA}}
229 \def\idcol{\idc@{2FFB}}
230 %
231 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
232 % Font Declaration
233 % ----------------
234 %% omgbs
235 \DeclareFontFamily{OT1}{omgbs}{}
236 \DeclareFontShape{OT1}{omgbs}{m}{n}{
237    <->omgbs
238 }{}
239 \DeclareFontShape{OT1}{omgbs}{m}{sc}{
240    <-> ssub * omgbs/m/n
241 }{}
242 \DeclareFontShape{OT1}{omgbs}{m}{it}{
243    <->omgb
244 }{}
245 \DeclareFontShape{OT1}{omgbs}{m}{sl}{
246    <-> ssub * omgbs/m/it
247 }{}
248 \DeclareFontShape{OT1}{omgbs}{m}{itsc}{
249    <-> ssub * omgbs/m/it
250 }{}
251 \DeclareFontShape{OT1}{omgbs}{m}{slsc}{
252    <-> ssub * omgbs/m/it
253 }{}
254 \DeclareFontShape{OT1}{omgbs}{bx}{n}{
255    <->omgbsgt
256 }{}
257 \DeclareFontShape{OT1}{omgbs}{bx}{sc}{
258    <-> ssub * omgbs/bx/n
259 }{}
260 \DeclareFontShape{OT1}{omgbs}{bx}{it}{
261    <->omgbsgt
262 }{}
263 \DeclareFontShape{OT1}{omgbs}{bx}{itsc}{
264    <-> ssub * omgbs/bx/it
265 }{}
266 \DeclareFontShape{OT1}{omgbs}{bx}{sl}{
267    <-> ssub * omgbs/bx/it
268 }{}
269 \DeclareFontShape{OT1}{omgbs}{bx}{slsc}{
270    <-> ssub * omgbs/bx/it
271 }{}
272
273 %% omcns
274 \DeclareFontFamily{OT1}{omcns}{}
275 \DeclareFontShape{OT1}{omcns}{m}{n}{
276    <->omcns
277 }{}
278 \DeclareFontShape{OT1}{omcns}{m}{sc}{
279    <-> ssub * omcns/m/n
280 }{}
281 \DeclareFontShape{OT1}{omcns}{m}{it}{
282    <->omcns
283 }{}
284 \DeclareFontShape{OT1}{omcns}{m}{sl}{
285    <-> ssub * omcns/m/it
286 }{}
287 \DeclareFontShape{OT1}{omcns}{m}{itsc}{
288    <-> ssub * omcns/m/it
289 }{}
290 \DeclareFontShape{OT1}{omcns}{m}{slsc}{
291    <-> ssub * omcns/m/it
292 }{}
293 \DeclareFontShape{OT1}{omcns}{bx}{n}{
294    <->omcnsgt
295 }{}
296 \DeclareFontShape{OT1}{omcns}{bx}{sc}{
297    <-> ssub * omcns/bx/n
298 }{}
299 \DeclareFontShape{OT1}{omcns}{bx}{it}{
300    <->omcnsgt
301 }{}
302 \DeclareFontShape{OT1}{omcns}{bx}{itsc}{
303    <-> ssub * omcns/bx/it
304 }{}
305 \DeclareFontShape{OT1}{omcns}{bx}{sl}{
306    <-> ssub * omcns/bx/it
307 }{}
308 \DeclareFontShape{OT1}{omcns}{bx}{slsc}{
309    <-> ssub * omcns/bx/it
310 }{}
311
312 %%
313 \DeclareFontFamily{OT1}{omjis}{}
314 \DeclareFontShape{OT1}{omjis}{m}{n}{
315    <->omjis
316 }{}
317 \DeclareFontShape{OT1}{omjis}{m}{sc}{
318    <-> ssub * omjis/m/n
319 }{}
320 \DeclareFontShape{OT1}{omjis}{m}{it}{
321    <->omjis
322 }{}
323 \DeclareFontShape{OT1}{omjis}{m}{sl}{
324    <-> ssub * omjis/m/it
325 }{}
326 \DeclareFontShape{OT1}{omjis}{m}{itsc}{
327    <-> ssub * omjis/m/it
328 }{}
329 \DeclareFontShape{OT1}{omjis}{m}{slsc}{
330    <-> ssub * omjis/m/it
331 }{}
332 \DeclareFontShape{OT1}{omjis}{bx}{n}{
333    <->omjisgt
334 }{}
335 \DeclareFontShape{OT1}{omjis}{bx}{sc}{
336    <-> ssub * omjis/bx/n
337 }{}
338 \DeclareFontShape{OT1}{omjis}{bx}{it}{
339    <->omjisgt
340 }{}
341 \DeclareFontShape{OT1}{omjis}{bx}{itsc}{
342    <-> ssub * omjis/bx/it
343 }{}
344 \DeclareFontShape{OT1}{omjis}{bx}{sl}{
345    <-> ssub * omjis/bx/it
346 }{}
347 \DeclareFontShape{OT1}{omjis}{bx}{slsc}{
348    <-> ssub * omjis/bx/it
349 }{}
350
351 %% omksx
352 \DeclareFontFamily{OT1}{omksx}{}
353 \DeclareFontShape{OT1}{omksx}{m}{n}{
354    <->omksx
355 }{}
356 \DeclareFontShape{OT1}{omksx}{m}{sc}{
357    <-> ssub * omksx/m/n
358 }{}
359 \DeclareFontShape{OT1}{omksx}{m}{it}{
360    <->omksx
361 }{}
362 \DeclareFontShape{OT1}{omksx}{m}{sl}{
363    <-> ssub * omksx/m/it
364 }{}
365 \DeclareFontShape{OT1}{omksx}{m}{itsc}{
366    <-> ssub * omksx/m/it
367 }{}
368 \DeclareFontShape{OT1}{omksx}{m}{slsc}{
369    <-> ssub * omksx/m/it
370 }{}
371 \DeclareFontShape{OT1}{omksx}{bx}{n}{
372    <->omksxgt
373 }{}
374 \DeclareFontShape{OT1}{omksx}{bx}{sc}{
375    <-> ssub * omksx/bx/n
376 }{}
377 \DeclareFontShape{OT1}{omksx}{bx}{it}{
378    <->omksxgt
379 }{}
380 \DeclareFontShape{OT1}{omksx}{bx}{itsc}{
381    <-> ssub * omksx/bx/it
382 }{}
383 \DeclareFontShape{OT1}{omksx}{bx}{sl}{
384    <-> ssub * omksx/bx/it
385 }{}
386 \DeclareFontShape{OT1}{omksx}{bx}{slsc}{
387    <-> ssub * omksx/bx/it
388 }{}
389
390 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
391 \DeclareFontFamily{OT1}{chise000}{}
392 \DeclareFontShape{OT1}{chise000}{m}{n}{
393    <-> [.96] chise000min
394 }{}
395 \DeclareFontShape{OT1}{chise000}{m}{sc}{
396    <-> [.96] ssub * chise000min/m/n
397 }{}
398 \DeclareFontShape{OT1}{chise000}{m}{it}{
399    <-> [.96] chise000min
400 }{}
401 \DeclareFontShape{OT1}{chise000}{m}{sl}{
402    <-> [.96] ssub * chise000min/m/it
403 }{}
404 \DeclareFontShape{OT1}{chise000}{m}{itsc}{
405    <-> [.96] ssub * chise000min/m/it
406 }{}
407 \DeclareFontShape{OT1}{chise000}{m}{slsc}{
408    <-> [.96] ssub * chise000min/m/it
409 }{}
410 \DeclareFontShape{OT1}{chise000}{bx}{n}{
411    <-> [.96] chise000got
412 }{}
413 \DeclareFontShape{OT1}{chise000}{bx}{sc}{
414    <-> [.96] ssub * chise000got/bx/n
415 }{}
416 \DeclareFontShape{OT1}{chise000}{bx}{it}{
417    <-> [.96] chise000got
418 }{}
419 \DeclareFontShape{OT1}{chise000}{bx}{itsc}{
420    <-> [.96] ssub * chise000got/bx/it
421 }{}
422 \DeclareFontShape{OT1}{chise000}{bx}{sl}{
423    <-> [.96] ssub * chise000got/bx/it
424 }{}
425 \DeclareFontShape{OT1}{chise000}{bx}{slsc}{
426    <-> [.96] ssub * chise000got/bx/it
427 }{}
428 %%% GT
429 \DeclareFontFamily{OT1}{gt01}{}
430 \DeclareFontShape{OT1}{gt01}{m}{n}{
431    <-> gt01
432 }{}
433 \DeclareFontFamily{OT1}{gt02}{}
434 \DeclareFontShape{OT1}{gt02}{m}{n}{
435    <-> gt02
436 }{}
437 \DeclareFontFamily{OT1}{gt03}{}
438 \DeclareFontShape{OT1}{gt03}{m}{n}{
439    <-> gt03
440 }{}
441 \DeclareFontFamily{OT1}{gt04}{}
442 \DeclareFontShape{OT1}{gt04}{m}{n}{
443    <-> gt04
444 }{}
445 \DeclareFontFamily{OT1}{gt05}{}
446 \DeclareFontShape{OT1}{gt05}{m}{n}{
447    <-> gt05
448 }{}
449 \DeclareFontFamily{OT1}{gt06}{}
450 \DeclareFontShape{OT1}{gt06}{m}{n}{
451    <-> gt06
452 }{}
453 \DeclareFontFamily{OT1}{gt07}{}
454 \DeclareFontShape{OT1}{gt07}{m}{n}{
455    <-> gt07
456 }{}
457 \DeclareFontFamily{OT1}{gt08}{}
458 \DeclareFontShape{OT1}{gt08}{m}{n}{
459    <-> gt08
460 }{}
461 \DeclareFontFamily{OT1}{gt09}{}
462 \DeclareFontShape{OT1}{gt09}{m}{n}{
463    <-> gt09
464 }{}
465 \DeclareFontFamily{OT1}{gt10}{}
466 \DeclareFontShape{OT1}{gt10}{m}{n}{
467    <-> gt10
468 }{}
469 \DeclareFontFamily{OT1}{gt11}{}
470 \DeclareFontShape{OT1}{gt11}{m}{n}{
471    <-> gt11
472 }{}
473 % CDP
474 \DeclareFontFamily{OT1}{cdp}{}
475 \DeclareFontShape{OT1}{cdp}{m}{n}{
476    <-> cdp
477 }{}
478 % Hanziku
479 \DeclareFontFamily{OT1}{hzk01}{}
480 \DeclareFontShape{OT1}{hzk01}{m}{n}{
481    <-> hzk01
482 }{}
483 \DeclareFontFamily{OT1}{hzk02}{}
484 \DeclareFontShape{OT1}{hzk02}{m}{n}{
485    <-> hzk02
486 }{}
487 \DeclareFontFamily{OT1}{hzk03}{}
488 \DeclareFontShape{OT1}{hzk03}{m}{n}{
489    <-> hzk03
490 }{}
491 \DeclareFontFamily{OT1}{hzk04}{}
492 \DeclareFontShape{OT1}{hzk04}{m}{n}{
493    <-> hzk04
494 }{}
495 \DeclareFontFamily{OT1}{hzk05}{}
496 \DeclareFontShape{OT1}{hzk05}{m}{n}{
497    <-> hzk05
498 }{}
499 \DeclareFontFamily{OT1}{hzk06}{}
500 \DeclareFontShape{OT1}{hzk06}{m}{n}{
501    <-> hzk06
502 }{}
503 \DeclareFontFamily{OT1}{hzk07}{}
504 \DeclareFontShape{OT1}{hzk07}{m}{n}{
505    <-> hzk07
506 }{}
507 \DeclareFontFamily{OT1}{hzk08}{}
508 \DeclareFontShape{OT1}{hzk08}{m}{n}{
509    <-> hzk08
510 }{}
511 \DeclareFontFamily{OT1}{hzk09}{}
512 \DeclareFontShape{OT1}{hzk09}{m}{n}{
513    <-> hzk09
514 }{}
515 \DeclareFontFamily{OT1}{hzk10}{}
516 \DeclareFontShape{OT1}{hzk10}{m}{n}{
517    <-> hzk10
518 }{}
519 \DeclareFontFamily{OT1}{hzk11}{}
520 \DeclareFontShape{OT1}{hzk11}{m}{n}{
521    <-> hzk11
522 }{}
523 \DeclareFontFamily{OT1}{hzk12}{}
524 \DeclareFontShape{OT1}{hzk12}{m}{n}{
525    <-> hzk12
526 }{}
527 %
528 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
529 % line break, from omega-japanese.
530
531 \def\CJKunbreakablekernone{%
532   \nobreak
533   \hskip 0sp plus 2sp minus 2sp
534   \nobreak
535 }
536 \def\CJKunbreakablekerntwo{%
537   \penalty 500
538   \hskip 0sp plus 2sp minus 2sp
539   \penalty 500
540 }
541 \def\CJKunbreakablekernthree{%
542   \penalty 200
543   \hskip 0sp plus 2sp minus 2sp
544   \penalty 200
545 }
546 \def\CJKbreakablekern{\hskip 0sp plus 2pt minus 2sp}
547 % BUG: \rlap should preserve the current font
548 \def\CJKprotrude#1{%
549   \discretionary{\rlap{#1}}%
550                 {}%
551                 {#1}%
552 }
553 %% Hyphenation parameters
554   % If the badness does not exceed this, no hyphenation is
555   % attempted
556   \pretolerance=-1
557
558   % Maximal badness
559   \tolerance=200
560
561   % Penalty added for the first hyphenation
562   % in the current paragraph
563   \hyphenpenalty=0 % Was 50
564
565   % Penalty added for subsequent hyphenations
566   \exhyphenpenalty=0 % Was 50
567
568   % TeX tries to minimize the demerit of the lines:
569   % (\linepenalty^2 + badness^2) + penalty^2
570   \linepenalty=10
571
572   % If a tight line is followed by a loose one
573   % (or conversely), we add \adjdemerits 
574   % to the demerit
575   \adjdemerits=0 % Was 10000 % ???
576
577   % two hyphens on consecutive lines also add 
578   % to the demerit
579   \doublehyphendemerits=0 % Was 10000
580
581   % A hyphen on the last line also adds to
582   % the demerit.
583   \finalhyphendemerits=0 % Was 5000
584
585   % Minimum number of characters in the current word
586   % before or after a hyphenation point
587   \lefthyphenmin=2
588   \righthyphenmin=3
589
590 % line break definition ends.
591
592 \ProcessOptions
593 \endinput