Changes

Jump to navigation Jump to search
Now that we have some idea of how to work with LuaTeX, let's look at some examples.
= Arithmetic without using a an abacus =
Doing simple arithmetic in TeX can be extremely difficult, as illustrated by the division macro in the introduction. With Lua, simple arithmetic becomes trivial. For example, if you want a macro to find the cosine of an angle (in degrees), you can write

Navigation menu