Latest news 2025-07-01: Ebook Sale July 2025. Cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

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