# [texhax] textpos and page breaks

Peter Davis pfd at pfdstudio.com
Thu Nov 18 16:32:46 CET 2010

I'm trying to use the textpos package to position text and graphics at
explicit locations on the page.  However, I'm finding I can't seem to force
a page break with this package.  I've tried \pagebreak, \newpage, and even
\vfill\eject, but I still get everything on one page.

I'm using XeLaTeX, though I believe other engines would give the same
results.  Any thoughts?  Here's the test file.

\documentclass{article}

\usepackage[absolute]{textpos}

\setlength{\TPHorizModule}{1pt}

\setlength{\TPVertModule}{\TPHorizModule}

%\textblockorigin{0mm}{0mm} % start everything near the top-left corner

\setlength{\parindent}{0pt}

\pagestyle{plain}

\begin{document}

\begin{textblock}{235}(12,20)

This text should be on the first page.

\end{textblock}

\newpage

\begin{textblock}{229.5}(447.6,228)

This text should be on the second page

\end{textblock}

\pagebreak

\begin{textblock}{229.5}(85.2,228)

This should be on the third page.

\end{textblock}

\vfill\eject

\begin{textblock}{298.8}(249.6,62.4)

This should be page 4.

\end{textblock}

\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101118/5e6b4724/attachment.html>