In css there is the handy absolute positioning. Today I found out how to do it in LaTeX:
In the preamble
\usepackage{textpos}
In the document
Lorem ipsum dolor sit amet
\end{textblock}
The arguments are as follows:
\begin{textpos}
{<width>}
[<left handle>,<top handle>]
(<leftmargin>,<topmargin>)
Width: width of the box. Height is determined automatically.
Handle: Where the box is being grabbed. Default is [0,0], which means left/top corner; [0.5,0.5] would be the center of the box and [1,1] the right bottom corner.
Margin: Where the box will be positioned on the page.
For more detailed instructions (on the units of measurement for instance), refer to Norman Gray’s textpos doc. The textpos bundle can be found at tug.
Leave a Reply