%% Equation Environment Template
%% Auto-generated by ggen from RDF ontology

{% raw %}{% if is_numbered %}
\begin{equation}
\label{eq:{{ equation_id }}}
{{ latex_content }}
\end{equation}
{% else %}
\begin{equation*}
{{ latex_content }}
\end{equation*}
{% endif %}{% endraw %}

{% raw %}{% if description %}
{{ description }}
{% endif %}{% endraw %}

{% raw %}{% if is_aligned %}
\begin{align}
{% for line in align_lines %}
{{ line.latex }} {% if line.label %}\label{eq:{{ line.label }}}{% endif %} {% if not loop.last %}\\{% endif %}
{% endfor %}
\end{align}
{% endif %}{% endraw %}

{% raw %}{% if variable_definitions %}
\noindent where:
\begin{itemize}
{% for var in variable_definitions %}
\item ${{ var.symbol }}$ -- {{ var.description }}{% if var.units %} ({{ var.units }}){% endif %}
{% endfor %}
\end{itemize}
{% endif %}{% endraw %}

{% raw %}{% if derivation %}
\begin{proof}[Derivation]
{{ derivation }}
\end{proof}
{% endif %}{% endraw %}

{% raw %}{% if conditions %}
\noindent under the conditions:
\begin{enumerate}
{% for condition in conditions %}
\item {{ condition }}
{% endfor %}
\end{enumerate}
{% endif %}{% endraw %}
