diff options
Diffstat (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setmarklen.sci')
-rwxr-xr-x | texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setmarklen.sci | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setmarklen.sci b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setmarklen.sci new file mode 100755 index 00000000..a17c9e95 --- /dev/null +++ b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Setmarklen.sci @@ -0,0 +1,17 @@ +// +// 09.02.27 +// 14.03.05 MARKLEN + +function Setmarklen(varargin) + global MARKLEN MARKLENInit MARKLENNow; + Nargs=length(varargin); + if Nargs==0 + Tmp=MARKLEN/MARKLENInit; + Tmp=round(Tmp*100)/100; + disp(Tmp); + return; + end; + Size=varargin(1); + MARKLEN=MARKLENInit*Size; + MARKLENNow=MARKLEN; +endfunction |