作者thomson (完成度 2/5)
看板LaTeX
标题[问题] 跨档案 label 的 scope 如何设定?
时间Tue Jul 27 22:13:49 2010
我现在有一个 tex 档案: main.tex
在 main.tex 我使用 \input 将两个子档案 A.tex 与 B.tex 纳入进来一起编译
但是在 A.tex 与 B.tex 我有用到 相同的 label 代号
所以会导致 B 档案的 label 会被 A 档案使用
如:
我的 (A.1) 与 (B.3) 使用相同的 label
本来在 A.tex 中我想要产生 "The measure is shown in (A.1)"
但是实际编译後却变成 "The measure is shown in (B.3)"
不知道有没有办法将 label 的 scope 限定在个别档案内使用呢??
--
おじゃまいたしました
おさきにしつれいします
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.236.39
※ 编辑: thomson 来自: 140.113.236.39 (07/27 22:24)
1F:推 iccfish:...不同的东西就不要用一样的label阿 07/28 00:15
2F:→ thomson:我当初是分开写 没有想到有一天需要变成一本书啊 07/28 11:07
3F:→ thomson:我也不想啊 唉 07/28 12:32
4F:推 iccfish:那就改吧... 用搜寻/取代 会快一点 07/28 12:33