In writing, the word syntax relates to

1. the order and pattern of words in a text

2. the overall structure of a written work \

3. the suggested mood in a written text

4. the words used to connect ideas in a text