Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctex: 表 7,format 选项的默认配置中,scheme=plain 一列的信息不完整 #477

Closed
muzimuzhi opened this issue Jan 7, 2020 · 4 comments

Comments

@muzimuzhi
Copy link
Contributor

image
以 chapter 行和 "scheme = plain" 列对应单元格为例,目前是 \raggedright,应当是 \huge\beseries\raggedright

@stone-zeng
Copy link
Member

stone-zeng commented Jan 7, 2020

scheme =plain 的时候,为了和 LaTeX 2e 保持一致,nameformattitleformat 并不一样(\huge vs \Huge),所以没有合并。

不过我觉得倒是可以在文档里面提一句。

@muzimuzhi
Copy link
Contributor Author

scheme =plain 的时候,为了和 LaTeX 2e 保持一致,nameformattitleformat 并不一样(\huge vs \Huge),所以没有合并。

你说得对。我在文档和代码中都没能看出 \huge vs \Huge 的差异。

@stone-zeng stone-zeng mentioned this issue Jan 10, 2020
25 tasks
@Liam0205 Liam0205 changed the title [doc] ctex: 表 7,format 选项的默认配置中,scheme=plain 一列的信息不完整 ctex: 表 7,format 选项的默认配置中,scheme=plain 一列的信息不完整 Apr 24, 2020
@Liam0205
Copy link
Contributor

@muzimuzhi 我看了一下代码,这里应该没有问题才是。

以 OP 举例的 chapter 为例,目前的设定是这样的:

\keys_set:nn { ctex / chapter }
  {
    pagestyle   = plain ,
    aftertitle  = \par ,
    hang        = false ,
    beforeskip  = 50 \p@ ,
    afterskip   = 40 \p@ ,
    lofskip     = 10 \p@ ,
    lotskip     = 10 \p@ ,
    break       = \if@openright \cleardoublepage \else \clearpage \fi ,
    name        = \chaptername \space ,
    number      = \thechapter ,
    format      = \raggedright ,
    nameformat  = \huge \bfseries ,
    aftername   = \par \nobreak \vskip 20 \p@ ,
    titleformat = \Huge \bfseries ,
    afterindent = false ,
    tocline     = \CTEXnumberline {#1} #2
  }

所以这应该是一个 wontfix 的 issue?

@muzimuzhi
Copy link
Contributor Author

当前文档和代码一致,文档没有问题,issue 标题中提到的问题不存在。

从「避免理解错误再次发生」的角度,可在展示 format 选项默认配置的表格添加脚注,说明「因 name 和 title 部分字号不同,标题 part 和 chapter 在 scheme=plain 下的字号和字族选项 nameformattitleformat 内设定」。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants