What Does a Copyeditor Do, Exactly? Part I

What does a copyeditor do, exactly? 

You’ll probably guess that copyediting has something to do with checking spelling, grammar, and punctuation.

You might even guess that a copyeditor checks for consistency and flow.

And a copyeditor like me would respond with a hearty, “Yes, that’s right.”