Difference between revisions of "Wiki Syntax"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | == LaTeX Formula == | |
+ | {| class="wikitable" style="width: 85%;" | ||
+ | | <math> a+b = c</math> || <<nowiki />math> a+b = c<<nowiki />/math> | ||
+ | |} | ||
+ | |||
+ | == Code Segmente mit Syntax Highlighting: == | ||
+ | |||
+ | {| class="wikitable" style="width: 85%;" | ||
+ | | | ||
+ | <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> | ||
+ | |||
+ | || | ||
+ | |||
+ | <source> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
user1@blablubb:~/test$ ls datei* | user1@blablubb:~/test$ ls datei* | ||
Line 8: | Line 28: | ||
user1@blablubb:~/test$ ls datei[1-3] # Wertebereich | user1@blablubb:~/test$ ls datei[1-3] # Wertebereich | ||
datei1 datei2 datei3 | datei1 datei2 datei3 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | </source> | ||
+ | |- | ||
+ | | | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
− | |||
− | |||
− | |||
import numpy as np | import numpy as np | ||
Line 28: | Line 42: | ||
# ----- Switches -------------------------------------------------------- | # ----- Switches -------------------------------------------------------- | ||
debug=False | debug=False | ||
− | |||
− | |||
call_gnuplot=False ## call gnuplot automatically generates gnuplot | call_gnuplot=False ## call gnuplot automatically generates gnuplot | ||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | || | ||
+ | <source> | ||
+ | <syntaxhighlight lang="python"> | ||
+ | import numpy as np | ||
+ | def main(): | ||
+ | # ======================================================================== | ||
+ | # Initialisation | ||
+ | # ----- Switches -------------------------------------------------------- | ||
+ | debug=False | ||
+ | call_gnuplot=False ## call gnuplot automatically generates gnuplot | ||
+ | </syntaxhighlight> | ||
+ | </source> | ||
− | + | |} | |
− | |||
− |
Revision as of 14:56, 28 August 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> |