Detailed Instructions: Generate the answer for a given question. The question requires common knowledge of English. Make sure that the answer is in detail, long, consistent with the context, and requires general knowledge of English. To be less repetitive, please vary your language for each question. Give a proper explanation to answer, and if necessary, provide the definition of various terms. And conclude your answer if it's long. If you have used other resources (e.g., Merriam Webster's.) to answer the question, include citations in your answer. You don't need to paraphrase the context of your resources, but make sure that your answer is consistent and complete.
Q: E.g. is short for exempli gratia, and is in common use to introduce an example within a sentence. Submit a sample of academic writing, e.g., a dissertation chapter. However, some authors use ex. or ex: (short for 'example') for the same purpose, and this form is listed in some authorities like the Wiktionary. Submit a sample of academic writing, ex: a dissertation chapter. I know they both roughly mean 'example', but which one should I use, and when? Are there connotations associated with one or the other? This question has been asked elsewhere, and this very answer comes up when you ask Google about the difference. It would be good to get an EL&U answer for it.
A:
E.g. is short for exempli gratia and stands for 'for example'. Ex., if used to mean the same, is incorrect. Mostly ex. is used as short for exercise and not 'for example'.