Help:Contents: Difference between revisions

From MolWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 51: Line 51:
The example produces the following link: <br />
The example produces the following link: <br />
<jmolFile  text="An example of molecular structure">C26NH28.xyz</jmolFile>
<jmolFile  text="An example of molecular structure">C26NH28.xyz</jmolFile>
<br />
You can also create a window with structure:
<jmol>
<jmolApplet>
<inlineContents>
11
test
F 0.000000000000 -0.000000000000 -1.685455090782
C 0.000000000000 -0.000000000000 -0.385040888542
N -1.006202819407 1.006202819407 0.139899574177
O -1.068429240123 2.026449428610 -0.506881519565
O -1.600251840223 0.695487106176 1.148009747048
N -0.368295793263 -1.374498612670 0.139899574177
O -1.220742064599 -1.938511578398 -0.506881519565
O 0.197816418158 -1.733602299174 1.148009747048
N 1.374498612670 0.368295793263 0.139899574177
O 2.289171304722 -0.087937850212 -0.506881519565
O 1.402435422065 1.038115192997 1.148009747048
</inlineContents>
</jmolApplet>
</jmol>


== Participating in discussion ==
== Participating in discussion ==
Each article has a dedicated discussion page where you can ask questions, find more information on the topic and talk to other people. [http://www.mediawiki.org/wiki/Help:Talk_pages More information] about discussion pages is on MediaWiki site.
Each article has a dedicated discussion page where you can ask questions, find more information on the topic and talk to other people. [http://www.mediawiki.org/wiki/Help:Talk_pages More information] about discussion pages is on MediaWiki site.

Revision as of 11:46, 18 December 2012

Editing pages

The most detailed explanation is given on the corresponding page of MediaWiki. In MolWiki the most important principles are:

  • Please follow the general practice of good scientific writing.
  • Prove your statements by including references to peer reviewed journals.
  • Use preview functionality as much as possible! Try not to save changes just for testing purposes.

Source code

To publish source code with highlighted syntax use code tags with indication of the language type:

<code language>
Your source code goes here...
</code>

The following example is for Fortran:

<code fortran>
C     A Simple program
      program hello
         print *, "Hello World!"
      end program hello
</code>

The result is C A Simple program

     program hello
        print *, "Hello World!"
     end program hello

Mathematical formulae

You can include formulae by using

<math></math>

tags and LaTeX syntax. The example

<math>
  \operatorname{erfc}(x) =
  \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
  \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}
</math>

produces the following output:
<math>

 \operatorname{erfc}(x) =
 \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt =
 \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}}

</math>

You can click on the formula to enlarge it.

Molecular structures

MolWiki.org has a Jmol extension, which can be used to show molecular structures interactively. To create a link to a molecular structure upload a XYZ file and use the jmolFile tag:

<jmolFile  text="An example of molecular structure">C26NH28.xyz</jmolFile>

The example produces the following link:
<jmolFile text="An example of molecular structure">C26NH28.xyz</jmolFile>
You can also create a window with structure:

<jmol>

<jmolApplet>
<inlineContents>
11
test
F 0.000000000000 -0.000000000000 -1.685455090782
C 0.000000000000 -0.000000000000 -0.385040888542
N -1.006202819407 1.006202819407 0.139899574177
O -1.068429240123 2.026449428610 -0.506881519565
O -1.600251840223 0.695487106176 1.148009747048
N -0.368295793263 -1.374498612670 0.139899574177
O -1.220742064599 -1.938511578398 -0.506881519565
O 0.197816418158 -1.733602299174 1.148009747048
N 1.374498612670 0.368295793263 0.139899574177
O 2.289171304722 -0.087937850212 -0.506881519565
O 1.402435422065 1.038115192997 1.148009747048
</inlineContents>
</jmolApplet>

</jmol>

Participating in discussion

Each article has a dedicated discussion page where you can ask questions, find more information on the topic and talk to other people. More information about discussion pages is on MediaWiki site.