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