Re: Adding user-defined lengths
- From: Daniele Giovannini <gdaniele@xxxxxxxxx>
- Date: Thu, 10 Jul 2008 02:43:32 -0700 (PDT)
On Jul 9, 11:50 pm, r...@xxxxxxxxxxxx (Robin Fairbairns) wrote:
but but but ... i did answer your question, which was "can i use plus
and minus in this situation?". (i didn't answer earlier because there
are people who answer this sort of thing better than i.)
you showed a non-working example, and others tried to provide you with
a derivative which worked: this also seems to me to be a valid
response, given that there was no hint that your actual problem was
other than what your example attempted.
in the circumstances, i don't think you're right to complain about the
responses you got. whether something better is achievable, now that
we know what you "really" want, i can't say ... off-hand.
--
Robin Fairbairns, Cambridge
I wasn't really complaining about the answers I got. I knew I'd posted
a bad example and I'd already apologized about that. It was more like,
what if I had this kind of situation and I wanted to add two lengths
I'd previously defined? Anyway, thanks again for your response. The
calc package can be helpful, and I didn't know about that.
For the record, I did try Herbert Voss' solution but, because of
compatibility and exporting issues, I ended up defining something like
\posX and \posY, and incrementing them after each \rput by
\addtolength in order to obtain some kind of relative positioning.
(It's more complicated than that, but that's the point.) So, Robin,
thanks for your clarifications about lengths and how LaTeX interprets
them within arguments.
.
- References:
- Adding user-defined lengths
- From: Daniele Giovannini
- Re: Adding user-defined lengths
- From: Robin Fairbairns
- Re: Adding user-defined lengths
- From: Daniele Giovannini
- Re: Adding user-defined lengths
- From: Robin Fairbairns
- Adding user-defined lengths
- Prev by Date: Re: How to define commands like $$
- Next by Date: babel doesn't work any more
- Previous by thread: Re: Adding user-defined lengths
- Next by thread: Re: Adding user-defined lengths
- Index(es):
Relevant Pages
|