Several enhancements for support of the JSC style
[texmacs.git] / src / TeXmacs / styles / exam.ts
blob25061bab8dd4b9c8e59345bf964db558ba53e034
1 <TeXmacs|1.0.4>
3 <style|source>
5 <\body>
6   <\active*>
7     <\src-title>
8       <src-style-file|exam|1.0>
10       <\src-purpose>
11         The exam style.
12       </src-purpose>
14       <\src-copyright|2002--2004>
15         Joris van der Hoeven
16       </src-copyright>
18       <\src-license>
19         This software falls under the <hlink|GNU general public
20         license, version 3 or later|$TEXMACS_PATH/LICENSE>.
21         It comes WITHOUT ANY WARRANTY WHATSOEVER.
22         You should have received a copy of the license which the software.
23         If not, see <hlink|http://www.gnu.org/licenses/gpl-3.0.html|http://www.gnu.org/licenses/gpl-3.0.html>.
24       </src-license>
25     </src-title>
26   </active*>
28   <use-package|std|env|title-generic|header-exam|section-generic>
30   \;
32   <assign|render-exercise|<\macro|which|body>
33     <\padded-normal|1fn|1fn>
34       <surround|<exercise-name|<arg|which><exercise-sep>>||<arg|body>>
35     </padded-normal>
36   </macro>>
38   \;
39 </body>
41 <\initial>
42   <\collection>
43     <associate|preamble|true>
44   </collection>
45 </initial>