Open main menu
Wiki
Search
Changes
← Older edit
Newer edit →
Programming in LuaTeX
(view source)
Revision as of 19:30, 28 December 2009
5 bytes added
,
19:30, 28 December 2009
→Arithmetic without using a abacus
:
typo
<texcode>
\def\COSINE#1%
{\ctxlua
(
{
context(math.cos(#1*2*
math.
pi/360))
}
}
</texcode>
$\pi = \ctxlua{context("\%.6f", math.pi)}$
</texcode>
= Loops without worrying about expansion =
Adityam
Administrators
869
edits