待辦事項 #44722

Quotation marks conflict

啟用日期: 2022-05-30 11:25 最後更新: 2022-06-03 20:50

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
3
嚴重程度:
5 - 中
處理結果:
檔案:

細節

\documentclass{article} \usepackage{luatexja-fontspec} \begin{document}

„Aber

攻 \end{document}

renders the "„" too far apart from the rest - is there any way I can fix that?

Ticket History (3/4 Histories)

2022-05-30 11:25 Updated by: None
  • New Ticket "Quotation marks conflict" created
2022-05-30 12:21 Updated by: h7k
評語

"„" is treated as a Japanese Character, because it is included in Adobe-Japan1-7 (a Japanese Character set). Putting \ltjsetparameter{jacharrange={-9}} in preamble (after \usepackage{luatexja-fontspec}) is the simplest solution.

2022-05-30 23:09 Updated by: None
評語

Thanks a lot! I had trouble finding this in the doc, but it is "4.1 Range of JAchars", right? This is the second time you helped me a lot! One question before closing: how can I check for these kind of conflicts occuring (same character in both sets)? Again thanks a lot! Can be closed!

2022-06-03 20:50 Updated by: h7k
評語

I had trouble finding this in the doc, but it is "4.1 Range of JAchars", right?

Yes.

how can I check for these kind of conflicts occuring (same character in both sets)?

See Section 9.2 (p. 36).

  1. \ltjgetparameter{jacharrange}{\ltjgetparameter{chartorange}{`„}} %==> 0 (JAchar)
  2. % 0 if JAchar, 1 if ALchar

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入