DokuWiki標準 code

code
ソースコードを書く

c

#include <stdio.h>
int main(void) {
  printf("Hello, world\n");
  return 0;
}

fortran

program hello
  write (*, *) "Hello, world"
  stop
end program

python

  from ASE import Atom
  a = Atom('H', (0, 0 0), tag = 1)

latex

Graph

- M\omega ^2 x_0 {\rm e}^{ - i\omega t}  =  - K\left( x_0 {\rm e}^{ - i\omega t} 
- y_0 {\rm e}^{ - i\omega t} \right)

The following language strings are currently recognized:

asm  bash  cpp        css     dos
freebasic  html       java    javascript  latex  lisp
mysql      objc       pascal  perl        php    python
qbasic     smalltalk  tcl     text        xml    z80
playground/playground2.txt · 最終更新: 2009/02/17 01:33 by kimi
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0