diff --git a/layers/Box.sty b/layers/Box.sty index 38818a87..6fc078e7 100644 --- a/layers/Box.sty +++ b/layers/Box.sty @@ -42,7 +42,7 @@ \coordinate (a1) at (0 , \y/2 , \z/2); \coordinate (b1) at (0 ,-\y/2 , \z/2); - \tikzstyle{depthlabel}=[pos=0,text width=14*\z,text centered,sloped] + \tikzstyle{depthlabel}=[pos=0.5,text width=14*\z,text centered,sloped] \path (c) edge ["\small\zlabel"',depthlabel](f); %depth label \path (b1) edge ["\ylabel",midway] (a1); %height label diff --git a/layers/RightBandedBox.sty b/layers/RightBandedBox.sty index 7d74a514..5254e852 100644 --- a/layers/RightBandedBox.sty +++ b/layers/RightBandedBox.sty @@ -60,7 +60,7 @@ \coordinate (a1) at (0 , \y/2 , \z/2); \coordinate (b1) at (0 ,-\y/2 , \z/2); - \tikzstyle{depthlabel}=[pos=0,text width=14*\z,text centered,sloped] + \tikzstyle{depthlabel}=[pos=0.5,text width=14*\z,text centered,sloped] \path (c) edge ["\small\zlabels"',depthlabel](f); %depth label \path (b1) edge ["\ylabel",midway] (a1); %height label