[pstricks] npos with absolute values?
Christophe Jorssen
jorssen.leraincy at free.fr
Thu Oct 20 23:13:06 CEST 2005
pstricks-bounces at tug.org wrote:
> 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)?
I suppose it would be better to include it in pstricks-add and that your
package call pstricks-add. It's easier to maintain.
--
Christophe
More information about the PSTricks
mailing list