summaryrefslogtreecommitdiff
path: root/latex/algorithm.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'latex/algorithm.xsl')
-rw-r--r--latex/algorithm.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/latex/algorithm.xsl b/latex/algorithm.xsl
index 138419f..66d3754 100644
--- a/latex/algorithm.xsl
+++ b/latex/algorithm.xsl
@@ -39,6 +39,16 @@
<xsl:text>&#xA;</xsl:text>
</xsl:template>
+ <xsl:template match="alg:initialisation">
+ <xsl:text>\State \textbf{Initialisation~:}&#xA;</xsl:text>
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="alg:itération">
+ <xsl:text>\State \textbf{Itération jusqu’à convergence~:}&#xA;</xsl:text>
+ <xsl:apply-templates />
+ </xsl:template>
+
<xsl:template match="alg:state[count(ancestor::alg:state) = 0]" mode="state-index">
<xsl:value-of select="1 + count(preceding-sibling::alg:state)" />
</xsl:template>