What is the definition of tone?

a. the attitude of a text toward the subject and theme
b. the choice of words an author uses to express an idea
c. what a word suggests beyond its literal meaning
d. a slight difference that can affect the meaning of something