From b62a0f8765c777bf205f03dd182993ef2a7ddac0 Mon Sep 17 00:00:00 2001 From: tapyu Date: Thu, 30 Oct 2025 16:41:55 -0300 Subject: [PATCH] fix #122 --- layers/Box.sty | 2 +- layers/RightBandedBox.sty | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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