Difference between revisions of "Useful Examples"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | This page is to help and give some examples and guidelines to the editors of this wiki. | ||
+ | |||
== Editing convention == | == Editing convention == | ||
*Name of the files: ''italic'' | *Name of the files: ''italic'' | ||
Line 72: | Line 74: | ||
echo 'hello planeto world' | echo 'hello planeto world' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | You can also embed some <code>code box</code> within the text. | ||
+ | |||
+ | * This page sums up a lot of formatting commands you can use as editor : https://m.mediawiki.org/wiki/Help:Formatting | ||
== How to create a new page == | == How to create a new page == |
Latest revision as of 16:27, 2 November 2023
This page is to help and give some examples and guidelines to the editors of this wiki.
Contents
Editing convention
- Name of the files: italic
To Edit Sidebar (as admin only!!!)
Go to MediaWiki:Sidebar
To write some LateX
See e.g. LMDZPedia And check out this page in "edit" mode! $$\newcommand{\Re}{\mathrm{Re}\,} \newcommand{\pFq}[5]{{}_{#1}\mathrm{F}_{#2} \left( \genfrac{}{}{0pt}{}{#3}{#4} \bigg| {#5} \right)}$$
We consider, for various values of $$s$$, the $$n$$-dimensional integral \begin{align} \label{def:Wns} W_n (s) &:= \int_{[0, 1]^n} \left| \sum_{k = 1}^n \mathrm{e}^{2 \pi \mathrm{i} \, x_k} \right|^s \mathrm{d}\boldsymbol{x} \end{align} which occurs in the theory of uniform random walk integrals in the plane, where at each step a unit-step is taken in a random direction. As such, the integral \eqref{def:Wns} expresses the $$s$$-th moment of the distance to the origin after $$n$$ steps.
By experimentation and some sketchy arguments we quickly conjectured and strongly believed that, for $$k$$ a nonnegative integer \begin{align} \label{eq:W3k} W_3(k) &= \Re \, \pFq32{\frac12, -\frac k2, -\frac k2}{1, 1}{4}. \end{align}
Appropriately defined, \eqref{eq:W3k} also holds for negative odd integers. The reason for \eqref{eq:W3k} was long a mystery, but it will be explained at the end of the paper.
Miscellaneous
- HTML like syntax works! e.g. comments with
<!-- This is a comment in the page --> which you see because between "pre" tags
- Some special features:
Link to the internal page with all special features: Special:Version
- Examples of Syntax Highlighting:
Some Fortran Code:
1 program truc
2 implicit none
3 integer :: i
4 do i=1,10
5 write(*,*) "i=",i," for each hello planeto world"
6 end do
7 end program
Some Python Code:
1 import numpy
2 import matplotlib as plt
3 for i in range(0,5,1):
4 print('hello planeto world")
5 plt.show()
Some bash code:
1 echo 'hello planeto world'
You can also embed some code box
within the text.
- This page sums up a lot of formatting commands you can use as editor : https://m.mediawiki.org/wiki/Help:Formatting
How to create a new page
Option 1: Make a link to that page from a currently existing page, and when you click on that link (will be displayed in red as the system notices that it is a broken link) and the system will ask you if you want to create the page. A reminder on how to add (code-wise) a link to another MediaWiki page (try to follow CamelCase formatting, see option 2 below):
[[Link_To_Some_Page|some descriptive text]]
which will be rendered as: some descriptive text
Option 2: Look for it via the search bar! Advice: you should use CamelCase formating (with a "_" between words) as this page name will end up also being the title of the page (with the "_" replaced by spaces), e.g. The_Best_Page_Ever
Link to the Generic PCM user manual
link to the one on the trac which is what is on svn and thus will always be up to date: https://trac.lmd.jussieu.fr/Planeto/browser/trunk/LMDZ.GENERIC/ManualGCM_GENERIC.pdf