===== General rules for creating the ZMITAC DokuWiki document. v.1.0 =====
==== Overview ====
Those are hints for authors. Use with care ;-). Following this guide may simply introduce you to the Dokuwiki capabilities along with this special installation that covers extra plugins like Captions with references and automated numbering, math equations, etc.
===== Chapters and headers =====
Place top chapter (header level 1) title in five equation chars:
===== Title =====
==== Subchapter ====
Subchapters of first level (header level 2) need four equation marks, second level (header level 3) – three and so on:
==== Subchapter ====
Do not use any font modifiers to the title. We assume that three levels of subchapters should be enough (four total, including top level chapter).
==== References ====
References should appear in the text as footnotes. ((Reference))
==== Figures ====
Figures with their captions should be placed using the [[http://www.till-biskup.de/de/software/dokuwiki/caption|Caption plug-in]], i.e.:
Internal references to figures should be done with the figure number using [[http://www.till-biskup.de/de/software/dokuwiki/caption|Caption plug-in]] sytnax, i.e.:
As shown on Figure {{ref>RefPic1}}
Figure {{ref>Ref.Pic.1}}
Note - when you insert a new figure, you must give it an unique name, here Ref.Pic.1, right by the HTML tag figure (default is label) then you can refer to is as in regular HTML.
==== Tables ====
Tables with their captions should be placed using the [[http://www.till-biskup.de/de/software/dokuwiki/caption|Caption plug-in]]:
caption
^ Header 1 ^ Header 2 ^
| cell 1 | cell 2|
| cell span ||
==== Equations ====
Mathematical equations are supported via [[https://www.dokuwiki.org/plugin:mathpublish|Mathpublish plugin]].
To toggle the Math mode use
E=mc^2
Equation alignment is given by front, end or both spaces, as images. A 18 number by the ...%%
Code example here
’’printf(“something”);’’
==== Important information ====
Tips, warnings, tricks and important facts should be introduced using [[https://www.dokuwiki.org/plugin:note|note plugin]], classified as:
regular note on something
warning information
some useful tip for reades
and some important information
==== Description of programming environment ====
=== Navigating in the menu ===
While you write about menu options in software applications – write names of options in italic, i.e. like this one //home/file/open//
Option and suboption chains write with “/” (slash) character
//home/file/open//
=== Buttons ===
Write names of the buttons in square brackets, in bold.
**[open]**
**[open]**
=== Variables ===
Names of variables referred from the program code write in italic, i.e. //Integer val1//.
//variable//
==== Citing ====
Whole sentences cited write within parenthesis “I love DokuWiki.”, simply by:
“I love DokuWiki.”
==== Comments in the pages ====
When yo need some text to be hidden for audience but let it exist there, use [[https://www.dokuwiki.org/plugin:comment|comment plugin]], similar to the source code comments.
Simply put the text of the comment between slash-asterisk and asterisk-slash combination:
This is an example of the sentence whereas /*this text*/ is hidden
This is an example of the sentence whereas /*this text*/ is hidden