diff options
author | Norbert Preining <norbert@preining.info> | 2017-10-14 11:43:11 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2017-10-14 11:43:11 +0900 |
commit | dc71274f16f7ff65145e034900f582b62453a033 (patch) | |
tree | a71452364cbe1a03feb6a84cdfd09eedae861590 /texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Setmarklen.sci | |
parent | aecda53b09be64698e9e5dcbf40f0fe289b37e2e (diff) |
rename and update ketpic -> ketcindy
Diffstat (limited to 'texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Setmarklen.sci')
-rw-r--r-- | texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Setmarklen.sci | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Setmarklen.sci b/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Setmarklen.sci new file mode 100644 index 00000000..a17c9e95 --- /dev/null +++ b/texmf-dist/scripts/ketcindy/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 |