feature: caption for tables in LaTeX

This commit is contained in:
Prof. Dr. Matthias Jung DL9MJ
2025-05-15 09:20:27 +02:00
parent 60e8d65e04
commit 5fe7510819
+3
View File
@@ -133,5 +133,8 @@ class FiftyOhmLaTeXRenderer(LaTeXRenderer):
table += r"\\"+ "\n"
table += "\\end{DARCtabular}"
if token.caption != "" :
table += f"\\captionof{{figure}}{{{token.caption}}}\n"
table += f"\\label{{{token.name}}}\n"
return table