| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dcterms="http://purl.org/dc/terms/"> |
| 4 |
<head> |
| 5 |
<title>Textpos</title> |
| 6 |
<meta property="dcterms:subject" content="latex, textpos, absolute positioning"/> |
| 7 |
|
| 8 |
<meta property="dcterms:date" content="@RELEASEDATEISO@"/> |
| 9 |
<link href="https://nxg.me.uk/norman" rev="author" rel="dcterms:creator"/> |
| 10 |
|
| 11 |
</head> |
| 12 |
|
| 13 |
<body> |
| 14 |
<h1 property="dcterms:title">Textpos</h1> |
| 15 |
<div class="abstract"> |
| 16 |
<p property="dcterms:description">Lay out text and graphics at arbitrary positions on the LaTeX page.</p> |
| 17 |
|
| 18 |
|
| 19 |
<p class="distpage">The textpos home page is at |
| 20 |
<a href="https://purl.org/nxg/dist/textpos"><code>https://purl.org/nxg/dist/textpos</code></a>; |
| 21 |
please quote this URL rather than the URL it resolves to.</p> |
| 22 |
<p>Version 1.10.1, 2022 July 23.</p> |
| 23 |
</div> |
| 24 |
|
| 25 |
<p>This package facilitates placing boxes at absolute positions on the |
| 26 |
LaTeX page. There are several reasons why this might be useful, but |
| 27 |
the main one (or at least my motivating one) is to help produce a |
| 28 |
large-format conference poster. Other applications include placing |
| 29 |
material within, say, figures. Textpos is also discussed in the <a href="https://texfaq.org/FAQ-abspos">TeX FAQ |
| 30 |
entry on absolute positioning</a>.</p> |
| 31 |
|
| 32 |
<p>This package provides a single environment, which contains the text |
| 33 |
(or graphics, or table, or whatever) which is to be placed on the |
| 34 |
page, and which specifies where it is to be placed. The environment |
| 35 |
is accompanied by various configuration commands. See the <a href="textpos.pdf">manual (pdf)</a>.</p> |
| 36 |
|
| 37 |
<p>An article describing Textpos appeared in TUGboat in 2002: |
| 38 |
<a href="https://www.tug.org/TUGboat/tb23-3-4/tb75gray.pdf">Norman Gray, <em>Absolute Positioning with Textpos</em>, |
| 39 |
TUGboat <strong>23</strong> (3/4), pp341–4, 2002.</a></p> |
| 40 |
|
| 41 |
<p>I have a collection of general advice about <a href="https://purl.org/nxg/note/posters">creating |
| 42 |
conference posters with LaTeX</a>.</p> |
| 43 |
|
| 44 |
<p>Rolf Niepraschk provided me with a wonderful demo |
| 45 |
(<a href="niepraschk-eso-pic.tex">tex</a>, |
| 46 |
<a href="niepraschk-eso-pic.pdf">pdf</a>) |
| 47 |
of using Textpos along with his <code>eso-pic</code> package, |
| 48 |
and the <code>calc</code> package, to produce a grid which can help lay out |
| 49 |
material on the page.</p> |
| 50 |
|
| 51 |
<p>The source is held <a href="https://heptapod.host/nxg/textpos">online</a>, |
| 52 |
where you can find an issues list</p> |
| 53 |
|
| 54 |
|
| 55 |
<h2 class="distpage">Installation and further information</h2> |
| 56 |
|
| 57 |
<ol> |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
<li>Run LaTeX on the file <code>textpos.ins</code> – this will |
| 62 |
unpack the style file <code>textpos.sty</code> amongst other files. |
| 63 |
Place this somewhere where TeX can find it.</li> |
| 64 |
|
| 65 |
<li>Run LaTeX on the file <code>textpos.dtx</code> to obtain the |
| 66 |
documentation.</li> |
| 67 |
</ol> |
| 68 |
|
| 69 |
<p class="distpage">The <code>textpos</code> home page is at <a href="https://purl.org/nxg/dist/textpos"><code>https://purl.org/nxg/dist/textpos</code></a>, and there may be more up-to-date versions available there.</p> |
| 70 |
|
| 71 |
<p><code>Textpos</code> is also available on CTAN: |
| 72 |
<a href="https://www.ctan.org/pkg/textpos">macros/latex/contrib/textpos/</a></p> |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
<h2>History</h2> |
| 77 |
|
| 78 |
<dl> |
| 79 |
<dt><strong>Release 1.10.1, 2022 July 23</strong></dt> |
| 80 |
<dd> |
| 81 |
<ul> |
| 82 |
<li>Mildly improve the handling of a missing <code>{color}</code> package.</li> |
| 83 |
<li>The <code>overlay</code> option isn't changeable in |
| 84 |
<code>\TPoptions</code>; attempting to do so now produces a |
| 85 |
warning.</li> |
| 86 |
<li>Various mild documentation improvements.</li> |
| 87 |
<li>The code repository has moved again, to |
| 88 |
<a href="https://heptapod.host/nxg/textpos">heptapod</a>.</li> |
| 89 |
</ul> |
| 90 |
</dd> |
| 91 |
|
| 92 |
<dt><strong>1.10, 2020 September 26</strong></dt> |
| 93 |
<dd> |
| 94 |
<ul> |
| 95 |
<li>Use the <em>ltshipout</em> package to place boxes in absolute mode. |
| 96 |
Therefore the package should now be compatible with LaTeX3. |
| 97 |
Many thanks to Ulrike Fischer for guidance on the changes which were required here.</li> |
| 98 |
<li>The code has moved from bitbucket.org to |
| 99 |
<a href="https://code.nxg.name/nxg/tex/textpos/">code.nxg.name</a>, |
| 100 |
since bitbucket have closed down support for Mercurial. The |
| 101 |
outstanding issues have been preserved, but have not (yet) been |
| 102 |
migrated to a new system, so may become inaccessible.</li> |
| 103 |
</ul> |
| 104 |
</dd> |
| 105 |
|
| 106 |
<dt>1.10b1, 2020 January 26</dt> |
| 107 |
<dd> |
| 108 |
<ul> |
| 109 |
<li>Add the <code>\TPShowGrid</code> macro.</li> |
| 110 |
<li>Become invisible in horizontal mode. |
| 111 |
<em>Note: this is a change in behaviour:</em> |
| 112 |
Before this the behaviour of the package in horizontal |
| 113 |
mode was deliberately somewhat underspecified (with an intended |
| 114 |
implication of ‘don't do this’), and the package, for want of anything |
| 115 |
more imaginative to do, simply threw in a paragraph break, which |
| 116 |
produced ugly spacing in some circumstances. As a result of |
| 117 |
<a href="https://tex.stackexchange.com/questions/525453/">user |
| 118 |
feedback</a>, from version 1.10 it seemed reasonable to try a little |
| 119 |
harder to be invisible in the horizontal case |
| 120 |
(see <a href="https://bitbucket.org/nxg/textpos/issues/16/">issue 16</a>).</li> |
| 121 |
<li>Various documentation improvements.</li> |
| 122 |
</ul> |
| 123 |
</dd> |
| 124 |
|
| 125 |
<dt>1.9.1, 2019 April 15</dt> |
| 126 |
<dd> |
| 127 |
<ul> |
| 128 |
<li>Added the <code>\TPReferencePosition</code> command, to change the |
| 129 |
default reference position away from <code>[0,0]</code>.</li> |
| 130 |
<li>Added the <em>experimental</em> |
| 131 |
<code>\TPoptions{discardcontent=true}</code> option, to improve |
| 132 |
compatibility with TikZ |
| 133 |
(see <a href="https://bitbucket.org/nxg/textpos/issues/6/">issue 6 in the repository</a>). |
| 134 |
Note: <em>This option may change or disappear in future versions</em>, and the author would be |
| 135 |
particular interested to get feedback regarding it.</li> |
| 136 |
<li>Documentation: added discussion of the implementation difference |
| 137 |
between relative and absolute mode, and when one is preferable to the other.</li> |
| 138 |
<li>Documentation: note that the showboxes option is intended only as |
| 139 |
a basic aid to layout.</li> |
| 140 |
<li>(Version 1.9 was partially released, but it contained an |
| 141 |
attribution error which could be most easily fixed by a minor version bump).</li> |
| 142 |
</ul> |
| 143 |
</dd> |
| 144 |
|
| 145 |
<dt>1.8, 2016 June 5</dt> |
| 146 |
<dd><ul> |
| 147 |
<li>Added the <code>\TPoptions</code> command, to switch modes on and |
| 148 |
off within the document. Various documentation tweaks.</li> |
| 149 |
<li>The behaviour of <code>\TPMargin</code> and |
| 150 |
<code>\TPMargin*</code> were somewhat underspecified in versions of |
| 151 |
Textpos before v1.8, and in consequence inconsistently implemented. |
| 152 |
This has now been rationalised, but the change <em>may</em> change |
| 153 |
documents which relied on the previous behaviour. |
| 154 |
Thanks to Richard Schreiber for the detailed bug report.</li> |
| 155 |
<li>In this release, I switched to more conventional dotted-integer, n.m.r, |
| 156 |
version numbers, from the LaTeX-style model with intermediate releases denoted by letters.</li> |
| 157 |
</ul></dd> |
| 158 |
|
| 159 |
<dt>1.7j, 2014 January 3</dt> |
| 160 |
<dd>Re-released under the LPPL.</dd> |
| 161 |
|
| 162 |
<dt>1.7i, 2012 November 10</dt> |
| 163 |
<dd>Bugfix: further change to the way the {color} package is loaded |
| 164 |
(fixes issue 2); now finally fixed?</dd> |
| 165 |
|
| 166 |
<dt>1.7h, 2012 June 1</dt> |
| 167 |
<dd>Bugfix: further change to the way the {color} package is loaded. |
| 168 |
Some documentation tweaks. |
| 169 |
Pointers to bitbucket repository.</dd> |
| 170 |
|
| 171 |
<dt>1.7g, 2010 September 30</dt> |
| 172 |
<dd>Bugfix: change the way we handle the {color} package not being |
| 173 |
loaded – replacement <code>\color</code> command is now robust. |
| 174 |
Thanks to Joseph Wright for the bugreport. |
| 175 |
Also adjusted documentation of reference points.</dd> |
| 176 |
|
| 177 |
<dt>1.7f, 2009 May 28</dt> |
| 178 |
<dd>The change in behaviour introduced in v1.7e is now documented (it |
| 179 |
was unspecified before, and 1.7e didn't commit itself one way or the |
| 180 |
other).</dd> |
| 181 |
|
| 182 |
<dt>1.7e, 2009 March 29</dt> |
| 183 |
<dd>Daniel Richard G noted that the order in which textblock contents |
| 184 |
was laid down on the page was counter-intuitive, since one would |
| 185 |
expect that later environments go 'on top of' earlier ones. This |
| 186 |
order was unspecified before this version, but I've changed this, |
| 187 |
satisfying a principle of least surprise (later ones now go 'on |
| 188 |
top').</dd> |
| 189 |
|
| 190 |
<dt>1.7d, 2007 March 30</dt> |
| 191 |
<dd>Axel Sommerfeldt suggested a further alternative approach, even more |
| 192 |
lightweight, and I incorporated a version of that.</dd> |
| 193 |
|
| 194 |
<dt>1.7c, 2007 March 29</dt> |
| 195 |
<dd>Giovanni Radilla reported a problem with captions, which meant that the |
| 196 |
captions weren't appearing properly in the list of figures. Dan |
| 197 |
Luecking and Axel Sommerfeldt analysed the problem precisely, and the |
| 198 |
latter provided code which I've incorporated in this fix.</dd> |
| 199 |
|
| 200 |
<dt>1.7b, 2007 March 21</dt> |
| 201 |
<dd>Robert Whittaker reported a problem with <code>\TPmargin</code>, |
| 202 |
which meant that lists and quotations (and other things which |
| 203 |
manipulated <code>\leftskip</code> and <code>\rightskip</code>) were |
| 204 |
not decreasing in size when you set <code>\TPmargin</code> non-zero. |
| 205 |
Fixed.</dd> |
| 206 |
|
| 207 |
<dt>1.7a, 2006 September 2</dt> |
| 208 |
<dd>Version 1.7 created an inadvertant dependency on the |
| 209 |
<code>{color}</code> package. Now, if you do not load that package, |
| 210 |
<code>\textblockrulecolour</code> will have no effect, rather than |
| 211 |
failing. Textpos will give you a warning in this case, reminding you |
| 212 |
to load the <code>{color}</code> package.</dd> |
| 213 |
|
| 214 |
<dt><strong>1.7, 2006 August 24</strong></dt> |
| 215 |
<dd>Added the <code>\textblockrulecolour</code> and |
| 216 |
<code>\TPshowboxes{true,false}</code> commands, to further control the |
| 217 |
display of the rules around the text blocks.</dd> |
| 218 |
|
| 219 |
<dt>1.6b, 2006 August 10</dt> |
| 220 |
<dd>Minor documentation fixes</dd> |
| 221 |
|
| 222 |
<dt>1.6a, 2005 October 13</dt> |
| 223 |
<dd>The overriding of the figure and table environments now also works |
| 224 |
when there is no previous environment to override.</dd> |
| 225 |
|
| 226 |
<dt><strong>1.6, 2005 August 30</strong></dt> |
| 227 |
<dd>Made <code>{calc}</code>-style dimensions to the |
| 228 |
<code>{textblock*}</code> argument work again (so <em>that's</em> what |
| 229 |
regression tests are for...). Override the <code>figure</code> and |
| 230 |
<code>table</code> environments within <code>textblock</code> |
| 231 |
environments, to avoid their surprising and undesirable interaction |
| 232 |
with <code>textblock</code>.</dd> |
| 233 |
|
| 234 |
<dt>1.5b, 2005 June 13</dt> |
| 235 |
<dd>The 1.5 release broke the textblock environment's optional |
| 236 |
argument, controlling the position of the reference point within the |
| 237 |
block. Fixed.</dd> |
| 238 |
|
| 239 |
<dt>1.5a, 2005 March 26</dt> |
| 240 |
<dd>Documentation fixes: added a section on the |
| 241 |
interaction between absolute mode and LaTeX's <code>\newpage</code> |
| 242 |
command.</dd> |
| 243 |
|
| 244 |
<dt><strong>1.5, 2005 March 23</strong></dt> |
| 245 |
<dd>Implement <code>\TPMargin</code> command, which causes a margin |
| 246 |
to appear round the blocks of text within textblock |
| 247 |
environments. This makes it easy to use blocks of colour which |
| 248 |
are larger than the block of text by a decent margin, or to put a |
| 249 |
border round textblocks by setting a suitably-sized margin and using |
| 250 |
the <code>showboxes</code> package option.</dd> |
| 251 |
|
| 252 |
<dt><strong>1.4, 2003 September 7</strong></dt> |
| 253 |
<dd>Changes in the handling of vertical spacing; inconsistent in some |
| 254 |
circumstances before. Slight (consequent) change to the algorithm |
| 255 |
which ensures that material is output in absolute mode even when the |
| 256 |
page is otherwise empty. See README for details. Version 1.3a will |
| 257 |
remain available for some time in case these fixes break things.</dd> |
| 258 |
|
| 259 |
<dt>1.3a, 2003 June 24</dt> |
| 260 |
<dd>Added the <code>\textblockcolour</code> command, to set |
| 261 |
the background colour of text blocks</dd> |
| 262 |
|
| 263 |
<dt><strong>1.3, 2003 June 24</strong></dt> |
| 264 |
<dd>(there was a release 1.3, but it was broken, and immediately |
| 265 |
replaced by 1.3a)</dd> |
| 266 |
|
| 267 |
<dt>1.2b, 2002 July 1</dt> |
| 268 |
<dd>Works around a bug present in at least one package, |
| 269 |
which leaves box255 holding an hbox at the wrong moment</dd> |
| 270 |
|
| 271 |
<dt>1.2a, 2002 April 28</dt> |
| 272 |
<dd>Version 1.2 had an error, which caused a confusing error |
| 273 |
if you gave any fractional part in the arguments to the |
| 274 |
<code>{textblock}</code> environment. This was fixed in version 1.2a, |
| 275 |
which adds a <code>{textblock*}</code> environment (fully compatible |
| 276 |
with <code>calc</code>), and does not attempt to support calc-style |
| 277 |
expressions in the parameters to the unstarred |
| 278 |
<code>{textblock}</code> environment.</dd> |
| 279 |
|
| 280 |
<dt><strong>1.2, 2002 April 21</strong></dt> |
| 281 |
<dd>Rolf Niepraschk <code>[email protected]</code> provided code to |
| 282 |
make textpos compatible with the <code>calc</code> package</dd> |
| 283 |
|
| 284 |
<dt>Version 1.1</dt> |
| 285 |
<dd>Released in 1999</dd> |
| 286 |
|
| 287 |
</dl> |
| 288 |
|
| 289 |
|
| 290 |
<div class="signature"> |
| 291 |
<a href="https://nxg.me.uk">Norman Gray</a><br/> |
| 292 |
@REPODATE@ |
| 293 |
</div> |
| 294 |
|
| 295 |
</body> |
| 296 |
</html> |