Line Breaking Parameters

This page shows pTeX's default line-breaking parameter values.

Line breaks before characters with positive \prebreakpenalty is discouraged. Line breaks after characters with positive \postbreakpenalty is discouraged.

\prebreakpenalty`!=10000
\prebreakpenalty`"=10000
\postbreakpenalty`\#=500
\postbreakpenalty`\$=500
\postbreakpenalty`\%=500
\postbreakpenalty`\&=500
\postbreakpenalty`\`=10000
\prebreakpenalty`'=10000
\prebreakpenalty`)=10000
\postbreakpenalty`(=10000
\prebreakpenalty`*=500
\prebreakpenalty`+=500
\prebreakpenalty`-=10000
\prebreakpenalty`.=10000
\prebreakpenalty`,=10000
\prebreakpenalty`/=500
\prebreakpenalty`;=10000
\prebreakpenalty`?=10000
\prebreakpenalty`:=10000
\prebreakpenalty`]=10000
\postbreakpenalty`[=10000

\prebreakpenalty`、=10000
\prebreakpenalty`。=10000
\prebreakpenalty`,=10000
\prebreakpenalty`.=10000
\prebreakpenalty`・=10000
\prebreakpenalty`:=10000
\prebreakpenalty`;=10000
\prebreakpenalty`?=10000
\prebreakpenalty`!=10000
\prebreakpenalty\jis"212B=10000  % ゛
\prebreakpenalty\jis"212C=10000  % ゜
\prebreakpenalty\jis"212D=10000  % ´
\postbreakpenalty\jis"212E=10000 % `
\prebreakpenalty\jis"2139=10000  % 々
\prebreakpenalty\jis"2144=250    % …
\prebreakpenalty\jis"2145=250    % ‥
\postbreakpenalty\jis"2146=10000 % ‘
\prebreakpenalty\jis"2147=5000   % ’  must be 10000
\postbreakpenalty\jis"2148=5000  % “  must be 10000
\prebreakpenalty\jis"2149=5000   % ”  must be 10000
\prebreakpenalty`)=10000
\postbreakpenalty`(=10000
\prebreakpenalty`}=10000
\postbreakpenalty`{=10000
\prebreakpenalty`]=10000
\postbreakpenalty`[=10000
\postbreakpenalty`‘=10000
\prebreakpenalty`’=10000
\postbreakpenalty\jis"214C=10000 % 〔
\prebreakpenalty\jis"214D=10000  % 〕
\postbreakpenalty\jis"2152=10000 % 〈
\prebreakpenalty\jis"2153=10000  % 〉
\postbreakpenalty\jis"2154=10000 % 《
\prebreakpenalty\jis"2155=10000  % 》
\postbreakpenalty\jis"2156=10000 % 「
\prebreakpenalty\jis"2157=10000  % 」
\postbreakpenalty\jis"2158=10000 % 『
\prebreakpenalty\jis"2159=10000  % 』
\postbreakpenalty\jis"215A=10000 % 【
\prebreakpenalty\jis"215B=10000  % 】
\prebreakpenalty`ー=10000
\prebreakpenalty`+=200
\prebreakpenalty`−=200
\prebreakpenalty`==200
\postbreakpenalty`#=200
\postbreakpenalty`$=200
\postbreakpenalty`%=200
\postbreakpenalty`&=200
\prebreakpenalty`ぁ=150
\prebreakpenalty`ぃ=150
\prebreakpenalty`ぅ=150
\prebreakpenalty`ぇ=150
\prebreakpenalty`ぉ=150
\prebreakpenalty`っ=150
\prebreakpenalty`ゃ=150
\prebreakpenalty`ゅ=150
\prebreakpenalty`ょ=150
\prebreakpenalty\jis"246E=150 % ゎ
\prebreakpenalty`ァ=150
\prebreakpenalty`ィ=150
\prebreakpenalty`ゥ=150
\prebreakpenalty`ェ=150
\prebreakpenalty`ォ=150
\prebreakpenalty`ッ=150
\prebreakpenalty`ャ=150
\prebreakpenalty`ュ=150
\prebreakpenalty`ョ=150
\prebreakpenalty\jis"256E=150 % ヮ
\prebreakpenalty\jis"2575=150 % ヵ
\prebreakpenalty\jis"2576=150 % ヶ

Among the characters missing in kinsoku.tex is ヽ (katakana iteration mark), ヾ (katakana voiced iteration mark), ゝ (hiragana iteration mark), and ゞ (hiragana voiced iteration mark), which are rarely used these days. They are similar to 々 (ideographic iteration mark). All of these are prohibited at the beginning of the line. If you must break the line before these characters, then repeat the characters explicitly. For example, 国々 must become 国<linebreak>国.

Setting \xspcode to 0 suppresses automatic insertion of \hskip\xkanjiskip on both sides. Setting \xspcode to 1, 2, 3 respectively allows automatic insertion of \hskip\xkanjiskip before, after, and both sides.

\xspcode`(=1
\xspcode`)=2
\xspcode`[=1
\xspcode`]=2
\xspcode``=1
\xspcode`'=2
\xspcode`;=2
\xspcode`,=2
\xspcode`.=2

Setting \inhibitxspcode to 3 allows automatic insertion of \hskip\xkanjiskip on both sides. Setting \inhibitxspcode to 1, 2, 0 respectively inhibits automatic insertion of \hskip\xkanjiskip before, after, and both sides.

\inhibitxspcode`、=1
\inhibitxspcode`。=1
\inhibitxspcode`,=1
\inhibitxspcode`.=1
\inhibitxspcode`;=1
\inhibitxspcode`?=1
\inhibitxspcode`)=1
\inhibitxspcode`(=2
\inhibitxspcode`]=1
\inhibitxspcode`[=2
\inhibitxspcode`}=1
\inhibitxspcode`{=2
\inhibitxspcode`‘=2
\inhibitxspcode`’=1
\inhibitxspcode`“=2
\inhibitxspcode`”=1
\inhibitxspcode`〔=2
\inhibitxspcode`〕=1
\inhibitxspcode`〈=2
\inhibitxspcode`〉=1
\inhibitxspcode`《=2
\inhibitxspcode`》=1
\inhibitxspcode`「=2
\inhibitxspcode`」=1
\inhibitxspcode`『=2
\inhibitxspcode`』=1
\inhibitxspcode`【=2
\inhibitxspcode`】=1
\inhibitxspcode`―=0
\inhibitxspcode`〜=0
\inhibitxspcode`…=0
\inhibitxspcode`¥=0
\inhibitxspcode`°=1
\inhibitxspcode`′=1
\inhibitxspcode`″=1

Haruhiko Okumura

Last modified: 2004-01-12 09:05:09