How is "of course" separated by commas?
Properly writing is a good tone and respectful attitude to the interlocutor, but sometimes you can get confused in punctuation, for example, in the case when you are not sure when "of course" is allocated with commas.
Let's define with when and how the comma is allocated the word of course.
The first thing you need to know is that the word "of course" and the phrase "of course" are introductory and amplifying. It depends on the context of the proposal as a whole.
Of course stands out
"Sergei Petrovich education, of course, did not receive,French does not speak; but he, your will, is a nice person. "I. Turgenev, Noble's Nest In this case, the word" of course "is an introductory word, stands in the middle of the sentence and is separated by commas on both sides .If the introductory word" of course "stands at the beginning or in end of the sentence, then it is allocated only one comma after and before it.
Of course it does not stand out
"Do you know for sure?" - "Of course I know!". In this case, the word "of course" is amplifying - it emphasizes the effect of a confident tone of the author. It is synonymous with the word "exactly", it can also be replaced by the word "undoubtedly", "unambiguously", "indisputably", etc. Commas before and after "of course" are not put in this case! Here is another example:
"You will come?" - "Of course we will!" Here the word "of course" is used in the response replica, the author is confident in his answer, so commas are not put.
So, we learned how to "comma-separated" of course. It is separated by commas only in the case when it acts as an introductory word. In other cases, a comma is not required.