ctex-kit icon indicating copy to clipboard operation
ctex-kit copied to clipboard

CJK宏包排版中文用pdflatex编译嵌套在`minipage`中的`list`-family env对于全角括号出现不正常的缩进情况?

Open Explorer-cc opened this issue 2 months ago • 8 comments

这个问题的出现需要同时满足如下的条件:

  • 使用pdflatex编译调用ctex宏包的文档
  • \newtheorem的环境内嵌在tcolorbox中使用而不是使用\tcbuselibrary{theorems}中的\newtcbtheorem
  • 编译的内容行首为全角的而不是半角的(

MWE如下:

\documentclass{article}
\usepackage[UTF8]{ctex}
\usepackage{tcolorbox}
\newtheorem{example}{\textbf{Example}:}
\newenvironment{xmp}[1]{%
    \begin{tcolorbox}\begin{example}%
        \textbf{#1}\newline%
}%
{%
    \end{example}\end{tcolorbox}%
}%
\begin{document}%
\begin{xmp}{title}%
    (something aaa here) aaaa

    (something bbb here) bbbb

    (something ccc here) cccc
\end{xmp}%
\begin{xmp}{title}%
    (something aaa here)aaaa

    (something bbb here)bbbb

    (something ccc here)cccc
\end{xmp}%
\end{document}

如果使用pdflatex编译,这会导致:

Image

而如果使用unicode引擎,则一切正常:

Image

Explorer-cc avatar Oct 02 '25 14:10 Explorer-cc

\newtheorem的环境内嵌在tcolorbox中使用而不是使用\tcbuselibrary{theorems}中的\newtcbtheorem

我使用tcolorbox的强大功能尝试模拟了上面的 效果,无论使用pdflatex还是xe/lualatex均不会出现全角神秘缩进 :

\documentclass{article}
\usepackage[UTF8]{ctex}
\usepackage{tcolorbox}
\tcbuselibrary{theorems,skins}
\NewTcbTheorem[number within=section]{xmp}{Example}{%
    colbacktitle=tcbcolback,%
    coltitle=black,%
    titlerule=0pt,
    toptitle=1.5mm,
    top=0pt,
    fonttitle=\bfseries
}{example}
\begin{document}

\begin{xmp*}{title}
(something aaa here) aaaa

(something bbb here) bbbb

(something ccc here) cccc
\end{xmp*}


\begin{xmp*}{title}
(something aaa here)aaaa

(something bbb here)bbbb

(something ccc here)cccc
\end{xmp*}
\end{document}
Image

Explorer-cc avatar Oct 02 '25 15:10 Explorer-cc

构造一个只使用 CJK 包的例子试试

muzimuzhi avatar Oct 02 '25 16:10 muzimuzhi

构造一个只使用 CJK 包的例子试试

我不是很了解CJK这个包如何确定

\begin{CJK}[<fontencoding>]{<encoding>}{<family>}
    ...
\end{CJK}

中的<family>的其他内容

下面的例子在TL2025+windows11+pdflatex编译正常...

\documentclass{article}
\usepackage{CJK}
\usepackage{tcolorbox}
\newtheorem{example}{\textbf{Example}:}
\newenvironment{xmp}[1]{%
    \begin{tcolorbox}\begin{example}%
        \textbf{#1}\newline%
}%
{%
    \end{example}\end{tcolorbox}%
}%
\begin{document}%
\begin{CJK}{UTF8}{gbsn}
    \begin{xmp}{title}%
        (something aaa here) aaaa

        (something bbb here) bbbb

        (something ccc here) cccc
    \end{xmp}%
    \begin{xmp}{title}%
        (something aaa here)aaaa

        (something bbb here)bbbb

        (something ccc here)cccc
    \end{xmp}%
\end{CJK}
\end{document}
Image

有两种可能:

  • 和字体「win下的中易宋体」有关(我不知道gbsn还可以是什么😓)
  • ctex在处理pdflatex引擎时调用CJK宏包的代码和上面的mwe调用的方式有差别

Edit

我不知道gbsn还可以是什么😓

CJK包的文档中提到:

<family>     It is impossible to know in advance what fonts are
                    available at your site; look at the example FD (font
                    definition) files how to create or modify appropriate FD
                    files suiting your needs. See fonts.txt also for further
                    hints.

                    If this parameter is empty, the default value given in
                    CJK.enc is selected: `song' for all encodings except KS
                    (which defaults to `mj'). If you use this parameter it
                    is the same as you would have used \CJKfamily; all
                    encodings then use this family:

                      \begin{CJK}{...}{song}
                      ...

                    is identical to

                      \begin{CJK}{...}{}
                      \CJKfamily{song}
                      ...

                    You can change the families per encoding (and font
                    encoding) with the command \CJKencfamily; the first
                    parameter is the encoding, the second the family, the
                    optional argument is the font encoding. This overrides
                    the default value.

                    Note that \CJKfamily or a non-empty `family' parameter
                    of the CJK environment overrides any \CJKencfamily
                    commands. Say `\CJKfamily{}' to enable \CJKencfamily
                    again.

似乎同样不是很好确定如何找到ctex下调用的(应该是中易宋体(?))字体的<family>😓😓😓

Explorer-cc avatar Oct 02 '25 16:10 Explorer-cc

相似 issue https://github.com/CTeX-org/ctex-kit/issues/671#issuecomment-1659372912 讨论到,加载 CJKCJKspaceCJKpunct 后,问题复现。去掉 CJKpunct,问题消失。

其他(我不在 windows,没有 windows 内置字体,只能隔空)

  • 尝试去掉 tcolorbox 依赖
    默认设置(/tcb/capture=minipage)下,tcolorbox env 接近 minipage env。直接换成 minipage env,问题复现吗?
  • 尝试一般化定理环境 \newtheorem 定义的环境,和 \list 类似(见 \@begintheorem 定义),可以试试用 enumitemtrivlist 之类的替换,看能否复现
  • \showbox 看看额外的缩进有多大

muzimuzhi avatar Oct 02 '25 18:10 muzimuzhi

相似 issue https://github.com/CTeX-org/ctex-kit/issues/671#issuecomment-1659372912 讨论到,加载 CJK、CJKspace 和 CJKpunct 后,问题复现。去掉 CJKpunct,问题消失。

我在win上测试了,确实如此。

尝试去掉 tcolorbox 依赖 默认设置(/tcb/capture=minipage)下,tcolorbox env 接近 minipage env。直接换成 minipage env,问题复现吗?

问题可以复现。

\documentclass{article}
\usepackage{CJK}
\usepackage{CJKspace}
\usepackage{CJKpunct}
\newtheorem{example}{\textbf{Example}:}
\newenvironment{xmp}[1]{%
    \begin{minipage}{\textwidth}\begin{example}%
        \textbf{#1}\newline%
}%
{%
    \end{example}\end{minipage}%
}%
\begin{document}%
\begin{CJK}{UTF8}{gbsn}
    \begin{xmp}{title}%
        (something aaa here) aaaa

        (something bbb here) bbbb

        (something ccc here) cccc
    \end{xmp}%

    \bigskip

    \begin{xmp}{title}%
        (something aaa here)aaaa

        (something bbb here)bbbb

        (something ccc here)cccc
    \end{xmp}%
\end{CJK}
\end{document}
Image

我不在 windows,没有 windows 内置字体,只能隔空

言外之意是在macOS下这个问题无法复现(?) 还是macOS无法使用CJK包可用的字体?

另外两个「其他」我需要下次再做尝试,一时不是很明白🙁

Explorer-cc avatar Oct 02 '25 18:10 Explorer-cc

言外之意是在macOS下这个问题无法复现(?) 还是macOS无法使用CJK包可用的字体?

要用到 Windows 独有的内置字体,非 Windows 系统不能直接用上。ctex 宏包 + pdflatex 编译,(默认配置下)只支持 Windows。

另外两个「其他」我需要下次再做尝试,一时不是很明白🙁

  • 尝试一般化定理环境 \newtheorem 定义的环境,和 \list 类似(见 \@begintheorem 定义),可以试试用 enumitemtrivlist 之类的替换,看能否复现

是为了用更一般的环境替换 \newtheorem 定义的环境。和「其他」里的第一点类似,都是为了简化例子。

  • \showbox 看看额外的缩进有多大

是指(把输出不符合预期的内容)装进盒子、然后 \showbox 它、查看盒子内容。(可在 texdoc texbytopic 了解更多)和 https://github.com/CTeX-org/ctex-kit/issues/671#issuecomment-1658223176 里的类似,只是 \showbox 只 show 特定盒子,更方便定位;\showlists show 所有输出。

muzimuzhi avatar Oct 02 '25 19:10 muzimuzhi

不好意思,昨天有些事情耽搁了。

另外两个「其他」我需要下次再做尝试,一时不是很明白🙁

尝试一般化定理环境 \newtheorem 定义的环境,和 \list 类似(见 @begintheorem 定义),可以试试用 enumitem、trivlist 之类的替换,看能否复现 是为了用更一般的环境替换 \newtheorem 定义的环境。和「其他」里的第一点类似,都是为了简化例子。

我明白的,只是前天晚上深夜了看不动 \@begintheorem了😟

source2e.pdf中对\@begintheorem的定义为一个trivlist环境

% ltthm.dtx
\@begintheorem 
\@opargbegintheorem 
\@endtheorem

Providing theorem defaults.
48 ⟨/2ekernel⟩
49 ⟨∗2ekernel | latexrelease⟩
50 ⟨latexrelease⟩\IncludeInRelease{2024/03/18}%
51 ⟨latexrelease⟩ {\@begintheorem}{add link targets}%
52 \def\@begintheorem#1#2{\trivlist
53 \item[\MakeLinkTarget{\@currentcounter}\hskip \labelsep{\bfseries #1\ #2}]\itshape}
54 \def\@opargbegintheorem#1#2#3{\trivlist
55 \item[\MakeLinkTarget{\@currentcounter}\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\itshape} 
56 ⟨latexrelease⟩\EndIncludeInRelease
57 ⟨latexrelease⟩\IncludeInRelease{0000/00/00}%
58 ⟨latexrelease⟩ {\@begintheorem}{add link targets}%
59 ⟨latexrelease⟩\def\@begintheorem#1#2{\trivlist
60 ⟨latexrelease⟩ \item[\hskip \labelsep{\bfseries #1\ #2}]\itshape}
61 ⟨latexrelease⟩\def\@opargbegintheorem#1#2#3{\trivlist
62 ⟨latexrelease⟩ \item[\hskip \labelsep{\bfseries #1\ #2\ (#3)}]\itshape} 
63 ⟨latexrelease⟩\EndIncludeInRelease
64 ⟨/2ekernel | latexrelease⟩
65 ⟨∗2ekernel⟩
66 \def\@endtheorem{\endtrivlist}
67 ⟨/2ekernel⟩
(End of definition for \@begintheorem, \@opargbegintheorem, and \@endtheorem.)

尝试去掉theorem依赖可以复现该问题:

\documentclass{article}
\usepackage{CJK}
\usepackage{CJKspace}
\usepackage{CJKpunct}
\newenvironment{xmp}[1]{%
    \begin{minipage}{\textwidth}%
        \begin{trivlist}%
          \item[{\bfseries Theorem}.] {\textit{\textbf{#1}}\newline}
}%
{%
        \end{trivlist}%
    \end{minipage}%
}%
\begin{document}%
\begin{CJK}{UTF8}{gbsn}
    \begin{xmp}{title}%
        (something aaa here) aaaa

        (something bbb here) bbbb

        (something ccc here) cccc
    \end{xmp}%

    \bigskip

    \begin{xmp}{title}%
        (something aaa here)aaaa

        (something bbb here)bbbb

        (something ccc here)cccc
    \end{xmp}%
\end{CJK}
\end{document}
Image

Explorer-cc avatar Oct 04 '25 09:10 Explorer-cc

\showbox 看看额外的缩进有多大 是指(把输出不符合预期的内容)装进盒子、然后 \showbox 它、查看盒子内容。(可在 texdoc texbytopic 了解更多)和 https://github.com/CTeX-org/ctex-kit/issues/671#issuecomment-1658223176 里的类似,只是 \showbox 只 show 特定盒子,更方便定位;\showlists show 所有输出。

使用showlists:

使用在 https://github.com/CTeX-org/ctex-kit/issues/671#issuecomment-1658223176 提到的方式,使用pdflatex编译使用了\showlists.log文件如下.

log文件
This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) (preloaded format=pdflatex 2025.9.26)  4 OCT 2025 17:39
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**mwe
(./mwe.tex
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-09-02>
(c:/texlive/2025/texmf-dist/tex/latex/base/article.cls
Document Class: article 2025/01/22 v1.4n Standard LaTeX document class
(c:/texlive/2025/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2025/01/22 v1.4n Standard LaTeX file (size option)
)
\c@part=\count275
\c@section=\count276
\c@subsection=\count277
\c@subsubsection=\count278
\c@paragraph=\count279
\c@subparagraph=\count280
\c@figure=\count281
\c@table=\count282
\abovecaptionskip=\skip49
\belowcaptionskip=\skip50
\bibindent=\dimen148
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJK.sty
Package: CJK 2021/10/16 4.8.5

(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty
Package: MULEenc 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJK.enc
File: CJK.enc 2021/10/16 4.8.5
Now handling font encoding C00 ...
... no UTF-8 mapping file for font encoding C00
Now handling font encoding C05 ...
... no UTF-8 mapping file for font encoding C05
Now handling font encoding C09 ...
... no UTF-8 mapping file for font encoding C09
Now handling font encoding C10 ...
... no UTF-8 mapping file for font encoding C10
Now handling font encoding C20 ...
... no UTF-8 mapping file for font encoding C20
Now handling font encoding C19 ...
... no UTF-8 mapping file for font encoding C19
Now handling font encoding C40 ...
... no UTF-8 mapping file for font encoding C40
Now handling font encoding C42 ...
... no UTF-8 mapping file for font encoding C42
Now handling font encoding C43 ...
... no UTF-8 mapping file for font encoding C43
Now handling font encoding C50 ...
... no UTF-8 mapping file for font encoding C50
Now handling font encoding C52 ...
... no UTF-8 mapping file for font encoding C52
Now handling font encoding C49 ...
... no UTF-8 mapping file for font encoding C49
Now handling font encoding C60 ...
... no UTF-8 mapping file for font encoding C60
Now handling font encoding C61 ...
... no UTF-8 mapping file for font encoding C61
Now handling font encoding C63 ...
... no UTF-8 mapping file for font encoding C63
Now handling font encoding C64 ...
... no UTF-8 mapping file for font encoding C64
Now handling font encoding C65 ...
... no UTF-8 mapping file for font encoding C65
Now handling font encoding C70 ...
... no UTF-8 mapping file for font encoding C70
Now handling font encoding C31 ...
... no UTF-8 mapping file for font encoding C31
Now handling font encoding C32 ...
... no UTF-8 mapping file for font encoding C32
Now handling font encoding C33 ...
... no UTF-8 mapping file for font encoding C33
Now handling font encoding C34 ...
... no UTF-8 mapping file for font encoding C34
Now handling font encoding C35 ...
... no UTF-8 mapping file for font encoding C35
Now handling font encoding C36 ...
... no UTF-8 mapping file for font encoding C36
Now handling font encoding C37 ...
... no UTF-8 mapping file for font encoding C37
Now handling font encoding C80 ...
... no UTF-8 mapping file for font encoding C80
Now handling font encoding C81 ...
... no UTF-8 mapping file for font encoding C81
Now handling font encoding C01 ...
... no UTF-8 mapping file for font encoding C01
Now handling font encoding C11 ...
... no UTF-8 mapping file for font encoding C11
Now handling font encoding C21 ...
... no UTF-8 mapping file for font encoding C21
Now handling font encoding C41 ...
... no UTF-8 mapping file for font encoding C41
Now handling font encoding C62 ...
... no UTF-8 mapping file for font encoding C62
)
\CJK@indent=\box53
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty
Package: CJKspace 2021/10/16 3.8.0
)
(c:/texlive/2025/texmf-dist/tex/latex/cjkpunct/CJKpunct.sty
Package: CJKpunct 2016/05/14 4.8.4
\CJKpunct@cnta=\count283
\CJKpunct@cntb=\count284
\CJKpunct@cntc=\count285
\CJKpunct@cntd=\count286
\CJKpunct@cnte=\count287
 defining Unicode char U+2018 (decimal 8216)
 defining Unicode char U+2019 (decimal 8217)
 defining Unicode char U+201C (decimal 8220)
 defining Unicode char U+201D (decimal 8221)
 defining Unicode char U+2014 (decimal 8212)
 defining Unicode char U+2026 (decimal 8230)

(c:/texlive/2025/texmf-dist/tex/latex/cjkpunct/CJKpunct.spa))
(c:/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2025-06-09 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count288
)
No file mwe.aux.
\openout1 = `mwe.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C00/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C05/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C09/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C10/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C20/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C19/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C40/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C42/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C43/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C50/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C52/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C49/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C60/mj/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C61/mj/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C63/mj/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C64/mj/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C65/mj/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C70/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C31/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C32/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C33/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C34/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C35/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C36/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C37/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C80/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C81/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C01/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C11/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C21/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C41/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
LaTeX Font Info:    Checking defaults for C62/song/m/n on input line 14.
LaTeX Font Info:    ... okay on input line 14.
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg
File: UTF8.bdg 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc
File: UTF8.enc 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr
File: UTF8.chr 2021/10/16 4.8.5
)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 22.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 22.

Overfull \hbox (15.0pt too wide) in paragraph at lines 16--23
[]$[]$ 
[]

LaTeX Font Info:    Trying to load font information for C70+gbsn on input line 
27.
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/c70gbsn.fd
File: c70gbsn.fd 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/c70gbsn.fdx
File: c70gbsn.fdx 2021/10/16 4.8.5
)
Package CJKpunct Info: punctuation spaces for family 'gbsn' do not exist. Use f
amily 'def' instead. on input line 27.

### horizontal mode entered at line 26
\hbox(0.0+0.0)x15.0
\mathon
\vbox(24.94444+19.94444)x345.0
.\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
..\hbox(6.94444+0.0)x47.77757
...\glue 0.0
...\glue 0.0
...\glue -5.0
...\hbox(6.94444+0.0)x47.77757
....\OT1/cmr/bx/n/10 T
....\OT1/cmr/bx/n/10 h
....\OT1/cmr/bx/n/10 e
....\OT1/cmr/bx/n/10 o
....\OT1/cmr/bx/n/10 r
....\OT1/cmr/bx/n/10 e
....\OT1/cmr/bx/n/10 m
....\OT1/cmr/m/n/10 .
...\glue 5.0
..\penalty 0
..\OT1/cmr/bx/it/10 t
..\OT1/cmr/bx/it/10 i
..\OT1/cmr/bx/it/10 t
..\OT1/cmr/bx/it/10 l
..\OT1/cmr/bx/it/10 e
..\kern 0.85
..\penalty 10000
..\glue 0.0 plus 1.0fil
..\penalty -10000
..\glue(\rightskip) 0.0
.\penalty 300
.\glue(\baselineskip) 3.21
.\hbox(8.79+1.94444)x345.0, glue set 225.87193fil
..\rule(0.0+0.0)x-5.39993
..\C70/gbsn/m/n/10/ff ^^H
..\rule(0.0+0.0)x0.0
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 s
..\OT1/cmr/m/n/10 o
..\OT1/cmr/m/n/10 m
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 t
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 i
..\OT1/cmr/m/n/10 n
..\OT1/cmr/m/n/10 g
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 a
..\OT1/cmr/m/n/10 a
..\OT1/cmr/m/n/10 a
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 r
..\OT1/cmr/m/n/10 e
..\penalty 10000
..\rule(0.0+0.0)x0.0
..\C70/gbsn/m/n/10/ff 	
..\rule(0.0+0.0)x-5.39993
..\glue 5.39993 plus 1.00006 minus 1.00006
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 a
..\OT1/cmr/m/n/10 a
..\OT1/cmr/m/n/10 a
..\OT1/cmr/m/n/10 a
..\penalty 10000
..\glue(\parfillskip) 0.0 plus 1.0fil
..\glue(\rightskip) 0.0
.\glue(\parskip) 0.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 1.26556
.\hbox(8.79+1.94444)x345.0, glue set 216.5831fil
..\hbox(0.0+0.0)x0.0
..\glue 5.39993 plus 1.00006 minus 1.00006
..\rule(0.0+0.0)x-5.39993
..\C70/gbsn/m/n/10/ff ^^H
..\rule(0.0+0.0)x0.0
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 s
..\OT1/cmr/m/n/10 o
..\OT1/cmr/m/n/10 m
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 t
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 i
..\OT1/cmr/m/n/10 n
..\OT1/cmr/m/n/10 g
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 b
..\OT1/cmr/m/n/10 b
..\OT1/cmr/m/n/10 b
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 r
..\OT1/cmr/m/n/10 e
..\penalty 10000
..\rule(0.0+0.0)x0.0
..\C70/gbsn/m/n/10/ff 	
..\rule(0.0+0.0)x-5.39993
..\glue 5.39993 plus 1.00006 minus 1.00006
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 b
..\OT1/cmr/m/n/10 b
..\OT1/cmr/m/n/10 b
..\OT1/cmr/m/n/10 b
..\penalty 10000
..\glue(\parfillskip) 0.0 plus 1.0fil
..\glue(\rightskip) 0.0
.\glue(\parskip) 0.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 1.26556
.\hbox(8.79+1.94444)x345.0, glue set 224.36101fil
..\hbox(0.0+0.0)x0.0
..\glue 5.39993 plus 1.00006 minus 1.00006
..\rule(0.0+0.0)x-5.39993
..\C70/gbsn/m/n/10/ff ^^H
..\rule(0.0+0.0)x0.0
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 s
..\OT1/cmr/m/n/10 o
..\OT1/cmr/m/n/10 m
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 t
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 i
..\OT1/cmr/m/n/10 n
..\OT1/cmr/m/n/10 g
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 c
..\OT1/cmr/m/n/10 c
..\OT1/cmr/m/n/10 c
..\glue 3.33333 plus 1.66666 minus 1.11111
..\OT1/cmr/m/n/10 h
..\OT1/cmr/m/n/10 e
..\OT1/cmr/m/n/10 r
..\OT1/cmr/m/n/10 e
..\penalty 10000
..\rule(0.0+0.0)x0.0
..\C70/gbsn/m/n/10/ff 	
..\rule(0.0+0.0)x-5.39993
..\glue 5.39993 plus 1.00006 minus 1.00006
..\kern -0.00002
..\kern 0.00002
..\OT1/cmr/m/n/10 c
..\OT1/cmr/m/n/10 c
..\OT1/cmr/m/n/10 c
..\OT1/cmr/m/n/10 c
..\penalty 10000
..\glue(\parfillskip) 0.0 plus 1.0fil
..\glue(\rightskip) 0.0
.\penalty -51
\mathoff
\glue 3.33333 plus 1.66666 minus 1.11111
spacefactor 1000
### vertical mode entered at line 0
### current page:
\write-{}
\glue(\topskip) 0.0
\hbox(25.22223+20.22221)x345.0
.\hbox(0.0+0.0)x15.0
.\mathon
.\vbox(25.22223+20.22221)x345.0
..\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
...\hbox(6.94444+0.0)x47.77757
....\glue 0.0
....\glue 0.0
....\glue -5.0
....\hbox(6.94444+0.0)x47.77757
.....\OT1/cmr/bx/n/10 T
.....\OT1/cmr/bx/n/10 h
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 o
.....\OT1/cmr/bx/n/10 r
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 m
.....\OT1/cmr/m/n/10 .
....\glue 5.0
...\penalty 0
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 i
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 l
...\OT1/cmr/bx/it/10 e
...\kern 0.85
...\penalty 10000
...\glue 0.0 plus 1.0fil
...\penalty -10000
...\glue(\rightskip) 0.0
..\penalty 300
..\glue(\baselineskip) 4.5
..\hbox(7.5+2.5)x345.0, glue set 229.36087fil
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 225.47197fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 233.24988fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\penalty -51
.\mathoff
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
\glue 12.0 plus 4.0 minus 4.0
\glue 0.0
\glue(\parskip) 0.0 plus 1.0
\glue(\parskip) 0.0
total height 57.44444 plus 5.0 minus 4.0
goal height 550.0
prevdepth 20.22221


! OK.
l.34 ...depth=1000 \showboxbreadth=1000 \showlists
                                                
? 

Overfull \hbox (15.0pt too wide) in paragraph at lines 26--35
[]$[]$ 

\hbox(24.94444+19.94444)x345.0
.\hbox(0.0+0.0)x15.0
.\mathon
.\vbox(24.94444+19.94444)x345.0
..\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
...\hbox(6.94444+0.0)x47.77757
....\glue 0.0
....\glue 0.0
....\glue -5.0
....\hbox(6.94444+0.0)x47.77757
.....\OT1/cmr/bx/n/10 T
.....\OT1/cmr/bx/n/10 h
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 o
.....\OT1/cmr/bx/n/10 r
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 m
.....\OT1/cmr/m/n/10 .
....\glue 5.0
...\penalty 0
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 i
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 l
...\OT1/cmr/bx/it/10 e
...\kern 0.85
...\penalty 10000
...\glue 0.0 plus 1.0fil
...\penalty -10000
...\glue(\rightskip) 0.0
..\penalty 300
..\glue(\baselineskip) 3.21
..\hbox(8.79+1.94444)x345.0, glue set 225.87193fil
...\rule(0.0+0.0)x-5.39993
...\C70/gbsn/m/n/10/ff ^^H
...\rule(0.0+0.0)x0.0
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\penalty 10000
...\rule(0.0+0.0)x0.0
...\C70/gbsn/m/n/10/ff 	
...\rule(0.0+0.0)x-5.39993
...\glue 5.39993 plus 1.00006 minus 1.00006
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 1.26556
..\hbox(8.79+1.94444)x345.0, glue set 216.5831fil
...\hbox(0.0+0.0)x0.0
...\glue 5.39993 plus 1.00006 minus 1.00006
...\rule(0.0+0.0)x-5.39993
...\C70/gbsn/m/n/10/ff ^^H
...\rule(0.0+0.0)x0.0
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\penalty 10000
...\rule(0.0+0.0)x0.0
...\C70/gbsn/m/n/10/ff 	
...\rule(0.0+0.0)x-5.39993
...\glue 5.39993 plus 1.00006 minus 1.00006
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 1.26556
..\hbox(8.79+1.94444)x345.0, glue set 224.36101fil
...\hbox(0.0+0.0)x0.0
...\glue 5.39993 plus 1.00006 minus 1.00006
...\rule(0.0+0.0)x-5.39993
...\C70/gbsn/m/n/10/ff ^^H
...\rule(0.0+0.0)x0.0
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 t
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 i
...\OT1/cmr/m/n/10 n
...\OT1/cmr/m/n/10 g
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 h
...\OT1/cmr/m/n/10 e
...\OT1/cmr/m/n/10 r
...\OT1/cmr/m/n/10 e
...\penalty 10000
...\rule(0.0+0.0)x0.0
...\C70/gbsn/m/n/10/ff 	
...\rule(0.0+0.0)x-5.39993
...\glue 5.39993 plus 1.00006 minus 1.00006
...\kern -0.00002
...\kern 0.00002
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\penalty -51
.\mathoff
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0



[1

{c:/Users/Kasmir/.texlive2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./mwe.aux)
***********
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-09-02>
***********
) 
Here is how much of TeX's memory you used:
1960 strings out of 467797
30862 string characters out of 5435982
432987 words of memory out of 5000000
30648 multiletter control sequences out of 15000+600000
628102 words of font info for 44 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
44i,5n,51p,161b,466s stack positions out of 10000i,1000n,20000p,200000b,200000s
<c:/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb><c:/tex
live/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmbxti10.pfb><c:/texlive/20
25/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><c:/texlive/2025/texmf-d
ist/fonts/type1/arphic/gbsnu/gbsnuff.pfb>
Output written on mwe.pdf (1 page, 36291 bytes).
PDF statistics:
28 PDF objects out of 1000 (max. 8388607)
16 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

使用\showbox:

我不确定我完全正确使用了\showbox

\documentclass{article}
\tracingonline2
\showboxdepth10
\showboxbreadth10
\usepackage{CJK}
\usepackage{CJKspace}
\usepackage{CJKpunct}
\newenvironment{xmp}[1]{%
    \begin{minipage}{\textwidth}%
        \begin{trivlist}%
          \item[{\bfseries Theorem}.] {\textit{\textbf{#1}}\newline}
}%
{%
        \end{trivlist}%
    \end{minipage}%
}%
\begin{document}%
\newbox\boxa
\newbox\boxb
\newbox\boxc
\begin{CJK}{UTF8}{gbsn}
    \begin{xmp}{title}%
        (something aaa here) aaaa

        (something bbb here) bbbb

        (something ccc here) cccc
    \end{xmp}%

    \bigskip

    \begin{xmp}{title}%
        \setbox\boxa\hbox{(something aaa here)aaaa}

        \setbox\boxb\hbox{(something bbb here)bbbb}

        \setbox\boxc\hbox{(something ccc here)cccc}
    \end{xmp}%
\end{CJK}

\showbox\boxa 

\showbox\boxb

\showbox\boxc

\end{document}

这将得到三个盒子构造的列表信息

\hbox(25.22223+20.22221)x345.0
.\hbox(0.0+0.0)x15.0
.\mathon
.\vbox(25.22223+20.22221)x345.0
..\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
...\hbox(6.94444+0.0)x47.77757
....\glue 0.0
....\glue 0.0
....\glue -5.0
....\hbox(6.94444+0.0)x47.77757
.....\OT1/cmr/bx/n/10 T
.....\OT1/cmr/bx/n/10 h
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 o
.....\OT1/cmr/bx/n/10 r
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 m
.....\OT1/cmr/m/n/10 .
....\glue 5.0
...\penalty 0
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 i
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 l
...\OT1/cmr/bx/it/10 e
...\kern 0.85
...\penalty 10000
...\glue 0.0 plus 1.0fil
...\penalty -10000
...\glue(\rightskip) 0.0
..\penalty 300
..\glue(\baselineskip) 4.5
..\hbox(7.5+2.5)x345.0, glue set 278.83319fil
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 275.49985fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 282.16663fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\penalty -51
.\mathoff
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0

完整的日志文件可见

log文件
This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) (preloaded format=pdflatex 2025.9.26)  4 OCT 2025 22:11
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mwwe
(./mwe.tex
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-09-02>
(c:/texlive/2025/texmf-dist/tex/latex/base/article.cls
Document Class: article 2025/01/22 v1.4n Standard LaTeX document class
(c:/texlive/2025/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2025/01/22 v1.4n Standard LaTeX file (size option)
)
\c@part=\count275
\c@section=\count276
\c@subsection=\count277
\c@subsubsection=\count278
\c@paragraph=\count279
\c@subparagraph=\count280
\c@figure=\count281
\c@table=\count282
\abovecaptionskip=\skip49
\belowcaptionskip=\skip50
\bibindent=\dimen148
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJK.sty
Package: CJK 2021/10/16 4.8.5

(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/mule/MULEenc.sty
Package: MULEenc 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJK.enc
File: CJK.enc 2021/10/16 4.8.5
Now handling font encoding C00 ...
... no UTF-8 mapping file for font encoding C00
Now handling font encoding C05 ...
... no UTF-8 mapping file for font encoding C05
Now handling font encoding C09 ...
... no UTF-8 mapping file for font encoding C09
Now handling font encoding C10 ...
... no UTF-8 mapping file for font encoding C10
Now handling font encoding C20 ...
... no UTF-8 mapping file for font encoding C20
Now handling font encoding C19 ...
... no UTF-8 mapping file for font encoding C19
Now handling font encoding C40 ...
... no UTF-8 mapping file for font encoding C40
Now handling font encoding C42 ...
... no UTF-8 mapping file for font encoding C42
Now handling font encoding C43 ...
... no UTF-8 mapping file for font encoding C43
Now handling font encoding C50 ...
... no UTF-8 mapping file for font encoding C50
Now handling font encoding C52 ...
... no UTF-8 mapping file for font encoding C52
Now handling font encoding C49 ...
... no UTF-8 mapping file for font encoding C49
Now handling font encoding C60 ...
... no UTF-8 mapping file for font encoding C60
Now handling font encoding C61 ...
... no UTF-8 mapping file for font encoding C61
Now handling font encoding C63 ...
... no UTF-8 mapping file for font encoding C63
Now handling font encoding C64 ...
... no UTF-8 mapping file for font encoding C64
Now handling font encoding C65 ...
... no UTF-8 mapping file for font encoding C65
Now handling font encoding C70 ...
... no UTF-8 mapping file for font encoding C70
Now handling font encoding C31 ...
... no UTF-8 mapping file for font encoding C31
Now handling font encoding C32 ...
... no UTF-8 mapping file for font encoding C32
Now handling font encoding C33 ...
... no UTF-8 mapping file for font encoding C33
Now handling font encoding C34 ...
... no UTF-8 mapping file for font encoding C34
Now handling font encoding C35 ...
... no UTF-8 mapping file for font encoding C35
Now handling font encoding C36 ...
... no UTF-8 mapping file for font encoding C36
Now handling font encoding C37 ...
... no UTF-8 mapping file for font encoding C37
Now handling font encoding C80 ...
... no UTF-8 mapping file for font encoding C80
Now handling font encoding C81 ...
... no UTF-8 mapping file for font encoding C81
Now handling font encoding C01 ...
... no UTF-8 mapping file for font encoding C01
Now handling font encoding C11 ...
... no UTF-8 mapping file for font encoding C11
Now handling font encoding C21 ...
... no UTF-8 mapping file for font encoding C21
Now handling font encoding C41 ...
... no UTF-8 mapping file for font encoding C41
Now handling font encoding C62 ...
... no UTF-8 mapping file for font encoding C62
)
\CJK@indent=\box53
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/CJKspace.sty
Package: CJKspace 2021/10/16 3.8.0
)
(c:/texlive/2025/texmf-dist/tex/latex/cjkpunct/CJKpunct.sty
Package: CJKpunct 2016/05/14 4.8.4
\CJKpunct@cnta=\count283
\CJKpunct@cntb=\count284
\CJKpunct@cntc=\count285
\CJKpunct@cntd=\count286
\CJKpunct@cnte=\count287
   defining Unicode char U+2018 (decimal 8216)
   defining Unicode char U+2019 (decimal 8217)
   defining Unicode char U+201C (decimal 8220)
   defining Unicode char U+201D (decimal 8221)
   defining Unicode char U+2014 (decimal 8212)
   defining Unicode char U+2026 (decimal 8230)

(c:/texlive/2025/texmf-dist/tex/latex/cjkpunct/CJKpunct.spa))
(c:/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2025-06-09 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count288
)
(./mwe.aux)
\openout1 = `mwe.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C00/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C05/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C09/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C10/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C20/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C19/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C40/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C42/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C43/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C50/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C52/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C49/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C60/mj/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C61/mj/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C63/mj/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C64/mj/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C65/mj/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C70/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C31/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C32/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C33/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C34/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C35/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C36/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C37/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C80/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C81/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C01/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C11/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C21/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C41/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
LaTeX Font Info:    Checking defaults for C62/song/m/n on input line 16.
LaTeX Font Info:    ... okay on input line 16.
\boxa=\box54
\boxb=\box55
\boxc=\box56
 (c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.bdg
File: UTF8.bdg 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.enc
File: UTF8.enc 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/UTF8.chr
File: UTF8.chr 2021/10/16 4.8.5
)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 27.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 27.

Overfull \hbox (15.0pt too wide) in paragraph at lines 21--28
[]$[]$ 

\hbox(25.22223+20.22221)x345.0
.\hbox(0.0+0.0)x15.0
.\mathon
.\vbox(25.22223+20.22221)x345.0
..\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
...\hbox(6.94444+0.0)x47.77757
....\glue 0.0
....\glue 0.0
....\glue -5.0
....\hbox(6.94444+0.0)x47.77757
.....\OT1/cmr/bx/n/10 T
.....\OT1/cmr/bx/n/10 h
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 o
.....\OT1/cmr/bx/n/10 r
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 m
.....\OT1/cmr/m/n/10 .
....\glue 5.0
...\penalty 0
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 i
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 l
...\OT1/cmr/bx/it/10 e
...\kern 0.85
...\penalty 10000
...\glue 0.0 plus 1.0fil
...\penalty -10000
...\glue(\rightskip) 0.0
..\penalty 300
..\glue(\baselineskip) 4.5
..\hbox(7.5+2.5)x345.0, glue set 278.83319fil
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\OT1/cmr/m/n/10 a
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 275.49985fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\OT1/cmr/m/n/10 b
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\glue(\parskip) 0.0
..\glue(\parskip) 0.0
..\glue(\baselineskip) 2.0
..\hbox(7.5+2.5)x345.0, glue set 282.16663fil
...\hbox(0.0+0.0)x0.0
...\OT1/cmr/m/n/10 (
...\OT1/cmr/m/n/10 s
...\OT1/cmr/m/n/10 o
...\OT1/cmr/m/n/10 m
...\OT1/cmr/m/n/10 e
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 )
...\glue 3.33333 plus 1.66666 minus 1.11111
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\OT1/cmr/m/n/10 c
...\penalty 10000
...\glue(\parfillskip) 0.0 plus 1.0fil
...\glue(\rightskip) 0.0
..\penalty -51
.\mathoff
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0

LaTeX Font Info:    Trying to load font information for C70+gbsn on input line 
32.
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/c70gbsn.fd
File: c70gbsn.fd 2021/10/16 4.8.5
)
(c:/texlive/2025/texmf-dist/tex/latex/cjk/texinput/UTF8/c70gbsn.fdx
File: c70gbsn.fdx 2021/10/16 4.8.5
)
Package CJKpunct Info: punctuation spaces for family 'gbsn' do not exist. Use f
amily 'def' instead. on input line 32.

Underfull \hbox (badness 10000) in paragraph at lines 31--33


\hbox(0.0+0.0)x345.0
.\glue(\rightskip) 0.0


Overfull \hbox (15.0pt too wide) in paragraph at lines 31--39
[]$[]$ 

\hbox(11.97223+6.97221)x345.0
.\hbox(0.0+0.0)x15.0
.\mathon
.\vbox(11.97223+6.97221)x345.0
..\hbox(6.94444+0.0)x345.0, glue set 276.82819fil
...\hbox(6.94444+0.0)x47.77757
....\glue 0.0
....\glue 0.0
....\glue -5.0
....\hbox(6.94444+0.0)x47.77757
.....\OT1/cmr/bx/n/10 T
.....\OT1/cmr/bx/n/10 h
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 o
.....\OT1/cmr/bx/n/10 r
.....\OT1/cmr/bx/n/10 e
.....\OT1/cmr/bx/n/10 m
.....\OT1/cmr/m/n/10 .
....\glue 5.0
...\penalty 0
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 i
...\OT1/cmr/bx/it/10 t
...\OT1/cmr/bx/it/10 l
...\OT1/cmr/bx/it/10 e
...\kern 0.85
...\penalty 10000
...\glue 0.0 plus 1.0fil
...\penalty -10000
...\glue(\rightskip) 0.0
..\penalty 300
..\glue(\baselineskip) 12.0
..\hbox(0.0+0.0)x345.0
...\glue(\rightskip) 0.0
..\penalty -51
.\mathoff
.\penalty 10000
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0

> \box54=void

! OK.
l.40 \showbox\boxa
                  
? 
> \box55=void

! OK.
l.42 \showbox\boxb
                  
? 
> \box56=void

! OK.
l.44 \showbox\boxc
                  
? 


[1

{c:/Users/Kasmir/.texlive2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./mwe.aux)
 ***********
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-09-02>
 ***********
 ) 
Here is how much of TeX's memory you used:
 1967 strings out of 467797
 30914 string characters out of 5435982
 431987 words of memory out of 5000000
 30652 multiletter control sequences out of 15000+600000
 628102 words of font info for 44 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 44i,5n,51p,162b,471s stack positions out of 10000i,1000n,20000p,200000b,200000s
<c:/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb><c:/tex
live/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmbxti10.pfb><c:/texlive/20
25/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on mwe.pdf (1 page, 32409 bytes).
PDF statistics:
 23 PDF objects out of 1000 (max. 8388607)
 13 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

Explorer-cc avatar Oct 04 '25 09:10 Explorer-cc