Files
edx-platform/xmodule/templates/html/latex_html.yaml
2022-06-20 18:20:06 +05:00

22 lines
838 B
YAML

---
metadata:
display_name: E-text Written in LaTeX
source_code: |
\subsection{Example of E-text in LaTeX}
You can write complex equations in LaTeX.
\begin{equation}
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
\end{equation}
data: |
<html>
<h3 class="hd hd-2">Example: E-text page</h3>
<p>You can write complex equations in LaTeX.</p>
<p>When you add the component, be sure to select <strong>Settings</strong>
to specify a <strong>Display Name</strong> and other values that apply.</p>
<p>When editing this component, select <strong>Launch Latex Source Compiler</strong> to edit equations.</p>
<p>Then, in the equation editor, select <strong>Save and Compile to edX XML</strong> to see the equation in the component.</p>
</html>