forked from mitocw/latex2edx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample2.tex
executable file
·54 lines (34 loc) · 1.2 KB
/
example2.tex
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
%
% File: example2.tex
% Date: 17-Jul-12
% Author: I. Chuang <[email protected]>
%
% Example latex source file for a single edX problem.
\documentclass[12pt]{article}
\usepackage{edXpsl} % edX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{edXproblem}{Latex Example Problem 2}{40}
\section{Example of symbolic response problem}
This is a sample problem, which is worth 40 points. What is the number made famous by
Hitchhiker's guide to the galaxy?
\edXabox{type='symbolic' size='90' expect='42' }
~\\~\\
Here is the $\LaTeX$ code for the problem:
\begin{verbatim}
\documentclass[12pt]{article}
\usepackage{edXpsl} % edX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{edXproblem}{Latex Example Problem 2}{40}
\section{Example of symbolic response problem}
This is a sample problem, which is worth 40 points. What is the number made famous by
Hitchhiker's guide to the galaxy?
\edXabox{type='symbolic' size='90' expect='42' }
\end{edXproblem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
\end{verbatim}
\end{edXproblem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}