Smile for the Camera: a new cybercrime short story ebook.

flowfram package FAQ

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

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.

For example, if you want to create a frame whose bottom left corner is one inch from the left edge of the page and half an inch from the bottom edge of the page (this assumes odd and even pages have the same margins):
% define two new lengths to represent the x and y coords
\newlength{\myX}
\newlength{\myY}
% compute the distance from the typeblock to the paper edge
\computeleftedgeodd{\myX}
\computebottomedge{\myY}
% Add the absolute co-ordinates to get co-ordinates
% relative to the typeblock
\addtolength{\myX}{1in}
\addtolength{\myY}{0.5in}

2013-12-08 17:40:29


Permalink: https://www.dickimaw-books.com/faq.php?id=106
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=pageedgedist

Category: flowfram package
Topic: General Queries