I would like to fill in values in a report that I'm generating using a Jupyter notebook. While I am using the nbextension Python Markdown, this appears to only allow variables that can isolated, i.e. I can't fill in values that would be in a fraction.
This works, since it is only symbolic:
Markdown cell:
\begin{equation*}
\xi_b = \frac{\epsilon_c}{\epsilon_c + \epsilon_y}
\end{equation*}
But this code snippet wouldn't:
Code cell:
epsilon_c = 0.003
epsilon_y = 0.005
Markdown cell:
\begin{equation*}
\xi_b = \frac{{{epsilon_c}}}{{{epsilon_c}} + {{epsilon_y}}}
\end{equation*}
Is there some way to inject the python variable values directly into my LaTeX expression?