<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/iron-flex-layout/iron-flex-layout-classes.html">

<!--<link rel="import" href="mathjax-include.html">-->
<link rel="import" href="math-tex.html">

<dom-module id="tv-exercise-equation">

<template>
<style include="iron-flex"></style>

<style>
:host {
    display: block;
}
</style>

<math-tex display="block" content="{{content}}"></math-tex>

</template>

<script>
Polymer({
    is: 'tv-exercise-equation',
    properties: {
        content: {
        	type: String,
        	value: ""
        }
    }
});
</script>
</dom-module>
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/iron-flex-layout/iron-flex-layout-classes.html">

<!--<link rel="import" href="mathjax-include.html">-->
<link rel="import" href="math-tex.html">

<dom-module id="tv-exercise-equation">

<template>
<style include="iron-flex"></style>

<style>
:host {
    display: block;
}
</style>

<math-tex display="block" content="\begin{align*}{{content}}\end{align*}"></math-tex>

</template>

<script>
Polymer({
    is: 'tv-exercise-equation',
    properties: {
        content: {
        	type: String,
        	value: ""
        }
    }
});
</script>
</dom-module>
Put math in display mode (eq) into the align* environment.
Put math in display mode (eq) into the align* environment.

This allows the writer to typeset aligned equations over multiple lines.
Idea from http://meta.math.stackexchange.com/questions/3514/using-the-align-environment.
