Difference between revisions of "Wiki Syntax"

From HPC Wiki
Jump to navigation Jump to search
m
m
Line 8: Line 8:
  
 
{| class="wikitable" style="width: 85%;"
 
{| class="wikitable" style="width: 85%;"
|  
+
| <syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
 
 
user1@blablubb:~/test$ ls datei*
 
user1@blablubb:~/test$ ls datei*
 
datei datei1 datei2 datei3 datei4 datei5 datei6  # Auch 'datei' ohne Nummer
 
datei datei1 datei2 datei3 datei4 datei5 datei6  # Auch 'datei' ohne Nummer
Line 18: Line 17:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
||
+
| <source>
 
 
<source>
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
user1@blablubb:~/test$ ls datei*
 
user1@blablubb:~/test$ ls datei*
Line 32: Line 29:
  
 
|-
 
|-
|
 
  
<syntaxhighlight lang="python">
+
| <syntaxhighlight lang="python">
 
import numpy as np
 
import numpy as np
  
Line 45: Line 41:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
||
+
| <source>
 
 
<source>
 
 
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
import numpy as np
 
import numpy as np
Line 59: Line 53:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
</source>
 
</source>
 
 
|}
 
|}
  

Revision as of 11:42, 21 December 2017

LaTeX Formula

<math> a+b = c</math>

Code Segmente mit Syntax Highlighting:

user1@blablubb:~/test$ ls datei*
datei datei1 datei2 datei3 datei4 datei5 datei6  # Auch 'datei' ohne Nummer
user1@blablubb:~/test$ ls datei?
datei1 datei2 datei3 datei4 datei5 datei6
user1@blablubb:~/test$ ls datei[1-3]          # Wertebereich
datei1 datei2 datei3
<syntaxhighlight lang="bash">
user1@blablubb:~/test$ ls datei*
datei datei1 datei2 datei3 datei4 datei5 datei6  # Auch 'datei' ohne Nummer
user1@blablubb:~/test$ ls datei?
datei1 datei2 datei3 datei4 datei5 datei6
user1@blablubb:~/test$ ls datei[1-3]          # Wertebereich
datei1 datei2 datei3
</syntaxhighlight>
import numpy as np

def main():
    # ========================================================================
    # Initialisation
    # ----- Switches --------------------------------------------------------
    debug=False
    call_gnuplot=False ## call gnuplot automatically generates gnuplot
<syntaxhighlight lang="python">
import numpy as np

def main():
    # ========================================================================
    # Initialisation
    # ----- Switches --------------------------------------------------------
    debug=False
    call_gnuplot=False ## call gnuplot automatically generates gnuplot
</syntaxhighlight>


Pictures:

  1. Make sure you know or have the licenses to the uploaded material and only use it accordingly!!
  2. Upload the picture to the Wiki:
    Upload Picture.PNG
  3. Link the File into the article with
    [[File:ProPE_Logo.png|1000px]]
  4. Format the picture how you like it :)