Transform a tex source so that all macros are replaced by their definition

前端 未结 5 1535
说谎
说谎 2021-01-18 11:10

Is it possible to see the output of the TeX ‘pre-processor’, i. e. the intermediate step before the actual output is done but with all user-defined macros replaced and only

5条回答
  •  渐次进展
    2021-01-18 11:28

    Write

    \edef\xxx{Any text with any commands. For example, $\phantom x$.}
    

    And then for output in the log-file

    \show\xxx
    

    or for output in your document

    \meaning\xxx
    

提交回复
热议问题