[問題] 有沒有把def展開的方式或指令?
想請問一下,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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章