blob: 314f148ef91f6d7369fabed83f6b0c26312bc1aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
\documentclass{assignment}
\coursetitle{Creating assignments}
\courselabel{ASG 101}
\exercisesheet{Home Work 1}{Documentation}
\student{Madhusudan Singh}
\semester{Summer 2004}
\date{July 14, 2004}
%\usepackage[pdftex]{graphicx}
%\usepackage{subfigure}
\begin{document}
\begin{problemlist}
\pbitem What is this package used for ?
\begin{problem}
This package may be used to typeset homework assignments.
\begin{answer}
assignment.cls $\Rightarrow$ Typesetting homework assignments
\end{answer}
\end{problem}
\pbitem What does the preamble contain ?
\begin{problem}
The preamble may contain the following declarations\footnote{Current markup's preamble.} :
\begin{verbatim}
\documentclass{assignment}
\coursetitle{Creating assignments}
\courselabel{ASG 101}
\exercisesheet{Home Work 1}{Documentation}
\student{Madhusudan Singh}
\semester{Summer 2004}
\date{July 14, 2004}
%\usepackage[pdftex]{graphicx}
%\usepackage{subfigure}
\end{verbatim}
\begin{answer}
That was the preamble
\end{answer}
\end{problem}
\pbitem How do I use various features of the article class ?
\begin{problem}
Its possible. Just pass the options in the preamble :
\begin{verbatim}
\documentclass[option1,option2, ...]{assignment}
\end{verbatim}
\begin{answer}
\end{answer}
\end{problem}
\pbitem How are the equations numbered ?
\begin{problem}
Equation numbers refer to the problem number. For instance,
\begin{verbatim}
\begin{eqnarray}
E & = & mc^{2} \label{eqn:emc2} \\
\textrm{That is how equations are numbered} \ldots \label{eqn:numbered} \\
\textrm{Or not numbered} \ldots \nonumber
\end{eqnarray}
\end{verbatim}
\begin{eqnarray}
E & = & mc^{2} \label{eqn:emc2} \\
\textrm{That is how equations are numbered} \ldots \label{eqn:numbered} \\
\textrm{Or not numbered} \ldots \nonumber
\end{eqnarray}
\begin{answer}
That was that.
\end{answer}
\end{problem}
\pbitem How do the answer sections look ?
\begin{problem}
Nice !
\begin{verbatim}
\begin{answer}
\begin{eqnarray}
Answer=f(bold) \nonumber
\end{eqnarray}
\end{answer}
\end{problem}
\end{verbatim}
\begin{answer}
\begin{eqnarray}
Answer=f(bold) \nonumber
\end{eqnarray}
\end{answer}
\end{problem}
\pbitem Can one have more than one answer section for the problem ?
\begin{problem}
Most definitely.
Certain problems have many parts :
\begin{enumerate}
\item Part 1
\begin{answer}
Answer to part one.
\end{answer}
\item Part 2
\begin{answer}
Answer to part two.
\end{answer}
\end{enumerate}
\begin{verbatim}
\begin{enumerate}
\item Part 1
\begin{answer}
Answer to part one.
\end{answer}
\item Part 2
\begin{answer}
Answer to part two.
\end{answer}
\end{enumerate}
\end{verbatim}
\end{problem}
\pbitem What are the copyright conditions for this class file ?
\begin{problem}
This material is subject to the \LaTeX\ Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. See the LICENSE file for more details.
\begin{answer}
\begin{eqnarray}
&& Q. E. D. \nonumber
\end{eqnarray}
\end{answer}
\end{problem}
\pbitem How do I get help using this class ?
\begin{problem}
You may post your queries on comp.text.tex . I check it fairly regularly.
\end{problem}
\end{problemlist}
\end{document}
|