We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如下图所示,%<<COMMENT 与 %COMMENT 所在行上方间距偏小。
%<<COMMENT
%COMMENT
(来源:xpinyin.pdf)
xpinyin.pdf
问题可能出在 \@@_module_verb:w。\l_@@_verbatim_line_tl 最后带一个回车符 ^^M ,直接输出该 token list 会使行距按照 \footnotesize 更新,比正常代码行偏小。
\@@_module_verb:w
\l_@@_verbatim_line_tl
^^M
\footnotesize
我目前的解决方案是先把 \l_@@_verbatim_line_tl 最后的 ^^M 去掉,输出之后再补上一个 \par。
\par
The text was updated successfully, but these errors were encountered:
给一个 MWE:
% \iffalse %<*driver> \documentclass{ctxdoc} \begin{document} \DocInput{\jobname.tex} \end{document} %</driver> % \fi % % \begin{macrocode} \newcommand\foo{bar} %<<TAG Some code %TAG \newcommand\bar{foo} \renewcommand\foo{bar} %<*test> Some code %</test> \renewcommand\bar{foo} % \end{macrocode} % \Finale
第 2、4 两行往上偏了一点。
Sorry, something went wrong.
0f21e62
qinglee
No branches or pull requests
如下图所示,
%<<COMMENT
与%COMMENT
所在行上方间距偏小。(来源:
xpinyin.pdf
)问题可能出在
\@@_module_verb:w
。\l_@@_verbatim_line_tl
最后带一个回车符^^M
,直接输出该token list 会使行距按照
\footnotesize
更新,比正常代码行偏小。我目前的解决方案是先把
\l_@@_verbatim_line_tl
最后的^^M
去掉,输出之后再补上一个\par
。The text was updated successfully, but these errors were encountered: