I am compiling some solutions to textbook exercises, and I am trying to do so in the style of the book. The way the book does it is that the body of each exercise appears unindented, left-aligned, where one would expect it to be, at the left margin, but the number for the problem is right-aligned to the left of that.
An impression of the result is this:
This is the left margin. 1. This is the first problem. This is the first paragraph of the first solution, which has a normal first-line indent. This is the second paragraph of the first solution... This is a new paragraph following a line break, still in the first solution. This is the second page of the first solution. 2. This problem follows. ... 10. This is the tenth problem.
I would be equally happy with the following:
This is the left margin. 1. This is the first problem. 2. This problem follows. ... 10. This is the tenth problem.
The numbers are in boldface and wrap around every chapter (so there are multiple 1's, 2's, etc.), and solutions are (to be) typed in between.