From 782deb6d565d097328fff63a6e7bca1527c0532c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 13 Aug 2006 23:37:27 +0000 Subject: textpos update git-svn-id: svn://tug.org/texlive/trunk@1942 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/textpos/README | 166 +------------ Master/texmf-dist/doc/latex/textpos/VERSION-1.6a | 1 - Master/texmf-dist/doc/latex/textpos/VERSION-1.6b | 1 + .../texmf-dist/doc/latex/textpos/examples/t1.tex | 46 ++++ .../texmf-dist/doc/latex/textpos/examples/t2.tex | 43 ++++ .../texmf-dist/doc/latex/textpos/examples/t3.tex | 44 ++++ .../texmf-dist/doc/latex/textpos/examples/t4.tex | 73 ++++++ .../texmf-dist/doc/latex/textpos/examples/t5.tex | 66 ++++++ .../texmf-dist/doc/latex/textpos/examples/t6.tex | 86 +++++++ .../texmf-dist/doc/latex/textpos/examples/t7.tex | 25 ++ .../texmf-dist/doc/latex/textpos/examples/t8.tex | 33 +++ Master/texmf-dist/doc/latex/textpos/style.css | 256 +++++++++++++++++++++ Master/texmf-dist/doc/latex/textpos/t/Makefile | 16 -- Master/texmf-dist/doc/latex/textpos/t/runtests | 99 -------- .../texmf-dist/doc/latex/textpos/t/t1.correct.dvi | Bin 876 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t1.tex | 46 ---- .../texmf-dist/doc/latex/textpos/t/t2.correct.dvi | Bin 1512 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t2.tex | 43 ---- .../texmf-dist/doc/latex/textpos/t/t3.correct.dvi | Bin 352 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t3.tex | 44 ---- .../texmf-dist/doc/latex/textpos/t/t4.correct.dvi | Bin 872 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t4.tex | 73 ------ .../texmf-dist/doc/latex/textpos/t/t5.correct.dvi | Bin 248 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t5.tex | 66 ------ .../texmf-dist/doc/latex/textpos/t/t6.correct.dvi | Bin 3272 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t6.tex | 86 ------- .../texmf-dist/doc/latex/textpos/t/t7.correct.dvi | Bin 556 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t7.tex | 25 -- .../texmf-dist/doc/latex/textpos/t/t8.correct.dvi | Bin 772 -> 0 bytes Master/texmf-dist/doc/latex/textpos/t/t8.tex | 33 --- .../doc/latex/textpos/textpos-example.tex | 2 +- Master/texmf-dist/doc/latex/textpos/textpos.html | 89 ++----- Master/texmf-dist/doc/latex/textpos/textpos.pdf | Bin 138687 -> 86591 bytes Master/texmf-dist/source/latex/textpos/textpos.drv | 12 +- Master/texmf-dist/source/latex/textpos/textpos.dtx | 12 +- Master/texmf-dist/tex/latex/textpos/textpos.sty | 10 +- Master/texmf-dist/tpm/textpos.tpm | 37 ++- Master/texmf/lists/textpos | 29 +-- 38 files changed, 745 insertions(+), 817 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/textpos/VERSION-1.6a create mode 100644 Master/texmf-dist/doc/latex/textpos/VERSION-1.6b create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t1.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t2.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t3.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t4.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t5.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t6.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t7.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/examples/t8.tex create mode 100644 Master/texmf-dist/doc/latex/textpos/style.css delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/Makefile delete mode 100755 Master/texmf-dist/doc/latex/textpos/t/runtests delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t1.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t1.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t2.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t2.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t3.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t3.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t4.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t4.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t5.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t5.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t6.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t6.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t7.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t7.tex delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t8.correct.dvi delete mode 100644 Master/texmf-dist/doc/latex/textpos/t/t8.tex (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/textpos/README b/Master/texmf-dist/doc/latex/textpos/README index a7b0a50ec95..28dd61a7c91 100644 --- a/Master/texmf-dist/doc/latex/textpos/README +++ b/Master/texmf-dist/doc/latex/textpos/README @@ -2,7 +2,7 @@ Textpos: absolute positioning of text on the LaTeX page ------------------------------------------------------- -Version 1.6a +Version 1.6b This package facilitates placing boxes at absolute positions on the LaTeX page. There are several reasons why this might be useful, but @@ -12,166 +12,10 @@ large-format conference poster. This package provides a single environment, plus a starred variant, 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. +placed. The environment is accompanied by various configuration +commands. -Changes in 1.6a, 2005 October 13 --------------------------------- - -The overriding of the figure and table environments now also works -when there is no previous environment to override (blush). - - -Changes in 1.6, 2005 August 30 ------------------------------- - -* Made {calc}-style dimensions to the {textblock*} - argument work again. -* Override the figure and table environments within textblock - environments, to avoid their surprising and undesirable interaction - with textblock. - -Changes in 1.5a, 2005 March 26 ------------------------------- - -Documentation fixes: added a section on the interaction between -absolute mode and LaTeX's \newpage command. - -Changes in 1.5, 2005 March 23 ------------------------------ - -Implement \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. - -Changes in v1.4, 7 September 2003 ---------------------------------- - -* I made some changes in the handling of vertical spacing before and -after the {textblock} environment. The environment claims not to affect -the vertical spacing (that is, to be `invisible'), and this was not -true in some circumstances. There should be no difference in the -spacing which results in absolute mode, though there might be some -changes in relative mode _if_ the environment is surrounded by glue of -one type or another. - -* Now {textblock} may be used in horizontal mode. The behaviour -hasn't changed at all in fact (insert a \par), except that the -warning in this case has been removed, and the behaviour has been -documented. It is this which prompted the reexamination of the -spacing around the environment, referred to above. - -* Slight change to the technique which ensures that material is output -in absolute mode even when (as normal in that mode) there is no -non-{textblock} material on the page. I believe this is perfectly -robust, but if you discover any error in this respect, it's probably -this version it was introduced. - -Changes in v1.3a, 25 June 2003 ------------------------------- - -Blush. I was prompted to run the regression tests (so _that's_ what -they're for), and this fixes the error they expose. You may now use -textpos _without_ loading the {color} package. - -Changes in v1.3, 25 June 2003 ------------------------------ - -Added \textblockcolour command, to set the background colour of textblocks. - -Changes in v1.2b, 1 July 2002 ------------------------------ - -Added code to cope with the case when box 255 isn't a vbox at shipout -(that's wrong, and not our fault, but we shouldn't collapse when it -happens!). Thanks to Wybo Dekker and Hans Hagen for the report and -the fix. - - -Changes in v1.2a, 28 April 2002 -------------------------------- - -The way that I implemented the {calc} compatibility was wrong in v1.2 -(Rolf's code was correct, but I `improved' it). It meant that things -went badly wrong if you tried to give fractional sizes in the -dimensions arguments to the {textblock} environment (I choose the grid -so that I only ever use whole numbers for these, so I hadn't had any -real numbers in my test cases). There's now a {textblock*} -environment, which has absolute dimensions (that is, not in terms of -the module, though you can still use \TPHorizModule and \TPVertModule -as dimensions), to which you can give calc-compatible dimensions if -you wish. You can't give expressions in the arguments to the -unstarred {textblock} environment. - -Changes in v1.2, 21 April 2002 -------------------------------- - -Rolf Niepraschk provided code to make textpos -compatible with the {calc} package. - -Added the [verbose] and [quiet] package options. - -Changes in v1.1e, 19 April 2001 -------------------------------- - -Corrected a spacing misfeature, which caused extra space when -textblocks were interspersed with paragraphs. Thanks to Peter -Muenster for spotting and reporting this. - -Changes in v1.1d, 6 June 1999 ------------------------------ - -Clarified the copyright and licence status, including a copy of the -GPL in the distribution. The immediate motivation was the CTAN -campaign to do this for all the CTAN packages, but it should have been -done before. - -Changes in v1.1c ----------------- - -Added an optional argument to \TPGrid, which controls a border round -the grid. Made the checksum correct! - -Added the `overlay' option. - -Corrected a spacing bug, which made textblocks in the non-`absolute' -mode drift out of place. - -Changes in v1.1b ----------------- - -Added a note to the effect that the required everyshi package can also -be found at CTAN - -Changes in v1.1a ----------------- - -Blush! The example file distributed with the package exposed a bug! -When there was no text on the page outside {textblock} blocks (the -usual case, if you're producing a poster), the TeX engine didn't know -there was anything on the page at all, and (sensibly) output nothing. -I made the obvious fix (thanks to Bjoern Pedersen for diagnosing the -problem, and to Wolfgang Erdmann for -reporting it so promptly). - - -Changes in v1.1, and credits ----------------------------- - -The package now clearly distinguishes between a `relative' and an -`absolute' mode of positioning text (the distinction was largely -present before, but neither as clear nor as robust). It also now -distinguishes the horizontal and vertical units used for positioning. - -Olaf Maibaum (Olaf.Maibaum@informatik.uni-oldenburg.de) -produced the elegant code which I've incorporated here as the -`absolute mode'. - -Bjoern Pedersen (bjoern@poseidon.org.chemie.tu-muenchen.de) -made the excellent suggestion (including code) that the horizontal and -vertical modules should be independent. +For the change history, see textpos.html. Installation @@ -202,4 +46,4 @@ LICENCE for the licence conditions. Norman Gray, (norman@astro.gla.ac.uk) -http://www.astro.gla.ac.uk/users/norman +http://nxg.me.uk diff --git a/Master/texmf-dist/doc/latex/textpos/VERSION-1.6a b/Master/texmf-dist/doc/latex/textpos/VERSION-1.6a deleted file mode 100644 index c3a22d30a36..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/VERSION-1.6a +++ /dev/null @@ -1 +0,0 @@ -textpos-1.6a, released 2005 October 13 diff --git a/Master/texmf-dist/doc/latex/textpos/VERSION-1.6b b/Master/texmf-dist/doc/latex/textpos/VERSION-1.6b new file mode 100644 index 00000000000..0bf08568b00 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/VERSION-1.6b @@ -0,0 +1 @@ +textpos-1.6b, released 2006 August 10 diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t1.tex b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex new file mode 100644 index 00000000000..80bba4322a5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t1.tex @@ -0,0 +1,46 @@ +%%% Testing:basic functionality +\documentclass{article} + +\usepackage[absolute,showboxes]{textpos} + +\setlength{\TPHorizModule}{30mm} +\setlength{\TPVertModule}{\TPHorizModule} +\textblockorigin{10mm}{10mm} % start everything near the top-left corner + +\setlength{\parindent}{0pt} +\pagestyle{empty} + +\textblockcolour{red} % should have no effect, since {color} not loaded + +\begin{document} + +\begin{textblock}{3}(0,0) +\{3\}(0,0) +\end{textblock} + +\begin{textblock}{2}(2,1) +\textblocklabel{block two} +\{2\}(2,1) +\end{textblock} + +\begin{textblock}{3}[0.5,0.5](3,3) +\{3\}[0.5,0.5](3,3) +\end{textblock} + +\begin{textblock}{2.5}(3,3) +\{2.5\}(3,3) +\end{textblock} + +\begin{textblock}{3.5}(1.5,1.5) +\{3.5\}(1.5,1.5) +\end{textblock} + +\begin{textblock*}{5cm}(25mm,50mm) +\{5cm\}(25mm,50mm) +\end{textblock*} + +\begin{textblock*}{284.52756pt}[0.5,0.5](50.0mm,2.5cm) +\{284.52756pt\}[0.5,0.5](50.0mm,2.5cm) +\end{textblock*} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t2.tex b/Master/texmf-dist/doc/latex/textpos/examples/t2.tex new file mode 100644 index 00000000000..be52319c5a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t2.tex @@ -0,0 +1,43 @@ +%%% Testing:interaction with calc +\documentclass{article} + +\usepackage[absolute,showboxes]{textpos} +\usepackage{calc,ifthen} + +\setlength\TPHorizModule{1mm} +\setlength\TPVertModule{\TPHorizModule} +\newcounter{MYCOUNT} + +\setlength\parindent{0pt}\pagestyle{empty} + +\begin{document} + +% Set origin to 10mm,10mm +\textblockorigin{56.9055pt-10mm}{0pt+1cm} +% Box at (10mm,10mm) +\begin{textblock*}{25mm*2}(10mm,10mm) +\{25mm*2\}(10mm,10mm) +\end{textblock*} +% Box at (15mm,15mm) +\begin{textblock*}{10mm+14cm}(3\TPHorizModule*5,10\TPVertModule+5mm) +\verb^{10mm+14cm}(3\TPHorizModule*5,10\TPVertModule+5mm)^ +\end{textblock*} + + +\whiledo{\value{MYCOUNT} < 5}% +{ + \textblockorigin{0mm + 20mm * \value{MYCOUNT}}{55mm * \value{MYCOUNT}} + \begin{textblock}{100}(10,10)% + \begin{minipage}[b][50mm][t]{\linewidth} + Text \hfill Text \par \vfill Text \hfill Text\par + \end{minipage} + \end{textblock}% + \stepcounter{MYCOUNT} +} + +\def\tick#1{\vrule height 0pt depth #1pt} +\def\\{\hbox to 1cm{\hfil\tick4\hfil\tick8}} +\vbox{\hrule\hbox{\tick8\\\\\\\\\\\\\\\\\\\\}} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t3.tex b/Master/texmf-dist/doc/latex/textpos/examples/t3.tex new file mode 100644 index 00000000000..1768033b740 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t3.tex @@ -0,0 +1,44 @@ +%From Wybo@Servalys.Nl Fri Jun 28 14:28:41 2002 +%From: Wybo Dekker +%To: Norman@Astro.Gla.Ac.Uk +%Date: Mon, 24 Jun 2002 23:38:46 +0200 (Cest) +%Subject: Textpos + +%Dear Norman, + +%Whn I Tried This: + +\documentclass{article} +\RequirePackage[absolute]{textpos} % revision 1.4 +\usepackage{graphicx,fancybox} +\begin{document} + +%\begin{Landscape*}{\pdfpagewidth}{\pdfpageheight}{\rotatebox{-90}} +\begin{Landscape*}{\hsize}{\vsize}{\rotatebox{-90}} +test +\end{Landscape*} +\end{document} + +%I got: +% +%! Incompatible list can't be unboxed. +%\@EveryShipout@Hook ...\TP@holdbox \unvbox \@cclv +% }\global \setbox +% \TP@holdb... +%<*> \end{Landscape*} +% +%Hans Hagen suggested to replace the \unvbox with +% +%\ifvbox\@cclv\unvbox\else\box\fi +% +%and that worked. Should that perhaps be a fix? +% +%-- +%Best regards, Wybo Dekker +% +%---Servalys Analytical Chemistry Services--- +%Wybo Dekker wybo@servalys.nl +%Deilsedijk 60 www.servalys.nl +%4158 CH Deil tel +31-345-652164 +%The Netherlands fax +31-345-652383 + diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t4.tex b/Master/texmf-dist/doc/latex/textpos/examples/t4.tex new file mode 100644 index 00000000000..fa712d1eb8b --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t4.tex @@ -0,0 +1,73 @@ +%%% Testing:colours +\documentclass{article} + +\newif\ifdebug +\debugfalse + +%\usepackage[absolute,showboxes]{textpos} +\ifdebug +\usepackage[showboxes]{textpos} +\else +\usepackage{textpos} +\fi + +\def\t#1#2{\ifdebug #2\else #1\fi} + +\usepackage{color} + +\setlength{\TPHorizModule}{30mm} +\setlength{\TPVertModule}{\TPHorizModule} +%\textblockorigin{10mm}{10mm} % start everything near the top-left corner + +\setlength{\parindent}{0pt} +\pagestyle{empty} + +\def\bigstrut{\hrule height 2ex depth 2ex width 0pt } + +\begin{document} + +\definecolor{Pink}{rgb}{1.0,0.8,0.8} +\definecolor{Blue}{rgb}{0.8,0.8,1.0} +\definecolor{Yellow}{rgb}{0.8,0.8,0.0} + +\textcolor{Blue}{\t{a1}{Hello}} +{\color{Yellow} \t{a2}{There}} + +\textblockcolour{Pink} + +\begin{textblock}{3}(0,0) +\t{b}{\{3\}(0,0) Pink} +\end{textblock} + +\begin{textblock}{2}(2,1) +\textblocklabel{block two} +\textblockcolour{Blue} +\t{c}{\{2\}(2,1) Blue} +\end{textblock} + +\begin{textblock}{3}[0.5,0.5](3,3) +\bigstrut +\t{d}{\{3\}[0.5,0.5](3,3) + \textcolor{Yellow}{\t{e}{Yellow}} + \t{d2}{on Pink}} +\end{textblock} + +\begin{textblock}{2.5}(3,3) +\tekstblokkulur{} +\t{f}{\{2.5\}(3,3)} +\textcolor{Yellow}{\t{g}{No colour}} +\end{textblock} + +\begin{textblock}{3.5}(1.5,1.5) +\t{h}{\{3.5\}(1.5,1.5) Pink} +\end{textblock} + +%\begin{textblock*}{5cm}(25mm,50mm) +%\{5cm\}(25mm,50mm) +%\end{textblock*} + +%\begin{textblock*}{284.52756pt}[0.5,0.5](50.0mm,2.5cm) +%\{284.52756pt\}[0.5,0.5](50.0mm,2.5cm) +%\end{textblock*} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t5.tex b/Master/texmf-dist/doc/latex/textpos/examples/t5.tex new file mode 100644 index 00000000000..37a181c87de --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t5.tex @@ -0,0 +1,66 @@ +%%% Testing:spacing +\documentclass{article} + +\usepackage{textpos} +%\usepackage[showboxes]{textpos} + +\hoffset=0pt +\voffset=0pt +\oddsidemargin=0pt +\topmargin=0pt +\headheight=0pt +\headsep=0pt + +\setlength{\TPHorizModule}{50pt} +\setlength{\TPVertModule}{\TPHorizModule} + +\pagestyle{empty} + +\begin{document} + +\setlength{\parindent}{0pt} +\setlength{\parskip}{30pt} +\setlength{\baselineskip}{20pt} + +% Make sure that all text appears precisely where it ought to. The +% above dimensions mean that text appears in round-number locations. +% +% The \showbox puts detailed calculations in the log file +% +% Output of 'dvireport -F -up t5.dvi': +% c 97[a] 0,20pt +% c 121[y] 4.72223,20pt +% c 98[b] 0,28.8889pt +% c 121[y] 5.27777,28.8889pt +% c 99[c] 50,76.25pt +% c 100[d] 0,70pt +% c 121[y] 5.55556,70pt +% +% The most important thing is that `a' and `d' are 50pt +% apart, \parskip+\baselineskip +% +% This test may not currently be working (2005 August 30). There's an +% extra 30pt (\parskip) appearing before the by and cy in their boxes, +% which clearly isn't present in the t5.correct.dvi. Ought it to be +% there? Have I done something (when?) which has caused this to +% spuriously appear? + + +\showboxdepth=8 +\showboxbreadth=8 + +\noindent ay +\vrule height 20pt depth 0pt width 0pt % strut -- makes base of this + % line 20pt from top +\begin{textblock}{3}(0,0) +\noindent by +\end{textblock} +\begin{textblock}{2}(1,1) +\noindent cy +\end{textblock} +\noindent +dy + +%\showlists % put detailed diagnostics into log file + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t6.tex b/Master/texmf-dist/doc/latex/textpos/examples/t6.tex new file mode 100644 index 00000000000..91428161b0a --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t6.tex @@ -0,0 +1,86 @@ +%%% Testing:colours, borders and margins +\documentclass{article} + +\usepackage{textpos} +\usepackage{color} + +\setlength{\TPHorizModule}{20pt} +\setlength{\TPVertModule}\TPHorizModule + +\setlength\parindent{0pt} +\pagestyle{empty} + +\begin{document} + +\definecolor{Blue}{rgb}{0.8,0.8,1.0} + +\begin{textblock}{4}(0,0) + \textblockcolour{Blue} + Blue +\end{textblock} + +\begin{textblock}{8}(14,6) + \hrule width 8\TPHorizModule + \vskip1\TPVertModule + \hrule width 4\TPHorizModule + \vskip1\TPVertModule + \hrule width 2\TPHorizModule + \vskip1\TPVertModule + \hrule width 1\TPHorizModule +\end{textblock} + +\begin{textblock}{8}(4,2) + 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. + + 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. +\end{textblock} + +\makeatletter + \TP@showboxestrue +\makeatother +\setlength\TPboxrulesize{0.25\TPHorizModule} + +\TPMargin{0.5\TPHorizModule} + +\begin{textblock}{4}(0,8) + \textblockcolour{Blue} + Blue +\end{textblock} + +\begin{textblock}{8}(4,10) + 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. + + This package provides a single environment, which contains the text + which is to be placed on the + page, and which specifies where it is to be placed. +\end{textblock} + +\TPMargin*{0.5\TPHorizModule} + +\begin{textblock}{4}(0,20) + \textblockcolour{Blue} + Blue +\end{textblock} + +\begin{textblock}{8}(4,22) + 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. + + 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. +\end{textblock} + + +\end{document} + diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t7.tex b/Master/texmf-dist/doc/latex/textpos/examples/t7.tex new file mode 100644 index 00000000000..6deceeff770 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t7.tex @@ -0,0 +1,25 @@ +\documentclass{article} + +%\usepackage[showboxes]{textpos} +\usepackage[absolute,showboxes]{textpos} + +\setlength{\TPHorizModule}{100pt} +\TPVertModule=\TPHorizModule + +\begin{document} + + \begin{textblock}{2}(1,1) + Here is some text + \end{textblock} + + \begin{textblock}{2}(2,2) + More text + \end{textblock} + +\null\newpage + +\begin{textblock}{2}(1.5,1.5) + Text on a new page +\end{textblock} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/examples/t8.tex b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex new file mode 100644 index 00000000000..25d05d8da94 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/examples/t8.tex @@ -0,0 +1,33 @@ +\documentclass{article} + +\usepackage[showboxes]{textpos} +\setlength{\parindent}{0pt} + +\begin{document} + +\begin{textblock}{5}(0,0) +In this document we have figures~\ref{figa} and~\ref{figb}. +\end{textblock} + +\begin{textblock}{5}(1,1) + Here is a figure. + \begin{figure} + Text + \caption{This is the first figure} + \label{figa} + \end{figure} +\end{textblock} + +\begin{textblock}{5}(2,2) + Here is another figure. + \begin{figure} + More text + \caption{\label{figb}This is the second figure} + \end{figure} +\end{textblock} + +\begin{textblock}{5}(3,3) + We can still refer to figures~\ref{figb} and~\ref{figa}. +\end{textblock} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/style.css b/Master/texmf-dist/doc/latex/textpos/style.css new file mode 100644 index 00000000000..8a6b4650b71 --- /dev/null +++ b/Master/texmf-dist/doc/latex/textpos/style.css @@ -0,0 +1,256 @@ +body { + color: #000; + background: white; + margin-left: 10%; + margin-right: 10%; +} + +/* Link colours should be specified, since text colour was in */ +a:link { color: rgb(43,43,175); } +a:visited { color: rgb(43,43,175); } +a[href]:hover { background: rgb(175,175,43); } +/* +a:link { color: #009; } +a:active { color: #00C; } +a:visited { color: #600; } +a[href]:hover { background: #FF9; } /* CSS2 */ + +h1, h2, h3, h4, h5, h6 { + font-family: Optima, "Gill Sans", gill, sans-serif; +} +h1 { + background: rgb(175,43,43); + /* background: #C33; */ + padding: 1em; + border-style: none; + margin-left: -10%; + margin-right: -10%; + color: #FFF; + text-align: right; + font: 24pt/30pt; +} +h1 a:link { color: #99F; } +h1 a:visited { color: #99F; } +h1 a[href]:hover { background: #F43; } + +h2 { + color: #C33; + margin-left: -5%; + /* clear: both; -- don't do this, or else initial toc no longer + looks floated */ +} + +p.figure { + text-align: center; +} + +p.copyright { + font-size: x-small; +} + +dt { + margin-left: +5%; + font-style: italic; + margin-top: 0.5ex; +} +dd { + margin-bottom: 0.5ex; +} + +li { + margin-top: 0.5ex; + margin-bottom: 0.5ex; +} +li.current { + font-weight: bold; +} + +img.smallimage { + float: right; + margin: 24pt; +} + +img.smallimageleft { + float: left; + margin: 24pt; +} + +pre { + margin: +5%; + background: #FF9; + clear: both; +} + +pre.doc-history { + margin-left: 30%; + font-family: Optima, Arial, sans-serif; + font-size: x-small; + background: #EEE; +} + +table { + /* background-color: #CCF; */ + background-color: white; +} +td { + /* Hmmm, I still get the background showing through... */ + border-style: none; + padding: 4px; + margin: 2px; +} +/* header can be indiated two ways, either with , + or with */ +tr.header { + background-color: #C33; + color: white; +} +th { + background-color: #C33; + color: white; +} +/* Odd and even table rows */ +tr.r0 { + background-color: #FBA; +} +tr.r1 { + background-color: #D99; +} + +q:before { content: "`"; } +q:after { content: "\'"; } +/* +q:before { content: open-quote; } +q:after { content: close-quote; } +*/ + +div.abstract { + margin-left: 30%; + margin-right: 0%; + font-style: oblique; + text-align: left; +} +div.abstract em { font-style: normal; } +div.abstract code { + font-style: normal; + font-size: 80%; +} + +/* TOC element. Note -5%+35% = 30%, which is the left-margin of the + abstract, above. */ +div#toc { + float: left; + width: 35%; + margin: 1em 0pt 0pt -5%; + padding: 0; + font-size: smaller; + text-align: left; +} + +div#toc > ul { + padding: 0.5em 0.5em 0.5em 0pt; + margin: 0pt; + list-style: decimal inside; +} +div#toc li { + padding: 0pt; + padding-left: 1em; +} +div#toc li ul { + padding-left: 1em; + margin-left: 0; + font-style: italic; +} +div#toc li ul:before { + content: "[ "; +} +div#toc li ul:after { + content: " ]"; +} +div#toc li li { + display: inline; + padding-left: 0pt; +} +div#toc li li:after { + content: "; "; +} +/* Avoid displaying the

which contains the "Contents" */ +/* +div#toc>p { + display: none; +} + */ + +div.subtoc { + float: right; + width: 35%; + margin: 0 0 0 0.3em; + padding: 0.5em; + /* background: rgb(235,200,200); */ + padding: 0px 0px 0px 0.3em; + border-left: solid thin red; + font-size: smaller; + text-align: left; +} +div.subtoc ul { + padding: 0; + margin: 0; + list-style: none; +} + +div.subsubtoc { + display: none; +} +/* +div.subsubtoc { + float: right; + width: 35%; + margin: 0 0 0 0.3em; + padding: 0.5em; + background: rgb(255,255,127); + font-size: smaller; + text-align: left; +} +div.subsubtoc p { + margin: 0; +} +div.subsubtoc ul { + padding: 0; + margin: 0; + list-style: none; +} +div.subsubtoc p { + font-weight: bold; +} +div.subsubtoc p:after { + content: "..."; +} +div.subsubtoc li:before { + content: "..."; +} +*/ + +div.signature { + font-style: oblique; + text-align: right; + margin-left: -10%; + margin-right: -10%; + /* background: #006; */ + background: #C33; + color: #FFF; + clear: both; + + padding: 1em; + border: none; + /* + border-width: thin; + border-top: ridge; + border-left: none; + border-right: none; + border-bottom: none; + border-color: black; + */ +} + +div.signature a:link { color: #99F; } +div.signature a:visited { color: #99F; } +div.signature a[href]:hover { background: #F43; } diff --git a/Master/texmf-dist/doc/latex/textpos/t/Makefile b/Master/texmf-dist/doc/latex/textpos/t/Makefile deleted file mode 100644 index e369f0f919b..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -test: ../textpos.sty - TEXINPUTS=..: ./runtests - -clean: - rm -f *~ *.log *.aux *.stderr *.stdout *.tmp *.diff *.dtl - -%.dvi: %.tex - TEXINPUTS=..: latex $< -%.pdf: %.tex - TEXINPUTS=..: pdflatex $< -%.dtl: %.dvi - dv2dt $< >$@ -%.dvireport: %.dvi - dvireport -F -up $< >$@ -%.dtl.diff: %.dtl %.correct.dtl - diff ${<:.dtl=.correct.dtl} $< >$@; true diff --git a/Master/texmf-dist/doc/latex/textpos/t/runtests b/Master/texmf-dist/doc/latex/textpos/t/runtests deleted file mode 100755 index d7264da52f8..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/runtests +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/sh - -# -# $Id: runtests,v 1.4 2005/08/30 18:19:12 norman Exp $ -# -# Run a series of tests on LaTeX files. The directory contains a collection -# of documents named `t.tex', and these are processed in turn and their -# output diffed against `t.correct.dvi'. Exit status is the -# number of failures. -# -# Run without an argument, and if there is no file runtests.filelist, -# this runs all the tests in the directory; run with an argument, it -# runs only the specified tests. -# -# If there is no argument, but a file runtests.filelist exists, use -# that file's contents as the list of tests to run. This means that -# we can make it easy to do a subset of the tests repeatedly while -# testing. -# -# The only we we really have of testing whether the binary DVI files -# differ is by comparing them using cmp, which simply reports the -# byte-offset where they differ. This isn't terribly helpful, and -# even examining the files using dv2dt doesn't help much. It's also -# probably rather sensitive to things like the version of hyperref -# which is being used. Also, since TeX puts a timestamp in DVI files, -# we have to ignore the first 50 bytes or so (see a thread with the -# subject `diff for dvi files', in comp.text.tex, in May 2001. -# -# If the option --keep is present, then it doesn't delete temporary files. - -UsageString="$0 [--keep] [filename...]" -deletetemp=true -LS=/bin/ls - - -filelist="" - -while [ $# -gt 0 ]; do - case $1 in - --keep) deletetemp=false ;; - --*) echo "Usage: $UsageString" - exit 1 - ;; - *) filelist="$filelist $1" - ;; - esac - shift -done - -# If filelist is null, and a file runtests.filelist exists, use that -# file's contents as the value of filelist. -if [ -z "$filelist" -a -f runtests.filelist ]; then - echo "Reading filelist from runtests.filelist" - filelist=`cat runtests.filelist` -fi - -# Check filelist is non-null, and make it t* if it is. -if [ -z "$filelist" ]; then - filelist=`$LS | grep '^t[0-9]*\.tex$' | sed 's/\.tex//'` -fi - - - -nfailures=0 - -for name in $filelist -do - echo -n "$name... " - # Make sure we run twice, if there's no preexisting aux file. - test -f $name.aux || latex $name.tex >$name.stdout 2>$name.stderr - latex $name.tex >$name.stdout 2>$name.stderr - testval=$? - #test -f $name.dvi && mv $name.dvi $name.dvi.tmp - - if [ $testval != 0 ]; then - echo "failed (exited with error status $testval)" - nfailures=`expr $nfailures + 1` - $deletetemp && rm -f $name.stdout $name.stderr $name.dvi $name*.tmp - elif [ -r "$name.correct.dvi" ]; then - cmp -i50 $name.dvi $name.correct.dvi >$name.diff - rval=$? - if [ $rval != 0 ]; then - make $name.dtl.diff >/dev/null - echo "failed (results in $name.dtl.diff)" - nfailures=`expr $nfailures + 1` - else - echo "ok" - $deletetemp && rm -f $name.diff $name.stdout $name.stderr $name.dvi $name*.tmp - fi - else - echo "apparently OK, but no correct results to compare" - mv $name.dvi $name.correct.dvi - echo " (now in $name.correct.dvi)" - $deletetemp && rm -f $name*.tmp - fi -done - -echo "$nfailures failed tests" - -exit $nfailures diff --git a/Master/texmf-dist/doc/latex/textpos/t/t1.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t1.correct.dvi deleted file mode 100644 index 63e710a428e..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t1.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t1.tex b/Master/texmf-dist/doc/latex/textpos/t/t1.tex deleted file mode 100644 index 80bba4322a5..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t1.tex +++ /dev/null @@ -1,46 +0,0 @@ -%%% Testing:basic functionality -\documentclass{article} - -\usepackage[absolute,showboxes]{textpos} - -\setlength{\TPHorizModule}{30mm} -\setlength{\TPVertModule}{\TPHorizModule} -\textblockorigin{10mm}{10mm} % start everything near the top-left corner - -\setlength{\parindent}{0pt} -\pagestyle{empty} - -\textblockcolour{red} % should have no effect, since {color} not loaded - -\begin{document} - -\begin{textblock}{3}(0,0) -\{3\}(0,0) -\end{textblock} - -\begin{textblock}{2}(2,1) -\textblocklabel{block two} -\{2\}(2,1) -\end{textblock} - -\begin{textblock}{3}[0.5,0.5](3,3) -\{3\}[0.5,0.5](3,3) -\end{textblock} - -\begin{textblock}{2.5}(3,3) -\{2.5\}(3,3) -\end{textblock} - -\begin{textblock}{3.5}(1.5,1.5) -\{3.5\}(1.5,1.5) -\end{textblock} - -\begin{textblock*}{5cm}(25mm,50mm) -\{5cm\}(25mm,50mm) -\end{textblock*} - -\begin{textblock*}{284.52756pt}[0.5,0.5](50.0mm,2.5cm) -\{284.52756pt\}[0.5,0.5](50.0mm,2.5cm) -\end{textblock*} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/t/t2.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t2.correct.dvi deleted file mode 100644 index 1b177c5131b..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t2.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t2.tex b/Master/texmf-dist/doc/latex/textpos/t/t2.tex deleted file mode 100644 index be52319c5a4..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t2.tex +++ /dev/null @@ -1,43 +0,0 @@ -%%% Testing:interaction with calc -\documentclass{article} - -\usepackage[absolute,showboxes]{textpos} -\usepackage{calc,ifthen} - -\setlength\TPHorizModule{1mm} -\setlength\TPVertModule{\TPHorizModule} -\newcounter{MYCOUNT} - -\setlength\parindent{0pt}\pagestyle{empty} - -\begin{document} - -% Set origin to 10mm,10mm -\textblockorigin{56.9055pt-10mm}{0pt+1cm} -% Box at (10mm,10mm) -\begin{textblock*}{25mm*2}(10mm,10mm) -\{25mm*2\}(10mm,10mm) -\end{textblock*} -% Box at (15mm,15mm) -\begin{textblock*}{10mm+14cm}(3\TPHorizModule*5,10\TPVertModule+5mm) -\verb^{10mm+14cm}(3\TPHorizModule*5,10\TPVertModule+5mm)^ -\end{textblock*} - - -\whiledo{\value{MYCOUNT} < 5}% -{ - \textblockorigin{0mm + 20mm * \value{MYCOUNT}}{55mm * \value{MYCOUNT}} - \begin{textblock}{100}(10,10)% - \begin{minipage}[b][50mm][t]{\linewidth} - Text \hfill Text \par \vfill Text \hfill Text\par - \end{minipage} - \end{textblock}% - \stepcounter{MYCOUNT} -} - -\def\tick#1{\vrule height 0pt depth #1pt} -\def\\{\hbox to 1cm{\hfil\tick4\hfil\tick8}} -\vbox{\hrule\hbox{\tick8\\\\\\\\\\\\\\\\\\\\}} - - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/t/t3.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t3.correct.dvi deleted file mode 100644 index aad273e2070..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t3.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t3.tex b/Master/texmf-dist/doc/latex/textpos/t/t3.tex deleted file mode 100644 index 1768033b740..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t3.tex +++ /dev/null @@ -1,44 +0,0 @@ -%From Wybo@Servalys.Nl Fri Jun 28 14:28:41 2002 -%From: Wybo Dekker -%To: Norman@Astro.Gla.Ac.Uk -%Date: Mon, 24 Jun 2002 23:38:46 +0200 (Cest) -%Subject: Textpos - -%Dear Norman, - -%Whn I Tried This: - -\documentclass{article} -\RequirePackage[absolute]{textpos} % revision 1.4 -\usepackage{graphicx,fancybox} -\begin{document} - -%\begin{Landscape*}{\pdfpagewidth}{\pdfpageheight}{\rotatebox{-90}} -\begin{Landscape*}{\hsize}{\vsize}{\rotatebox{-90}} -test -\end{Landscape*} -\end{document} - -%I got: -% -%! Incompatible list can't be unboxed. -%\@EveryShipout@Hook ...\TP@holdbox \unvbox \@cclv -% }\global \setbox -% \TP@holdb... -%<*> \end{Landscape*} -% -%Hans Hagen suggested to replace the \unvbox with -% -%\ifvbox\@cclv\unvbox\else\box\fi -% -%and that worked. Should that perhaps be a fix? -% -%-- -%Best regards, Wybo Dekker -% -%---Servalys Analytical Chemistry Services--- -%Wybo Dekker wybo@servalys.nl -%Deilsedijk 60 www.servalys.nl -%4158 CH Deil tel +31-345-652164 -%The Netherlands fax +31-345-652383 - diff --git a/Master/texmf-dist/doc/latex/textpos/t/t4.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t4.correct.dvi deleted file mode 100644 index bdde8c690fc..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t4.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t4.tex b/Master/texmf-dist/doc/latex/textpos/t/t4.tex deleted file mode 100644 index fa712d1eb8b..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t4.tex +++ /dev/null @@ -1,73 +0,0 @@ -%%% Testing:colours -\documentclass{article} - -\newif\ifdebug -\debugfalse - -%\usepackage[absolute,showboxes]{textpos} -\ifdebug -\usepackage[showboxes]{textpos} -\else -\usepackage{textpos} -\fi - -\def\t#1#2{\ifdebug #2\else #1\fi} - -\usepackage{color} - -\setlength{\TPHorizModule}{30mm} -\setlength{\TPVertModule}{\TPHorizModule} -%\textblockorigin{10mm}{10mm} % start everything near the top-left corner - -\setlength{\parindent}{0pt} -\pagestyle{empty} - -\def\bigstrut{\hrule height 2ex depth 2ex width 0pt } - -\begin{document} - -\definecolor{Pink}{rgb}{1.0,0.8,0.8} -\definecolor{Blue}{rgb}{0.8,0.8,1.0} -\definecolor{Yellow}{rgb}{0.8,0.8,0.0} - -\textcolor{Blue}{\t{a1}{Hello}} -{\color{Yellow} \t{a2}{There}} - -\textblockcolour{Pink} - -\begin{textblock}{3}(0,0) -\t{b}{\{3\}(0,0) Pink} -\end{textblock} - -\begin{textblock}{2}(2,1) -\textblocklabel{block two} -\textblockcolour{Blue} -\t{c}{\{2\}(2,1) Blue} -\end{textblock} - -\begin{textblock}{3}[0.5,0.5](3,3) -\bigstrut -\t{d}{\{3\}[0.5,0.5](3,3) - \textcolor{Yellow}{\t{e}{Yellow}} - \t{d2}{on Pink}} -\end{textblock} - -\begin{textblock}{2.5}(3,3) -\tekstblokkulur{} -\t{f}{\{2.5\}(3,3)} -\textcolor{Yellow}{\t{g}{No colour}} -\end{textblock} - -\begin{textblock}{3.5}(1.5,1.5) -\t{h}{\{3.5\}(1.5,1.5) Pink} -\end{textblock} - -%\begin{textblock*}{5cm}(25mm,50mm) -%\{5cm\}(25mm,50mm) -%\end{textblock*} - -%\begin{textblock*}{284.52756pt}[0.5,0.5](50.0mm,2.5cm) -%\{284.52756pt\}[0.5,0.5](50.0mm,2.5cm) -%\end{textblock*} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/t/t5.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t5.correct.dvi deleted file mode 100644 index 7b5c7edfc27..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t5.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t5.tex b/Master/texmf-dist/doc/latex/textpos/t/t5.tex deleted file mode 100644 index 37a181c87de..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t5.tex +++ /dev/null @@ -1,66 +0,0 @@ -%%% Testing:spacing -\documentclass{article} - -\usepackage{textpos} -%\usepackage[showboxes]{textpos} - -\hoffset=0pt -\voffset=0pt -\oddsidemargin=0pt -\topmargin=0pt -\headheight=0pt -\headsep=0pt - -\setlength{\TPHorizModule}{50pt} -\setlength{\TPVertModule}{\TPHorizModule} - -\pagestyle{empty} - -\begin{document} - -\setlength{\parindent}{0pt} -\setlength{\parskip}{30pt} -\setlength{\baselineskip}{20pt} - -% Make sure that all text appears precisely where it ought to. The -% above dimensions mean that text appears in round-number locations. -% -% The \showbox puts detailed calculations in the log file -% -% Output of 'dvireport -F -up t5.dvi': -% c 97[a] 0,20pt -% c 121[y] 4.72223,20pt -% c 98[b] 0,28.8889pt -% c 121[y] 5.27777,28.8889pt -% c 99[c] 50,76.25pt -% c 100[d] 0,70pt -% c 121[y] 5.55556,70pt -% -% The most important thing is that `a' and `d' are 50pt -% apart, \parskip+\baselineskip -% -% This test may not currently be working (2005 August 30). There's an -% extra 30pt (\parskip) appearing before the by and cy in their boxes, -% which clearly isn't present in the t5.correct.dvi. Ought it to be -% there? Have I done something (when?) which has caused this to -% spuriously appear? - - -\showboxdepth=8 -\showboxbreadth=8 - -\noindent ay -\vrule height 20pt depth 0pt width 0pt % strut -- makes base of this - % line 20pt from top -\begin{textblock}{3}(0,0) -\noindent by -\end{textblock} -\begin{textblock}{2}(1,1) -\noindent cy -\end{textblock} -\noindent -dy - -%\showlists % put detailed diagnostics into log file - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/t/t6.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t6.correct.dvi deleted file mode 100644 index 7cd99d9e1e1..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t6.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t6.tex b/Master/texmf-dist/doc/latex/textpos/t/t6.tex deleted file mode 100644 index 91428161b0a..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t6.tex +++ /dev/null @@ -1,86 +0,0 @@ -%%% Testing:colours, borders and margins -\documentclass{article} - -\usepackage{textpos} -\usepackage{color} - -\setlength{\TPHorizModule}{20pt} -\setlength{\TPVertModule}\TPHorizModule - -\setlength\parindent{0pt} -\pagestyle{empty} - -\begin{document} - -\definecolor{Blue}{rgb}{0.8,0.8,1.0} - -\begin{textblock}{4}(0,0) - \textblockcolour{Blue} - Blue -\end{textblock} - -\begin{textblock}{8}(14,6) - \hrule width 8\TPHorizModule - \vskip1\TPVertModule - \hrule width 4\TPHorizModule - \vskip1\TPVertModule - \hrule width 2\TPHorizModule - \vskip1\TPVertModule - \hrule width 1\TPHorizModule -\end{textblock} - -\begin{textblock}{8}(4,2) - 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. - - 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. -\end{textblock} - -\makeatletter - \TP@showboxestrue -\makeatother -\setlength\TPboxrulesize{0.25\TPHorizModule} - -\TPMargin{0.5\TPHorizModule} - -\begin{textblock}{4}(0,8) - \textblockcolour{Blue} - Blue -\end{textblock} - -\begin{textblock}{8}(4,10) - 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. - - This package provides a single environment, which contains the text - which is to be placed on the - page, and which specifies where it is to be placed. -\end{textblock} - -\TPMargin*{0.5\TPHorizModule} - -\begin{textblock}{4}(0,20) - \textblockcolour{Blue} - Blue -\end{textblock} - -\begin{textblock}{8}(4,22) - 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. - - 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. -\end{textblock} - - -\end{document} - diff --git a/Master/texmf-dist/doc/latex/textpos/t/t7.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t7.correct.dvi deleted file mode 100644 index c419e299430..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t7.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t7.tex b/Master/texmf-dist/doc/latex/textpos/t/t7.tex deleted file mode 100644 index 6deceeff770..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t7.tex +++ /dev/null @@ -1,25 +0,0 @@ -\documentclass{article} - -%\usepackage[showboxes]{textpos} -\usepackage[absolute,showboxes]{textpos} - -\setlength{\TPHorizModule}{100pt} -\TPVertModule=\TPHorizModule - -\begin{document} - - \begin{textblock}{2}(1,1) - Here is some text - \end{textblock} - - \begin{textblock}{2}(2,2) - More text - \end{textblock} - -\null\newpage - -\begin{textblock}{2}(1.5,1.5) - Text on a new page -\end{textblock} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/t/t8.correct.dvi b/Master/texmf-dist/doc/latex/textpos/t/t8.correct.dvi deleted file mode 100644 index 21376d4f818..00000000000 Binary files a/Master/texmf-dist/doc/latex/textpos/t/t8.correct.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/textpos/t/t8.tex b/Master/texmf-dist/doc/latex/textpos/t/t8.tex deleted file mode 100644 index 25d05d8da94..00000000000 --- a/Master/texmf-dist/doc/latex/textpos/t/t8.tex +++ /dev/null @@ -1,33 +0,0 @@ -\documentclass{article} - -\usepackage[showboxes]{textpos} -\setlength{\parindent}{0pt} - -\begin{document} - -\begin{textblock}{5}(0,0) -In this document we have figures~\ref{figa} and~\ref{figb}. -\end{textblock} - -\begin{textblock}{5}(1,1) - Here is a figure. - \begin{figure} - Text - \caption{This is the first figure} - \label{figa} - \end{figure} -\end{textblock} - -\begin{textblock}{5}(2,2) - Here is another figure. - \begin{figure} - More text - \caption{\label{figb}This is the second figure} - \end{figure} -\end{textblock} - -\begin{textblock}{5}(3,3) - We can still refer to figures~\ref{figb} and~\ref{figa}. -\end{textblock} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/textpos/textpos-example.tex b/Master/texmf-dist/doc/latex/textpos/textpos-example.tex index a21f23066f6..b765b70b74b 100644 --- a/Master/texmf-dist/doc/latex/textpos/textpos-example.tex +++ b/Master/texmf-dist/doc/latex/textpos/textpos-example.tex @@ -28,7 +28,7 @@ %% See the file LICENCE for a copy of the GPL. %% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html . %% -%%% Source: $Id: textpos.dtx.in,v 1.7 2005/10/13 19:09:13 norman Exp $ +%%% Source: $Id: textpos.dtx.in,v 1.8 2006/08/10 21:40:56 norman Exp $ %% \documentclass{article} diff --git a/Master/texmf-dist/doc/latex/textpos/textpos.html b/Master/texmf-dist/doc/latex/textpos/textpos.html index de18cefcf30..4a0761d1b96 100644 --- a/Master/texmf-dist/doc/latex/textpos/textpos.html +++ b/Master/texmf-dist/doc/latex/textpos/textpos.html @@ -1,13 +1,11 @@ - - + Textpos - + + href="style.css"/> @@ -15,8 +13,9 @@

Lay out text and graphics at arbitrary positions on the LaTeX page.

-

This page is http://purl.org/nxg/dist/textpos

-

Version 1.6a, 2005 October 13.

+

The textpos home page is at http://purl.org/nxg/dist/textpos

+

Version 1.6b, 2006 August 10.

This package facilitates placing boxes at absolute positions on the @@ -35,26 +34,26 @@ href="textpos.pdf" >manual (pdf).

href="http://purl.org/nxg/note/posters" >creating conference posters with LaTeX.

-

Rolf Niepraschk provided me with a wonderful demo of using Textpos along with his -eso-pic package, and the calc package.

+ +

History

+
1.6b, 2006 August 10
+
Minor documentation fixes
+
1.6a, 2005 October 13
The overriding of the figure and table environments now also works when there is no previous environment to override.
1.6, 2005 August 30
-
    -
  • Made {calc}-style dimensions to the +

    Made {calc}-style dimensions to the {textblock*} argument work again (so that's what -regression tests are for...)

  • -
  • Override the figure and table +regression tests are for...)

    +

    Override the figure and table environments within textblock environments, to avoid their -surprising and undesirable interaction with textblock.

  • -
+surprising and undesirable interaction with textblock.

1.5b, 2005 June 13
@@ -104,38 +103,14 @@ expressions in the parameters to the unstarred
Rolf Niepraschk niepraschk@ptb.de provided code to make textpos compatible with the calc package
-
See README for earlier versions
+
Version 1.1 was released in 1999
- - -

Download and installation

+

Installation and further information

    -
  1. Download the file textpos-1.6a.tar.gz -or textpos-1.6a.zip and unpack it.
  2. -
  3. Run LaTeX on the file textpos.ins -- this will unpack the style file textpos.sty amongst other files. Place this somewhere where TeX can find it.
  4. @@ -144,30 +119,18 @@ Place this somewhere where TeX can find it. documentation.
-

On CTAN: +

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/

-

To guard against the continual possibility of fixed versions breaking -old documents, here are some selected older versions:

- - - - - - - - - - - -
VersionNote
1.3aImmediately prior to change in skip handling
1.1eImmediately prior to compatibility with calc, and -introduction of {textblock*}
-Norman Gray
-2005 October 13 +Norman Gray
+2006 August 10
@@ -175,7 +138,5 @@ introduction of {textblock*} - - - + diff --git a/Master/texmf-dist/doc/latex/textpos/textpos.pdf b/Master/texmf-dist/doc/latex/textpos/textpos.pdf index c8c35dc7caf..8e329552f79 100644 Binary files a/Master/texmf-dist/doc/latex/textpos/textpos.pdf and b/Master/texmf-dist/doc/latex/textpos/textpos.pdf differ diff --git a/Master/texmf-dist/source/latex/textpos/textpos.drv b/Master/texmf-dist/source/latex/textpos/textpos.drv index 9664a855e8f..7085820cfbc 100644 --- a/Master/texmf-dist/source/latex/textpos/textpos.drv +++ b/Master/texmf-dist/source/latex/textpos/textpos.drv @@ -28,14 +28,14 @@ %% See the file LICENCE for a copy of the GPL. %% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html . %% -%%% Source: $Id: textpos.dtx.in,v 1.7 2005/10/13 19:09:13 norman Exp $ +%%% Source: $Id: textpos.dtx.in,v 1.8 2006/08/10 21:40:56 norman Exp $ %% %%\def\ParseRCSDate$#1: #2 #3 ${\def\TP@Date{#2}} -%%\ParseRCSDate$Date: 2005/10/13 19:09:13 $ +%%\ParseRCSDate$Date: 2006/08/10 21:40:56 $ \def\filename{textpos} -\def\fileversion{1.6a} -\def\filedate{2005/10/13} -\def\docdate{2005 October 13} +\def\fileversion{1.6b} +\def\filedate{2006/08/10} +\def\docdate{2006 August 10} \documentclass{ltxdoc} \title{Textpos: absolute positioning of text on the page} \author{Norman Gray\\(\texttt{norman@astro.gla.ac.uk})} @@ -64,7 +64,7 @@ \catcode`\/=\active \let/\setpathslash \catcode`\#=12 \catcode`\_=12}% } -\def\setpath#1{\ttfamily <\nobreak #1\nobreak>\endgroup} +\def\setpath#1{\ttfamily\small <\nobreak #1\nobreak>\endgroup} \def\url{\begingroup\pathcats\setpath} \OnlyDescription \begin{document} diff --git a/Master/texmf-dist/source/latex/textpos/textpos.dtx b/Master/texmf-dist/source/latex/textpos/textpos.dtx index 004d22efb37..44a2141c1f4 100644 --- a/Master/texmf-dist/source/latex/textpos/textpos.dtx +++ b/Master/texmf-dist/source/latex/textpos/textpos.dtx @@ -24,15 +24,15 @@ %% See the file LICENCE for a copy of the GPL. %% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html . %% -%<+package|driver|example>%%% Source: $Id: textpos.dtx.in,v 1.7 2005/10/13 19:09:13 norman Exp $ +%<+package|driver|example>%%% Source: $Id: textpos.dtx.in,v 1.8 2006/08/10 21:40:56 norman Exp $ %% %<*package|driver> %%\def\ParseRCSDate$#1: #2 #3 ${\def\TP@Date{#2}} -%%\ParseRCSDate$Date: 2005/10/13 19:09:13 $ +%%\ParseRCSDate$Date: 2006/08/10 21:40:56 $ \def\filename{textpos} -\def\fileversion{1.6a} -\def\filedate{2005/10/13} -\def\docdate{2005 October 13} +\def\fileversion{1.6b} +\def\filedate{2006/08/10} +\def\docdate{2006 August 10} % %<+package>\NeedsTeXFormat{LaTeX2e} %<+package>\ProvidesPackage{textpos}[\filedate\space v\fileversion] @@ -68,7 +68,7 @@ \catcode`\/=\active \let/\setpathslash \catcode`\#=12 \catcode`\_=12}% } -\def\setpath#1{\ttfamily <\nobreak #1\nobreak>\endgroup} +\def\setpath#1{\ttfamily\small <\nobreak #1\nobreak>\endgroup} \def\url{\begingroup\pathcats\setpath} %\RecordChanges \OnlyDescription diff --git a/Master/texmf-dist/tex/latex/textpos/textpos.sty b/Master/texmf-dist/tex/latex/textpos/textpos.sty index c616a809a09..00e89a02afe 100644 --- a/Master/texmf-dist/tex/latex/textpos/textpos.sty +++ b/Master/texmf-dist/tex/latex/textpos/textpos.sty @@ -28,14 +28,14 @@ %% See the file LICENCE for a copy of the GPL. %% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html . %% -%%% Source: $Id: textpos.dtx.in,v 1.7 2005/10/13 19:09:13 norman Exp $ +%%% Source: $Id: textpos.dtx.in,v 1.8 2006/08/10 21:40:56 norman Exp $ %% %%\def\ParseRCSDate$#1: #2 #3 ${\def\TP@Date{#2}} -%%\ParseRCSDate$Date: 2005/10/13 19:09:13 $ +%%\ParseRCSDate$Date: 2006/08/10 21:40:56 $ \def\filename{textpos} -\def\fileversion{1.6a} -\def\filedate{2005/10/13} -\def\docdate{2005 October 13} +\def\fileversion{1.6b} +\def\filedate{2006/08/10} +\def\docdate{2006 August 10} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textpos}[\filedate\space v\fileversion] \typeout{Package: `textpos' \fileversion\space<\docdate>} diff --git a/Master/texmf-dist/tpm/textpos.tpm b/Master/texmf-dist/tpm/textpos.tpm index 170ffcc6c24..3b11d2fbcd7 100644 --- a/Master/texmf-dist/tpm/textpos.tpm +++ b/Master/texmf-dist/tpm/textpos.tpm @@ -3,7 +3,7 @@ textpos Package - 2006/01/11 23:58:23 + 2006/08/13 23:37:10 1.5b rahtz Place boxes at absolute positions. @@ -16,37 +16,28 @@ conference posters, for example. Norman Gray 259140 - + texmf-dist/tex/latex/textpos/textpos.sty texmf-dist/tpm/textpos.tpm - + texmf-dist/doc/latex/textpos/LICENCE texmf-dist/doc/latex/textpos/README -texmf-dist/doc/latex/textpos/VERSION-1.6a -texmf-dist/doc/latex/textpos/t/Makefile -texmf-dist/doc/latex/textpos/t/runtests -texmf-dist/doc/latex/textpos/t/t1.correct.dvi -texmf-dist/doc/latex/textpos/t/t1.tex -texmf-dist/doc/latex/textpos/t/t2.correct.dvi -texmf-dist/doc/latex/textpos/t/t2.tex -texmf-dist/doc/latex/textpos/t/t3.correct.dvi -texmf-dist/doc/latex/textpos/t/t3.tex -texmf-dist/doc/latex/textpos/t/t4.correct.dvi -texmf-dist/doc/latex/textpos/t/t4.tex -texmf-dist/doc/latex/textpos/t/t5.correct.dvi -texmf-dist/doc/latex/textpos/t/t5.tex -texmf-dist/doc/latex/textpos/t/t6.correct.dvi -texmf-dist/doc/latex/textpos/t/t6.tex -texmf-dist/doc/latex/textpos/t/t7.correct.dvi -texmf-dist/doc/latex/textpos/t/t7.tex -texmf-dist/doc/latex/textpos/t/t8.correct.dvi -texmf-dist/doc/latex/textpos/t/t8.tex +texmf-dist/doc/latex/textpos/VERSION-1.6b +texmf-dist/doc/latex/textpos/examples/t1.tex +texmf-dist/doc/latex/textpos/examples/t2.tex +texmf-dist/doc/latex/textpos/examples/t3.tex +texmf-dist/doc/latex/textpos/examples/t4.tex +texmf-dist/doc/latex/textpos/examples/t5.tex +texmf-dist/doc/latex/textpos/examples/t6.tex +texmf-dist/doc/latex/textpos/examples/t7.tex +texmf-dist/doc/latex/textpos/examples/t8.tex +texmf-dist/doc/latex/textpos/style.css texmf-dist/doc/latex/textpos/textpos-example.tex texmf-dist/doc/latex/textpos/textpos.html texmf-dist/doc/latex/textpos/textpos.pdf - + texmf-dist/source/latex/textpos/textpos.drv texmf-dist/source/latex/textpos/textpos.dtx texmf-dist/source/latex/textpos/textpos.ins diff --git a/Master/texmf/lists/textpos b/Master/texmf/lists/textpos index bbdd1c06801..199739ef705 100644 --- a/Master/texmf/lists/textpos +++ b/Master/texmf/lists/textpos @@ -1,24 +1,15 @@ texmf-dist/doc/latex/textpos/LICENCE texmf-dist/doc/latex/textpos/README -texmf-dist/doc/latex/textpos/VERSION-1.6a -texmf-dist/doc/latex/textpos/t/Makefile -texmf-dist/doc/latex/textpos/t/runtests -texmf-dist/doc/latex/textpos/t/t1.correct.dvi -texmf-dist/doc/latex/textpos/t/t1.tex -texmf-dist/doc/latex/textpos/t/t2.correct.dvi -texmf-dist/doc/latex/textpos/t/t2.tex -texmf-dist/doc/latex/textpos/t/t3.correct.dvi -texmf-dist/doc/latex/textpos/t/t3.tex -texmf-dist/doc/latex/textpos/t/t4.correct.dvi -texmf-dist/doc/latex/textpos/t/t4.tex -texmf-dist/doc/latex/textpos/t/t5.correct.dvi -texmf-dist/doc/latex/textpos/t/t5.tex -texmf-dist/doc/latex/textpos/t/t6.correct.dvi -texmf-dist/doc/latex/textpos/t/t6.tex -texmf-dist/doc/latex/textpos/t/t7.correct.dvi -texmf-dist/doc/latex/textpos/t/t7.tex -texmf-dist/doc/latex/textpos/t/t8.correct.dvi -texmf-dist/doc/latex/textpos/t/t8.tex +texmf-dist/doc/latex/textpos/VERSION-1.6b +texmf-dist/doc/latex/textpos/examples/t1.tex +texmf-dist/doc/latex/textpos/examples/t2.tex +texmf-dist/doc/latex/textpos/examples/t3.tex +texmf-dist/doc/latex/textpos/examples/t4.tex +texmf-dist/doc/latex/textpos/examples/t5.tex +texmf-dist/doc/latex/textpos/examples/t6.tex +texmf-dist/doc/latex/textpos/examples/t7.tex +texmf-dist/doc/latex/textpos/examples/t8.tex +texmf-dist/doc/latex/textpos/style.css texmf-dist/doc/latex/textpos/textpos-example.tex texmf-dist/doc/latex/textpos/textpos.html texmf-dist/doc/latex/textpos/textpos.pdf -- cgit v1.2.3