what does an author use to create tone or mood in a story

punctuation and grammar
the authors previous works
the detail of the main plot events
vocabulary and diction