Difference between revisions of "Useful Examples"

From Planets
Jump to: navigation, search
 
(8 intermediate revisions by 5 users 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 ==
 +
*Name of the files: ''italic''
 +
 
== To Edit Sidebar (as admin only!!!) ==
 
== To Edit Sidebar (as admin only!!!) ==
 
Go to [[MediaWiki:Sidebar]]
 
Go to [[MediaWiki:Sidebar]]
Line 43: Line 48:
 
* Some special features:
 
* Some special features:
 
Link to the internal page with all special features: [[Special:Version]]
 
Link to the internal page with all special features: [[Special:Version]]
 +
 +
Link to find out what other pages link to a given one: [[Special:WhatLinksHere]]
  
 
* Examples of Syntax Highlighting:
 
* Examples of Syntax Highlighting:
Line 69: Line 76:
 
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 ==
# 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:
+
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):
 
<pre>
 
<pre>
 
[[Link_To_Some_Page|some descriptive text]]
 
[[Link_To_Some_Page|some descriptive text]]
Line 78: Line 89:
 
[[Link_To_Some_Page|some descriptive text]]
 
[[Link_To_Some_Page|some descriptive text]]
  
# Look for it via the searh 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
+
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 LMD Generic GCM 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
  
https://web.lmd.jussieu.fr/~lmdz/planets/LMDZ.GENERIC/ManualGCM_GENERIC.pdf
+
Well... actually that pdf is quite obsolete, the info in this MediaWiki is much more up to date.
  
or even better, the one on the trac which is what is on svn and thus will always be up to date:
+
[[Category:FAQ]]
https://trac.lmd.jussieu.fr/Planeto/browser/trunk/LMDZ.GENERIC/ManualGCM_GENERIC.pdf
 

Latest revision as of 17:40, 12 June 2026

This page is to help and give some examples and guidelines to the editors of this wiki.

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

Link to find out what other pages link to a given one: Special:WhatLinksHere

  • 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.

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

Well... actually that pdf is quite obsolete, the info in this MediaWiki is much more up to date.