Editing TeX without TeX
From LuaTeXWiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
</pre> | </pre> | ||
β | Some remarks: the size is in scaled points, and 65536 (=2 | + | Some remarks: the size is in scaled points, and 65536 (=2^16) scaled points are 1 point, so 20pt becomes 20 * 2^16. Not shown in the example are (among others) the next and prev fields. These fields hold a pointer (the node address) to the following and the previous nodes. A node that exist by itself has its prev and next fields set to nil. |
A slightly more complicated example is when you create two rules and pack then into a vertical box. This would look like this in plain TeX: | A slightly more complicated example is when you create two rules and pack then into a vertical box. This would look like this in plain TeX: |