I have read that Latimer diagrams can be represented both in an acidic medium (pH = 0) and in a basic medium (pH = 14).
I would like to know how to calculate the reduction potentials as a function of pH. That is, if I know the reduction potential for the pair $X^{+}/X$ at pH = 0, calculate it for another pH.
I thought the Nerst equation could be applied, but I'm not sure about that.