abenori / jlreq

Other
125 stars 18 forks source link

open_bracket_pos=nibu_tentsuki 時の箇条書き環境で括弧等が突出する #74

Open ghost opened 3 years ago

ghost commented 3 years ago

open_bracket_pos=nibu_tentsuki を指定した場合、箇条書き中の括弧等が突出して、中点や数字と被ってしまいます。

% zenkaku_tentsuki, zenkakunibu_nibu では突出しない
\documentclass[
  lualatex,
  paper=a8,
  open_bracket_pos=nibu_tentsuki,
]{jlreq}
\begin{document}
「あああああああああ「ああああああああああ
\begin{itemize}
  \item 「ああああああああ「ああああああああ
\end{itemize}
\begin{enumerate}
  \item 「ああああああああ「ああああああああ
\end{enumerate}
\end{document}

結果

イメージ

Version

lualatex: Version 1.12.0 (TeX Live 2020) jlreq: 3614ae07dace46011ed88061b9ba5e481a9e2243

abenori commented 3 years ago

ありがとうございます.これは不格好ですね.直さないと.

この場合どうなるのがよいんでしょう?

ghost commented 3 years ago

完全に個人的な意見ですが。。 始め括弧類が行頭に来ない箇条書き内容では、折返し行頭のように、段落開始の全角アキを挿入しないように思います。 これに合わせて、折返し行頭に合わせるのが、一貫性があって良い気がします。

abenori commented 3 years ago

37a9396 で,括弧に限らず,折り返し行頭と同じ扱いになるようにしました.「・」なんかも今まで入っていた四分空きが入らなくなっています.ちょっと様子を見ます.

abenori commented 3 years ago

少しまずかった気がするので 44fb949

minamotorin commented 2 years ago

こんにちは。

私にとって、description 環境では、1\zw の長さの空白が挿入されるので、段落の先頭に合わせるのが自然な感じです。 動作を変更するスイッチを追加することは可能ですか?

% This program is in the public domain.
\documentclass[open_bracket_pos=nibu_tentsuki]{jlreq}
\begin{document}

(□□□□

\noindent
□□□□□

\noindent
(□□□□

\begin{itemize}
  \item (□□□□
  \item □□□□□
  \item[(□□□□] (□□□□
  \item[□□□□□] □□□□□
\end{itemize}

\begin{description}
  \item[(] (□□□□
  \item[□] (□□□□
  \item[□] □□□□□
\end{description}

\end{document}

1284baa

3614ae0