Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I compute the distance from the edge of the page instead of the typeblock?

compute distance page
0
10 Posted

How do I compute the distance from the edge of the page instead of the typeblock?

0
10

The following commands all take a length as the argument. The distance from the typeblock to the paper edge will be stored in the length. You can then use this value to go from an absolute position to a relative position. • \computeleftedgeeven Compute the left edge of the page, relative to the left edge of the typeblock for even pages. • \computeleftedgeodd Compute the left edge of the page, relative to the left edge of the typeblock for odd pages. • \computebottomedge Compute the bottom edge of the page, relative to the bottom of the typeblock. • \computerightedgeeven Compute the right edge of the page, relative to the left edge of the typeblock for even pages. • \computerightedgeodd Compute the right edge of the page, relative to the left edge of the typeblock. • \computetopedge Compute the top edge of the page, relative to the bottom of the typeblock.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123