summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/plength.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/plength.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/plength.dtx31
1 files changed, 26 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/plength.dtx b/Master/texmf-dist/source/latex/koma-script/doc/plength.dtx
index dca308351ab..214be64dbaa 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/plength.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/doc/plength.dtx
@@ -255,6 +255,10 @@ begingroup
plength[22]=btex \plength{}refhpos etex;
plength[23]=btex \plength{}fromrulewidth etex;
plength[24]=btex \plength{}-toaddrhpos\strut etex;
+ plength[25]=btex \plength{}lochpos etex;
+ plength[26]=btex \plength{}-lochpos etex;
+ plength[27]=btex \plength{}locvpos etex;
+ plength[28]=btex \plength{}locheight etex;
endgroup
enddef;
@@ -884,11 +888,17 @@ begingroup
% \begin{macrocode}
if toaddrhpos > 0 :
hmeasure((0,toaddrvpos), toaddrhpos, plength[17], (6pt,0pt), top);
- hmeasure((lochpos+locwidth,toaddrvpos), toaddrhpos, plength[17], (-6pt,0pt),
- top);
else :
hmeasure((0,toaddrvpos), -toaddrhpos, plength[24], (6pt,0pt), top);
- hmeasure((paperwidth+toaddrhpos,toaddrvpos), -toaddrhpos, plength[24],
+ fi
+% \end{macrocode}
+% \texttt{lochpos}:
+% \begin{macrocode}
+ if toaddrhpos > 0 :
+ hmeasure((lochpos+locwidth,toaddrvpos), toaddrhpos, plength[25], (-6pt,0pt),
+ top);
+ else :
+ hmeasure((paperwidth+toaddrhpos,toaddrvpos), -toaddrhpos, plength[26],
(-6pt,0pt), top);
fi
% \end{macrocode}
@@ -928,8 +938,11 @@ begingroup
% \begin{macrocode}
vmeasure((istoaddrhpos-tickhoehe,toaddrvpos), toaddrheight,
plength[21] rotated 90, origin, lft);
+% \end{macrocode}
+% \texttt{locheight}:
+% \begin{macrocode}
vmeasure((lochpos+locwidth,toaddrvpos), toaddrheight,
- plength[21] rotated 90, origin, rt);
+ plength[28] rotated 90, origin, rt);
% \end{macrocode}
% \texttt{backaddrheight}:
% \begin{macrocode}
@@ -958,7 +971,15 @@ begingroup
if toaddrhpos > 0 :
dmeasure((istoaddrhpos+toaddrwidth,toaddrvpos), plength[19], origin, top);
else :
- dmeasure((lochpos+locwidth,toaddrvpos), plength[19], origin, top);
+ dmeasure((istoaddrhpos-2*tickhoehe,toaddrvpos), plength[19], origin, top);
+ fi
+% \end{macrocode}
+% \texttt{locvpos}:
+% \begin{macrocode}
+ if toaddrhpos > 0 :
+ dmeasure((lochpos-2*tickhoehe,toaddrvpos), plength[27], origin, top);
+ else :
+ dmeasure((lochpos+locwidth,toaddrvpos), plength[27], origin, top);
fi
% \end{macrocode}
% \texttt{refvpos}: