Consider the following two sentences:
Statement 1:
The parameters were calculated a priori, and the other variables were calculated iteratively.
Statement 2:
The parameters were calculated a priori, and the other variables were calculated iteratively.
This may seem trivial, but the only difference between the two sentences is the way in which the , has been formatted. In the first statement the , is in italics. In the second, the , is not in italics. Does it depend on the writer whether or not to italicize the punctuation marks adjoining the affected words? Or is there a definite rule governing this? The same question can be extended to other types of formatting, e.g. bold.