Ecommerce, SEO, Gadgets, Mac und Internet Themen

LaTeX Algorithmenbeschreibung einfügen

Kategorie: LaTeX Autor: bei Google+

latex textsatz logoThe algorithm and the algorithmic environments

The algorithm package provides two environments, algorithm and algorithmic, to represent algorithms, pseudo-codes, program-lists,…,etc., in a professional way.

1. you must use the ‘algorithm’ and ‘algorithmic’ as follows:

\usepackage{algorithm}
\usepackage{algorithmic}

2. the following is a example of these two environments:

\begin{algorithm}
\caption{Super Algorithm} \label{SuperAlg}
\begin{algorithmic} [1]
\STATE i=0 \IF{$P=NP$} \STATE Run algorithm \STATE Print result
\ELSE \STATE print “Sorry, that would take too long” \ENDIF
\end{algorithmic}
\end{algorithm}

im Original von newslab

technorati tags:,



Bewertungen für: LaTeX Algorithmenbeschreibung einfügen
1 Sterne2 Sterne3 Sterne4 Sterne5 Sterne (Keine Bewertungen bisher)
Loading ... Loading ...

Das könnte noch interessant sein:




Magst Du mit mir und Anderen über dieses Thema diskutieren? Schreib doch etwas ins Kommentar und lass uns darüber reden!


wpSEO optimiert Blogs für Suchmaschinen - automatisch und effizient.
Viktor Dite Mizine on Twitter Viktor Dite on Google+