Text this: Multifractal formalisms for the local spectral and walk dimensions