Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions TeXmacs/packages/standard/std-markup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@
<arg|body>
</cell>>>>>>>

<assign|three-line-table|<macro|body|<tformat|<twith|table-min-cols|2>|<cwith|1|-1|1|-1|cell-halign|c>|<cwith|1|1|1|-1|cell-tborder|1ln>|<cwith|-1|-1|1|-1|cell-bborder|1ln>|<cwith|1|1|1|-1|cell-bborder|0.5ln>|<arg|body>>>>

<\active*>
<\src-comment>
Transparency.
Expand Down
1 change: 1 addition & 0 deletions TeXmacs/plugins/lang/dic/en_US/zh_CN.scm
Original file line number Diff line number Diff line change
Expand Up @@ -2302,6 +2302,7 @@
("this page header" "当前页页眉")
("this page" "")
("this row" "此行")
("three line table" "三线表")
("three times" "三次")
("three-points-circle" "三点画圆")
("through popup windows" "通过弹出窗口")
Expand Down
1 change: 1 addition & 0 deletions TeXmacs/progs/table/table-menu.scm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
(if (and (style-has? "calc-dtd") (calc-ready?))
(link calc-table-menu)
---)
("Three line table" (make 'three-line-table))
(if (not (in-math?))
("Wide tabular" (make 'wide-tabular)))
(when (not (selection-active-non-small?))
Expand Down
13 changes: 13 additions & 0 deletions devel/222_40.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 222_40 在插入->表格 中新增三线表

## 如何测试

- 插入->表格->三线表
- 测试添加行列,是否会自动匹配三条线到首行和末行

## 2026/02/04 新增三线表

### What

- 在`std-markup.ts`里新写三线表的宏
- 在`table-menu.scm`里添加插入三线表的按钮