[問題] 有沒有把def展開的方式或指令?

看板LaTeX (論文排版)作者 (So Say We All.)時間17年前 (2008/03/13 08:28), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
想請問一下,Tex/LaTex有沒有提供什麼方式或指令,能夠展開像def定義出來的新標記? 就像C++的inline function或macro一樣,經過preprocessing後,就將定義的內容 代換到文本中每一次叫用的位置。 因為在整理文件的時候,有時看別人寫的tex, 他會自己定義許多縮寫,然後放在獨立 的檔案再include進來。這樣直接看tex的話可讀性很差,所以我想將這些定義的東西 還原成標準的Tex標記後比較好閱讀 PS: 我是在Linux上寫tetex的 -- The 4400 ~ A Place In Time ~ [Amanda Abizaid] So long ago, another life, I can feel your heartbeat. It's not a dream, remember us. I can see it in your eyes. We'll find our place in time, a place in time beyond the sun. We'll find our place in time, a place in time to call our own. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 72.235.152.74
文章代碼(AID): #17s7KXKY (LaTeX)
文章代碼(AID): #17s7KXKY (LaTeX)