diff --git a/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml b/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml
index 23f7a23b8a..6b31c4af3e 100644
--- a/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml
+++ b/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml
@@ -47,6 +47,13 @@ metadata:
\edXabox{ type="string" expect="Michigan" options="ci" }
+ An explanation of the answer can be provided by using the edXsolution
+ macro. Click on "Show Answer" to see the solution.
+
+ \begin{edXsolution}
+ Detroit is near Canada, but it is actually in the United States.
+ \end{edXsolution}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Example "custom response" problem}
@@ -62,6 +69,23 @@ metadata:
Enter a python list of two numbers which sum to 10, eg [9,1]:
\edXabox{expect="[1,9]" type="custom" cfn="sumtest"}
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \subsection{Example image}
+
+ Include image by using the edXxml macro:
+
+ \edXxml{
}
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \subsection{Example show/hide explanation}
+
+ Extra explanations can be tucked away behind a "showhide" toggle flag:
+
+ \edXshowhide{sh1}{More explanation}{This is a hidden explanation. It
+ can contain equations: $\alpha = \frac{2}{\sqrt{1+\gamma}}$ }
+
+ This is some text after the showhide example.
data: |
@@ -135,6 +159,14 @@ data: |
+ An explanation of the answer can be provided by using the edXsolution macro:
+
+
@@ -145,12 +177,42 @@ data: | return (a1+a2)==10
- Enter a python list of two numbers which sum to 10:
+ Enter a python list of two numbers which sum to 10, eg [9,1]:
+
+ Include image by using the edXxml macro:
+
+
+
+
+ Extra explanations can be tucked away behind a "showhide" toggle flag:
++
| More explanation [show] | +
|---|