File:Latex-algorithmic-if-else.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 482 pixels. Other resolutions: 320 × 193 pixels | 640 × 385 pixels | 1,024 × 616 pixels | 1,329 × 800 pixels.
Original file (1,329 × 800 pixels, file size: 58 KB, MIME type: image/png)
File information
Structured data
Captions
Summary[edit]
DescriptionLatex-algorithmic-if-else.png |
English: Image of the example code from wikibooks:en:LaTeX/Algorithms_and_Pseudocode#Typesetting_using_the_algorithmic_package |
Source | Own work |
Author | Nemti |
Produced by the following:
$ cat algorithm.tex \documentclass[12pt]{article} \usepackage{algorithmic} \usepackage[right=8cm]{geometry} \usepackage[active,pdftex,tightpage]{preview} \PreviewEnvironment[]{algorithmic} \begin{document} \begin{algorithmic} \IF {$i\geq maxval$} \STATE $i\gets 0$ \ELSE \IF {$i+k\leq maxval$} \STATE $i\gets i+k$ \ENDIF \ENDIF \end{algorithmic} \end{document} $ pdflatex algorithm.tex ... $ pdftoppm -r 600 algorithm.pdf algorithm $ convert algorithm-1.ppm latex-algorithmic-if-else.png
Licensing[edit]
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:32, 24 March 2009 | 1,329 × 800 (58 KB) | Nemti (talk | contribs) | {{Information |Description={{en|1=Image of the example code from wikibooks:en:LaTeX/Algorithms_and_Pseudocode#Typesetting_using_the_algorithmic_package}} |Source=Own work by uploader |Author=Nemti |Date= |Permission= |other_versions= }} |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikibooks.org
- Usage on nl.wikibooks.org
- Usage on ro.wikibooks.org
- Usage on sr.wikibooks.org
- Usage on sw.wikipedia.org
Hidden categories: