diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-14 12:35:54 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-14 12:35:54 +0200 |
commit | cb69f52e2de94363061a23899660999d3ca64dbb (patch) | |
tree | e4c9303c37ebc807a805c036a182ddf9462af948 | |
parent | 3edf2b6be4945efbfe3e8e6604ac06067e633d35 (diff) |
Algorithme: prendre en charge les algorithmes itératifs1.2.4
-rw-r--r-- | latex/algorithm.xsl | 10 |
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>
</xsl:text> </xsl:template> + <xsl:template match="alg:initialisation"> + <xsl:text>\State \textbf{Initialisation~:}
</xsl:text> + <xsl:apply-templates /> + </xsl:template> + + <xsl:template match="alg:itération"> + <xsl:text>\State \textbf{Itération jusqu’à convergence~:}
</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> |