Ticket #38720

siunitx の tabular 列指定子 S, s が効かない

Open Date: 2018-11-02 20:28 Last Update: 2018-11-11 22:16

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

MWE

  1. \documentclass{article}
  2. \usepackage{siunitx}
  3. %\usepackage{luatexja}
  4. \begin{document}
  5. \begin{tabular}{Ss}
  6. -.123 & J.mol^{-1} \\
  7. 1.23e-3 & Hartree \\
  8. \end{tabular}
  9. \end{document}

上記のコードで S, s で指定された列はそれぞれ \num, \si に渡されたかのように処理され,小数点揃えと中央揃えになります.

しかし luatexja を読み込むと S, s 列がそのまま左揃えで出力されます (J.mol^{-1} は ! Missing $ inserted.)

環境

  • LuaTeX Version 1.07.0 (TeX Live 2018)
  • siunitx 2018/05/17 v2.7s
  • luatexja 2018/09/30

Ticket History (3/4 Histories)

2018-11-02 20:28 Updated by: e-kwsm
  • New Ticket "siunitx の tabular 列指定子 S, s が効かない" created
2018-11-02 21:57 Updated by: h7k
  • Resolution Update from None to Fixed
Comment

報告ありがとうございます.commit 8866928 で直しました.

2018-11-03 21:34 Updated by: e-kwsm
Comment

ありがとうございます.

2018-11-11 22:16 Updated by: h7k
  • Status Update from Open to Closed

Attachment File List

No attachments

Edit

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