X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucwmac.tex;h=86dc5e5cc55840e3fa799645cfb0eef5ef855b72;hb=c471bf28c441c6bb68283cc66cb8656b7d5f2f5e;hp=2fb1c3ce40d395fe4eaa90a75685dd77e8c3fff7;hpb=0d75d8d71849fa15220fb80bf483e4dee41310d9;p=ucwmac.git diff --git a/ucwmac.tex b/ucwmac.tex index 2fb1c3c..86dc5e5 100644 --- a/ucwmac.tex +++ b/ucwmac.tex @@ -41,6 +41,8 @@ \voffset=\topmargin \advance\voffset by -1truein \ifpdf + \pdfhorigin=1truein + \pdfvorigin=1truein \pdfpagewidth=\pagewidth \pdfpageheight=\pageheight \fi @@ -100,10 +102,10 @@ \long\def\placeat#1#2#3{\smashedhbox{\hskip #1\lower #2\hbox{#3}}} % Like \vbox, but with reference point in the upper left corner -\def\vhang#1{\vtop{\hrule height 0pt\relax #1}} +\long\def\vhang#1{\vtop{\hrule height 0pt\relax #1}} % Like \vhang, but respecting interline skips -\def\vhanglines#1{\vtop{\hbox to 0pt{}#1}} +\long\def\vhanglines#1{\vtop{\hbox to 0pt{}#1}} % Crosshair with reference point in its center \def\crosshair#1{\clap{\vrule height 0.2pt width #1}\clap{\vrule height #1 width 0.2pt}} @@ -119,7 +121,7 @@ % and underlays, which are zero-size vboxes positioned absolutely in the % front / in the back of the normal material. Also, there are global % versions of both which are not reset after every page. -\def\addlay#1#2{\setbox#1=\vbox{\ifvbox#1\box#1\fi\smashedvbox{#2}}} +\def\addlay#1#2{\setbox#1=\vbox{\ifvbox#1\box#1\fi\nointerlineskip\smashedvbox{#2}}} \def\pageunderlay{\addlay\pageunderlays} \def\pageoverlay{\addlay\pageoverlays} \def\commonunderlay{\addlay\commonoverlays}