目录
一、Word行号位置左右调整设置
Word中行号的位置可以根据需求进行左右调整。
1. 新建一个Word,添加行号。

2. 按 Alt+F11 打开VBA窗口,在立即窗口输入以下代码(行号放左侧),按 Shift+Enter 运行:
ActiveDocument.Sections(1).PageSetup.SectionDirection = wdSectionDirectionLtr


3. 同理,行号放右侧,在立即窗口输入以下代码,按 Shift+Enter 运行:
ActiveDocument.Sections(1).PageSetup.SectionDirection = wdSectionDirectionRtr
二、参考文献交叉引用设置
1. 多个参考文献格式设置 (e.g., [1-3]):
左侧参考文献代码更改(e.g., { REF _Ref149293390 \r \h \#“[0”}):
\#“[0”
右侧参考文献代码更改(e.g., { REF _Ref149293446 \r \h \#“0]”}):
\#“0]”
2. 更新序号:
全部选中按F9,更新交叉引用的序号。