[education/rkward/cheatsheet] rkward/pages: LaTeX and markdown started

Stefan Rödiger null at kde.org
Fri Jun 17 13:09:06 BST 2022


Git commit 7702d557597b2b4cb84e94569fe1a487b1e895af by Stefan Rödiger.
Committed on 17/06/2022 at 12:02.
Pushed by srodiger into branch 'cheatsheet'.

LaTeX and markdown started

A  +22   -0    rkward/pages/rkward_LaTeX_cheatsheet.rkh
M  +2    -0    rkward/pages/rkward_VI_cheatsheet.rkh
A  +147  -0    rkward/pages/rkward_markdown_cheatsheet.rkh
M  +1    -0    rkward/pages/rkward_welcome.rkh

https://invent.kde.org/education/rkward/commit/7702d557597b2b4cb84e94569fe1a487b1e895af

diff --git a/rkward/pages/rkward_LaTeX_cheatsheet.rkh b/rkward/pages/rkward_LaTeX_cheatsheet.rkh
new file mode 100644
index 00000000..e8dd4ea2
--- /dev/null
+++ b/rkward/pages/rkward_LaTeX_cheatsheet.rkh
@@ -0,0 +1,22 @@
+<!DOCTYPE rkhelp>
+<document>
+	<title>LaTeX::Cheat Sheet</title>
+	<summary>
+	LaTeX Style Cheat Sheet
+	</summary>
+
+	<section id="StatisticalSymbols" title="Statistical Symbols">
+
+	</section>
+
+	<section id="Distributions" title="Statistical Distributions">
+
+	</section>
+
+	<related>
+		<ul>
+			<li><link href="rkward://page/rkward_for_r_users"/></li>
+			<li><link href="rkward://page/rkward_shortcuts"/></li>
+		</ul>
+	</related>
+</document>
diff --git a/rkward/pages/rkward_VI_cheatsheet.rkh b/rkward/pages/rkward_VI_cheatsheet.rkh
index cba0892e..511e5bef 100644
--- a/rkward/pages/rkward_VI_cheatsheet.rkh
+++ b/rkward/pages/rkward_VI_cheatsheet.rkh
@@ -3,6 +3,8 @@
 	<title>VI mode::Cheat Sheet</title>
 	<summary>
 	RWard supports VI mode using <link href="https://kate-editor.org/kate-vi-mode/">Kate editor technology</link>. This allows Vim-like edits to be performed in RKWard script windows.
+
+	To enter the VI mode press Ctrl + Alt + V.
 	</summary>
 
 	<section id="VIcommands" title="Supported normal/visual mode commands">
diff --git a/rkward/pages/rkward_markdown_cheatsheet.rkh b/rkward/pages/rkward_markdown_cheatsheet.rkh
new file mode 100644
index 00000000..41f8550d
--- /dev/null
+++ b/rkward/pages/rkward_markdown_cheatsheet.rkh
@@ -0,0 +1,147 @@
+<!DOCTYPE rkhelp>
+<document>
+	<title>markdown::Cheat Sheet</title>
+	<summary>
+	Markdown Cheat Sheet
+	</summary>
+
+	<section id="BasicMarkdownSyntax" title="Basic Syntax">
+            <table>
+        <thead>
+          <tr>
+            <th>Element</th>
+            <th>Markdown Syntax</th>
+            <th>Alternative  Expression</th>
+          </tr>
+        </thead>
+        <tbody>
+          <tr>
+            <td>Heading</td>
+            <td># H1<br>## H2<br>### H3</td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Bold</td>
+            <td>**bold text**</td>
+            <td>__bold text__</td>
+          </tr>
+          <tr>
+            <td>Italic</td>
+            <td>*italicized text*</td>
+            <td>_italicized text_</td>
+          </tr>
+          <tr>
+            <td>Blockquote</td>
+            <td>> blockquote</td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Ordered List</td>
+            <td>1. First item<br>2. Second item<br>3. Third item<br>       </td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Unordered List</td>
+            <td> - First item<br> - Second item<br> - Third item<br>                </td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Code</td>
+            <td>`code`</td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Horizontal Rule</td>
+            <td>---</td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Link</td>
+            <td>[title](https://www.example.com)</td>
+            <td></td>
+          </tr>
+          <tr>
+            <td>Image</td>
+            <td>![alt text](image.jpg)</td>
+            <td></td>
+          </tr>
+        </tbody>
+        </table>
+	</section>
+
+	<section id="Distributions" title="Statistical Distributions">
+	<table>
+<thead>
+  <tr>
+    <th>Distribution</th>
+    <th>LaTeX</th>
+    <th>Result</th>
+  </tr>
+</thead>
+<tbody>
+  <tr>
+    <td>Bernoulli  </td>
+    <td>\Bernoulli  </td>
+    <td>Bern </td>
+  </tr>
+  <tr>
+    <td>Binomial  </td>
+    <td>\Binomial  </td>
+    <td>Bin </td>
+  </tr>
+  <tr>
+    <td>Geometric  </td>
+    <td>\Geometric  </td>
+    <td>Geom </td>
+  </tr>
+  <tr>
+    <td>Hypergeometric  </td>
+    <td>\Hypergeometric </td>
+    <td> H </td>
+  </tr>
+  <tr>
+    <td>Negative Binomial  </td>
+    <td>\NegBin  </td>
+    <td>N egBin </td>
+  </tr>
+  <tr>
+    <td>Poisson  </td>
+    <td>\Poisson  </td>
+    <td>P </td>
+  </tr>
+  <tr>
+    <td>Uniform </td>
+    <td>\Uniform </td>
+    <td>U </td>
+  </tr>
+  <tr>
+    <td>Exponential </td>
+    <td>\Exponential </td>
+    <td>Exp </td>
+  </tr>
+  <tr>
+    <td>Gamma </td>
+    <td>\GAMMA </td>
+    <td>GAM </td>
+  </tr>
+  <tr>
+    <td>Chi-square </td>
+    <td>\chi∧2 </td>
+    <td>χ2 </td>
+  </tr>
+  <tr>
+    <td>Normal </td>
+    <td>\Normal </td>
+    <td>N </td>
+  </tr>
+</tbody>
+</table>
+	</section>
+
+	<related>
+		<ul>
+			<li><link href="rkward://page/rkward_for_r_users"/></li>
+			<li><link href="rkward://page/rkward_shortcuts"/></li>
+		</ul>
+	</related>
+</document>
diff --git a/rkward/pages/rkward_welcome.rkh b/rkward/pages/rkward_welcome.rkh
index bc8aecef..2c38a88f 100644
--- a/rkward/pages/rkward_welcome.rkh
+++ b/rkward/pages/rkward_welcome.rkh
@@ -33,6 +33,7 @@
 	<li>External links: <link href="https://rkward.kde.org/">project homepage</link></li>
 	<li><link href="rkward://page/rkward_Rmarkdown_cheatsheet">Rmarkdown cheat sheet</link></li>
 	<li><link href="rkward://page/rkward_VI_cheatsheet">VI cheat sheet</link></li>
+	<li><link href="rkward://page/rkward_LaTeX_cheatsheet">LaTeX cheat sheet</link></li>
 		</ul>
 	</section>
 </document>


More information about the rkward-tracker mailing list