I would like to create a question/answer format to use on lab reports. What I would like to achieve is something like this:
a. This is the first question (in bold)?
This is the answer (it is indented and regular text).
b. This is the second question (bold)?
This is the answer (indented and regular text).
I have no idea where to start. Thank you very much for your help!
Best Answer
I would define an enumerate list and create an answer environment: consider the following:
This gives you some flexibility in terms of how you format the questions and how you format the answers. Notice that I kind of sledgehammer the bold font. To counteract this, I call
\normalfont
inside theanswered
environment.The
enumitem
package gives you a lot of room for controlling margins.To get further indentation on both the left and right margins, you can write
If you want a paragraph indent at the beginning of the answer, then rewrite the
answered
environment to be:If you play with these suggestions, you'll find you have a lot of control over the look and feel of the
answered
environment.By adding these changes to the MWE, you'll get something like: