[pstricks] npos with absolute values?

Christoph Bersch usenet at bersch.net
Wed Oct 19 10:59:12 CEST 2005


Herbert Voss wrote:
> Christoph Bersch wrote:
>>
>> Is there a possibility to use npos with absolute values?
>> 
>> I have for example two nodes with a line between them and want to label
>> the connection at a fixed distance from one node, that means in the
>> following examples I would like something like
>> 
>> \ncput[npos=2cm]{Test}
>> 
>> instead of the relative positioning
> 
> needs a new macro ...
> 
[Macro Code]

Thank you, works great.

Now I have a question regarding your code:

I'm writing a package for drawing optical experimental setups (not
comparable with pst-optic). Can I use your code in this package (I mark
it in the code as your contribution)?
Hopefully I will be able to present the package soon in this mailinglist
to get some advices.

Thanks
Christoph




More information about the PSTricks mailing list