In the following sentence:
'In the course, History of the Indies, we learned many things.'
This is just a hypothetical example. 'History of the Indies' is the name of the course (I made this up). Do you need to have commas on both sides of the name?
Traditionally: no commas if the name is defining or restrictive, and commas if it isn't. That said, I don't think it makes a whole lot of difference for your example.
Traditionally: no commas if the name is defining or restrictive, and commas if it isn't. That said, I don't think it makes a whole lot of difference for your example.
Something is defining or restrictive if the name specifies the course. The course History of the Indies as opposed to the course Geography of the Indies, etc. If it is non-defining or non-restrictive, the name merely provides additional information.