From your example I can see that the table solution will not work here (could
be used if the answers were separate paragraphs).
I think I would use the _white font_ method instead of hidden text and to
this:
Create a _character_ style to be used for the answer text (in the following,
the style is named "Answer text"). Base the style on the "Default Paragraph
Font" and add the attributes you want (for example, it may be helpful to
format the font as bold and red when showing the answers). Format all the
answer text in the document with the "Answer text" style.
Before printing the document, modify the "Answer text" style as white and
maybe underlined. When showing the answers, modify the "Answer text" style to
the "display answer" look.
In order to make the switch from visible to invisible fast and easy, you
could use a macro. The macro below will toggle the style definition between
"red text and no underline" and "white text plus black underline". If you are
the only user, you can store the macro in your Normal.dot. If you assign the
macro to a toolbar button, it will be fast and easy to toggle between the
style definitions.
The macro:
Sub ToggleAnswerText()
With ActiveDocument.Styles("Answer text").Font
If .Color = wdColorWhite Then
'Change to red, remove underline
.Color = wdColorRed
.Underline = wdUnderlineNone
Else
'Change to white plus underline
.Color = wdColorWhite
.Underline = wdUnderlineSingle
.UnderlineColor = wdColorBlack
End If
End With
End Sub
If you are making a lot of these exercises, you could create a template with
the macro and the "Answer text" style and base all your exercises on that
template.
For help on installing macros, see:
http://www.gmayor.com/installing_macro.htm
--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word