Latin, literally "in the midst of things," from medias, accusative fem. plural of medius "middle" (see medial (adj.)) + accusative plural of res "a thing" (see re). From Horace, in reference to narrative technique:
Semper ad eventum festinat, et in medias res,
Non secus ac notas auditorem rapit (etc.)
Latin, literally "in memory of," from accusative of memoria "memory" (from PIE root *(s)mer- (1) "to remember"). The phrase was much-used in Latin writing; Tennyson's poem of that name (published in 1850) seems to have introduced the phrase to English.
"in the matter of, in the (legal) case of," c. 1600, probably from Duns Scotus; Latin, from re, ablative of res "property, goods; matter, thing, affair," from Proto-Italic *re-, from PIE *reh-i- "wealth, goods" (source also of Sanskrit rayi- "property, goods," Avestan raii-i- "wealth").