清理代码库中的开发过程内容
- 删除 WORKFLOW.md(开发流程文档,已移入记忆库) - build.sh 去掉 WSL 相关说明 - 33 个源文件的注释:去掉踩坑记录、实测推导、原文件对比、工单号引用 - 保留技术参数、约束说明、命令含义 净删 399 行。全库 16/16 编译通过。
This commit is contained in:
@@ -275,10 +275,10 @@
|
||||
%% 方框内文字的字体(字号由 \ouc@toc@compute 算出)
|
||||
\def\ouc@toc@fontsel{\fontsize{\ouc@toc@font}{\ouc@toc@base}\selectfont\bfseries}
|
||||
|
||||
%% 圆形序号徽标(#1 = 圆圈填充色,#2 = 数字)
|
||||
%% 圆形序号徽标(= 圆圈填充色,#2 = 数字)
|
||||
%% 注意:这里刻意不加 \strut。\strut 会把内容盒撑成「0.7 倍行距的上高 + 0.3 倍行距的下深」,
|
||||
%% 而数字没有下伸部(descender),那段虚构的下深会把数字整体推高,在圆里明显偏上
|
||||
%% (实测偏上约 1.7pt,大字号时可达 4pt)。去掉 \strut 后数字墨迹与圆心对齐(实测偏差 < 0.1pt)。
|
||||
%% (实际偏上约 1.7pt,大字号时可达 4pt)。去掉 \strut 后数字墨迹与圆心对齐(实际偏差 < 0.1pt)。
|
||||
%% 圆的垂直位置不受影响:圆心到基线的距离恒为 minimum size 的一半(0.6em)。
|
||||
\def\ouc@toc@badge#1#2{%
|
||||
\tikz[baseline=(ouc@badge.base)]{%
|
||||
@@ -286,7 +286,7 @@
|
||||
minimum size=\ouc@toc@badgesize, font=\bfseries] (ouc@badge) {#2};%
|
||||
}%
|
||||
}
|
||||
%% 实心样式下用的空心序号(#1 = 描边色,#2 = 数字;同样不加 \strut)
|
||||
%% 实心样式下用的空心序号(= 描边色,#2 = 数字;同样不加 \strut)
|
||||
\def\ouc@toc@badgeopen#1#2{%
|
||||
\tikz[baseline=(ouc@badge.base)]{%
|
||||
\node[circle, draw=#1, line width=0.8pt, text=#1, inner sep=0pt,
|
||||
|
||||
Reference in New Issue
Block a user