From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/plain/contrib/samples/grafix.tex | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 macros/plain/contrib/samples/grafix.tex (limited to 'macros/plain/contrib/samples/grafix.tex') diff --git a/macros/plain/contrib/samples/grafix.tex b/macros/plain/contrib/samples/grafix.tex new file mode 100644 index 0000000000..4e115fa2e5 --- /dev/null +++ b/macros/plain/contrib/samples/grafix.tex @@ -0,0 +1,21 @@ +\def\grafix#1,#2,#3,#4{ + \setbox1\vbox{\centerline{\vbox to#1{ + \hbox to#2{\special{position,include #3}\hss}\vss} + }} + {\vbox{\ifnum#4>0\hrule\fi + \hbox{\ifnum#4>0\vrule\fi\hskip 1pt + \vbox{\vskip 1pt + \box1 + \vskip 1pt} + \hskip 1pt + \ifnum#4>0\vrule\fi} + \ifnum#4>0\hrule\fi}}} + +This is a test of how some graphics might be centered in the file itself. +It may not work, but it is worth a try. + +\grafix 2.3truein,2.3truein,{pseal.tex},0 + +Then again, it might. We shall see, we shall see. This is Tomas Rokicki, +signing off. +\bye -- cgit v1.2.3