[education/rkward] rkward: added includegraphics{}
Stefan Rödiger
null at kde.org
Thu Jul 7 07:01:27 BST 2022
Git commit 4cdef0f82cc62b1bdb31ec7bcf63c6786b9c50bc by Stefan Rödiger.
Committed on 07/07/2022 at 05:54.
Pushed by srodiger into branch 'master'.
added includegraphics{}
M +12 -0 rkward/RKWardLaTeX.xml
https://invent.kde.org/education/rkward/commit/4cdef0f82cc62b1bdb31ec7bcf63c6786b9c50bc
diff --git a/rkward/RKWardLaTeX.xml b/rkward/RKWardLaTeX.xml
index 4dd3a238..0627c68b 100644
--- a/rkward/RKWardLaTeX.xml
+++ b/rkward/RKWardLaTeX.xml
@@ -103,4 +103,16 @@ function rangeCommand(command, def) {
<match>Fraction (inline)</match>
<fillin>$\frac{A}{x + \frac{1}{x}}$</fillin>
</item>
+ <item>
+ <match>Image</match>
+<fillin>
+Figure \ref{fig:my_image} shows an example of a referenced image.
+
+\begin{figure}[ht]
+ \includegraphics{figure/image.png}
+ \caption{This is a figure with references.}
+ \label{fig:my_image}
+\end{figure}
+</fillin>
+ </item>
</snippets>
More information about the rkward-tracker
mailing list