Give or take away something from someone.
The problem in this sentence is that normally one would say "Give to" or "take away from" someone, but what should I write when I want to refer to both alternatives?
Give or take away something from someone.
The problem in this sentence is that normally one would say "Give to" or "take away from" someone, but what should I write when I want to refer to both alternatives?
Presumably you want to remove as much redundancy as possible but maintaining correct syntax.
When you have an alternation, an attempt to combine 'X Z' and 'Y Z', you make take each part completely to give:
X or Y Z
For example, from 'Give something to someone' and Take something away from someone', you get
Give something to or take away something from someone
Because 'Give X to...' and 'Take away X from...' are not perfectly parallel it seems strange, but it's still OK to say:
Give to or take away something from someone
If you don't have the 'to', namely
*Give or take away something from someone
it sounds strange, because in resolving the parallelism it sounds like you are saying 'Give away something from someone' and that is not grammatical.
If that's the exact sentence, then:
Give or take away something.
In that sentence, the "to someone" or "from someone" is unnecessary.
It's a general principle with this type of elision that if there's a grammar conflict between the antecedents (give, take away) and their "shared" clause (to/from someone), you use the word-form that agrees with the last of the antecedents.
Or, as @slim's self-deleted answer suggests, sidestep the issue by not eliding so much "Give to, or take something away from someone."