I've heard that LaTeX is Turing complete. Are there any programs written in LaTeX?

后端 未结 6 876
無奈伤痛
無奈伤痛 2021-01-30 03:43

It\'s possible to do interesting things with what would ordinarily be thought of as typesetting languages. For example, you can construct the Mandelbrot set using postscript.

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 04:15

    In issue 13 of The Monad Reader, Stephen Hicks writes about implementing the solution to an ICFP contest (involving Mars rover navigation) in TeX, with copious use of macros. Amusingly, the solution's output when typeset is a postscript map of the rover's path.

提交回复
热议问题