Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8114 > unrolled thread

exercises: suppress printing of answers

Started byAlan <alan.isaac@gmail.com>
First post2012-01-23 08:00 +0000
Last post2012-01-24 10:05 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  exercises: suppress printing of answers Alan <alan.isaac@gmail.com> - 2012-01-23 08:00 +0000
    Re: exercises: suppress printing of answers "Nasser M. Abbasi" <nma@12000.org> - 2012-01-24 10:05 +0000

#8114 — exercises: suppress printing of answers

FromAlan <alan.isaac@gmail.com>
Date2012-01-23 08:00 +0000
Subjectexercises: suppress printing of answers
Message-ID<jfj42e$7df$1@smc.vnet.net>
I have exercises with answers. I can put each exercise in a subsection
and each answer in a subsubsection (using the default style sheet).
I'd like to tag the answer heading cell (i.e., the subsubsection
styled cell) and use the tag to suppress outputting of the answers
(i.e., of all the material in that subsubsection, not just in the
heading), so that I can create a PDF of the exercises only.

I feel sure this can be done simply, but I don't see how to do it.
Suggestions?

Thanks,
Alan Isaac

[toc] | [next] | [standalone]


#8117

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-01-24 10:05 +0000
Message-ID<jflvp5$joa$1@smc.vnet.net>
In reply to#8114
On 1/23/2012 2:00 AM, Alan wrote:
> I have exercises with answers. I can put each exercise in a subsection
> and each answer in a subsubsection (using the default style sheet).
> I'd like to tag the answer heading cell (i.e., the subsubsection
> styled cell) and use the tag to suppress outputting of the answers
> (i.e., of all the material in that subsubsection, not just in the
> heading), so that I can create a PDF of the exercises only.
>
> I feel sure this can be done simply, but I don't see how to do it.
> Suggestions?
>
> Thanks,
> Alan Isaac
>

You should be able to just do

     Cell->Cell Properties-> and uncheck the Open property to close
the cells in question.

(select all the cells you want closed before hand with the mouse)

Later on, you can Open them again doing the reverse of the above.

--Nasser


[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web