你看看词典示例:products imported from many countries, e.g., France, Germany, and Japan (韦氏高阶);citrus fruits, e.g. oranges and grapefruit (朗文);popular pets, e.g. cats and dogs (牛津)
朗文对e.g.的使用做了说明:在正式文体如论文或商业信函中要避免使用e.g.,而用for example.
Register
In formal contexts such as essays or business letters, people usually avoid using the abbreviation e.g., and write for example in full:
They might use local health care facilities, for example clinics and district hospitals.