Text this: Lectures in pattern theory/