Lay out text and graphics at arbitrary positions on the LaTeX page.
The textpos home page is at http://purl.org/nxg/dist/textpos
;
please quote this URL rather than the URL it resolves to.
Version 1.7j, 2014 January 3.
This package facilitates placing boxes at absolute positions on the LaTeX page. There are several reasons why this might be useful, but the main one (or at least my motivating one) is to help produce a large-format conference poster. Other applications include placing material within, say, figures. Textpos is also discussed in the TeX FAQ entry on absolute positioning.
This package provides a single environment, which contains the text (or graphics, or table, or whatever) which is to be placed on the page, and which specifies where it is to be placed. The environment is accompanied by various configuration commands. See the manual (pdf).
An article describing Textpos appeared in TUGboat in 2002: Norman Gray, Absolute Positioning with Textpos, TUGboat 23 (3/4), pp341–4, 2002.
I have a collection of general advice about creating conference posters with LaTeX.
Rolf Niepraschk provided me with a wonderful demo
(tex,
pdf)
of using Textpos along with his eso-pic
package,
and the calc
package, to produce a grid which can help lay out
material on the page.
The source is held at bitbucket, and there is an issues list there, for bug reports.
\color
command is now robust.
Thanks to Joseph Wright for the bugreport.
Also adjusted documentation of reference points.\TPmargin
,
which meant that lists and quotations (and other things which
manipulated \leftskip
and \rightskip
) were
not decreasing in size when you set \TPmargin
non-zero.
Fixed.{color}
package. Now, if you do not load that package,
\textblockrulecolour
will have no effect, rather than
failing. Textpos will give you a warning in this case, reminding you
to load the {color}
package.\textblockrulecolour
and
\TPshowboxes{true,false}
commands, to further control the
display of the rules around the text blocks.{calc}
-style dimensions to the
{textblock*}
argument work again (so that's what
regression tests are for...). Override the figure
and
table
environments within textblock
environments, to avoid their surprising and undesirable interaction
with textblock
.\newpage
command.\TPMargin
command, which causes a margin
to appear round the blocks of text within textblock
environments. This makes it easy to use blocks of colour which
are larger than the block of text by a decent margin, or to put a
border round textblocks by setting a suitably-sized margin and using
the showboxes
package option.\textblockcolour
command, to set
the background colour of text blocks{textblock}
environment. This was fixed in version 1.2a,
which adds a {textblock*}
environment (fully compatible
with calc
), and does not attempt to support calc-style
expressions in the parameters to the unstarred
{textblock}
environment.niepraschk@ptb.de
provided code to
make textpos compatible with the calc
packagetextpos.ins
-- this will
unpack the style file textpos.sty
amongst other files.
Place this somewhere where TeX can find it.textpos.dtx
to obtain the
documentation.The textpos
home page is at http://purl.org/nxg/dist/textpos
, and there may be more
up-to-date versions available there.
Textpos
is also available on CTAN:
/tex-archive/macros/latex/contrib/textpos/