Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

%DCL-MEM-BAD, bad memory VMS-F-PDGERS, pudding between the ears


computers / comp.text.tex / Re: Exercises and Solutions Environments

SubjectAuthor
* Exercises and Solutions EnvironmentsCarlos Felippa
`- Re: Exercises and Solutions EnvironmentsDr Engelbert Buxbaum

1
Subject: Exercises and Solutions Environments
From: Carlos Felippa
Newsgroups: comp.text.tex
Date: Fri, 6 May 2022 17:49 UTC
X-Received: by 2002:a05:622a:6206:b0:2f1:d7bc:7522 with SMTP id hj6-20020a05622a620600b002f1d7bc7522mr3954688qtb.556.1651859341756;
Fri, 06 May 2022 10:49:01 -0700 (PDT)
X-Received: by 2002:a05:6870:42cc:b0:ed:5822:c10e with SMTP id
z12-20020a05687042cc00b000ed5822c10emr4920814oah.171.1651859341468; Fri, 06
May 2022 10:49:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Fri, 6 May 2022 10:49:01 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=128.138.64.25; posting-account=7uZ54goAAADYlDhQk1uenYHOdGDrAXco
NNTP-Posting-Host: 128.138.64.25
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5c412269-7940-41be-a145-d33621efd1f5n@googlegroups.com>
Subject: Exercises and Solutions Environments
From: car...@colorado.edu (Carlos Felippa)
Injection-Date: Fri, 06 May 2022 17:49:01 +0000
Content-Type: text/plain; charset="UTF-8"
View all headers
Hi all,
I am converting some of my old Course Notes to LaTeX using the book class.  The original Notes were written in 1984-85 with PlainTeX,
before LaTeX existed,  with some help from Don Knuth's students
(I was at Stanford at the time).  Need to redefine my Exercises and Solutions environments, which appear at the end of each Chapter, to produce something like  this (assume Chapter # is 4)

(new page)

                         Homework Exercises for Chapter 4

EXERCISE 4.1.  [ A:10].  Prove that

                                II+II=IV                                                                       (E4.1)
                                X-IX=I                                                                         (E4.2)

EXERCISE 4.2. [ A:50].   Give a counterexample to Fermat's conjecture.

                      ........................

The stuff in brackets identifies the exercise type (e.g. A for analytical)
and the difficulty in a scale of 10 (trivial) to 50 (very hard). Overall title is bold, EXERCISE is sans-serif bold. Equation numbers are labeled as shown;  likewise for Solutions, which has a similar configuration.

I expect to need 4 user-defined LaTeX environments, to be nested as

              \begin{chapterexercises)
                     \begin{exercise}
                      \end{exercise}
                    \begin{exercise}
                      \end{exercise}
                       ....
              \end{chapterexercises)

              \begin{chaptersolutions)
                     \begin{solution}
                     \end{solution}
                     \begin{solution}
                     \end{solution}
                      .........
             \end{chaptersolutions)

Is there any package that provides these kinds of environments and
properly identifies them in the TOC?


  







......





Subject: Re: Exercises and Solutions Environments
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Mon, 9 May 2022 12:35 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: engelber...@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: Re: Exercises and Solutions Environments
Date: Mon, 9 May 2022 14:35:47 +0200
Organization: private
Lines: 11
Message-ID: <MPG.3ce0264c44ff7dac98968d@news.eternal-september.org>
References: <5c412269-7940-41be-a145-d33621efd1f5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="167f237eccb317bccb12789100df6de7";
logging-data="24928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7F8sVNU+EQ0cTvzjQAEMf0MhG3IhqNYU="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:jnzN/h4i8ZFhYMOFnCGZafLj3vg=
View all headers
In article <5c412269-7940-41be-a145-d33621efd1f5n@googlegroups.com>,
carlos@colorado.edu says...

  Need to redefine my Exercises and Solutions environments, which    
appear at the end of each Chapter

The Springer book class svmono.cls
https://www.springer.com/gp/computer-science/lncs/conference-
proceedings-guidelines, there is a derivative on
https://github.com/JannikArndt/SVMonoEnhanced has exercise and solution
environments that you may be able to pilfer.


1
rocksolid light 0.7.2
clearneti2ptor