Creating an article: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
== To create a new page ==
== Creating a new page ==
*first go to the page that your new page will be linked to.
*insert there the name of the new page as a Wiki link
*click on the new link to edit the new page that was just created


* you need an [[Creating an account|account]] for that
* first go to the page that your new page will be linked to, and edit it
* insert there the name of the new page, and mark as an 'Internal link' using the toolbar
* click on the new link (red letters) to edit the new page that was just created


== To compose a new page, or change an existing page ==
== Composing a new page, or changing an existing page ==
Just type in text and use the formatting toolbar! It's simple - just look at source code of existing pages.
* you need an [[Creating an account|account]] for that 
 
* just type your text into the edit window and use the toolbar for formatting. It's simple - just look at source code of existing pages.
Hint: OpenOffice 2.3 has a MediaWiki export filter, so you can use OO Writer for formatting and then export that.
* Hint: OpenOffice 2.3 has a MediaWiki export filter, so you can use OO Writer for formatting and then export that.


===generating a box of source code (e.g. to show a script or input file for a program)===
===generating a box of source code (e.g. to show a script or input file for a program)===
Line 32: Line 32:
F_{hkl} = \sum_{i=1}^{N} e^{-2\pi\imath\left( h\frac{x}{a}+k\frac{y}{b}+l\frac{z}{c}\right)}
F_{hkl} = \sum_{i=1}^{N} e^{-2\pi\imath\left( h\frac{x}{a}+k\frac{y}{b}+l\frac{z}{c}\right)}
</math>
</math>
=== figures ===
... can be uploaded and linked to


== Further (authoritative) reading ==
== Further (authoritative) reading ==


Please consult  [http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia Editing] and [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Text formatting].
Please consult  [http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia Editing] and [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Text formatting].

Revision as of 19:54, 10 February 2008

Creating a new page

  • you need an account for that
  • first go to the page that your new page will be linked to, and edit it
  • insert there the name of the new page, and mark as an 'Internal link' using the toolbar
  • click on the new link (red letters) to edit the new page that was just created

Composing a new page, or changing an existing page

  • you need an account for that
  • just type your text into the edit window and use the toolbar for formatting. It's simple - just look at source code of existing pages.
  • Hint: OpenOffice 2.3 has a MediaWiki export filter, so you can use OO Writer for formatting and then export that.

generating a box of source code (e.g. to show a script or input file for a program)

Simply introduce a blank at the start of a line. To avoid interruptions of the box, empty lines must start with a blank as well. Example:

shelxc pulg<<eof
INFL  D22-ip.hkl
HREM  D22-rh.hkl
CELL 85.71 85.71 145.34  90 90 120
SPAG P6522 
MAXM 2
eof

mathematical formulas

... are typeset with LaTeX: [math]\displaystyle{ 2 = \left( \frac{\left(3+y-x\right) \times 2}{3-x} \right) }[/math]

[math]\displaystyle{ F_{hkl} = \sum_{i=1}^{N} e^{-2\pi\imath\left( h\frac{x}{a}+k\frac{y}{b}+l\frac{z}{c}\right)} }[/math]

figures

... can be uploaded and linked to

Further (authoritative) reading

Please consult Editing and Text formatting.