feature: caption for tables in LaTeX
This commit is contained in:
@@ -133,5 +133,8 @@ class FiftyOhmLaTeXRenderer(LaTeXRenderer):
|
|||||||
table += r"\\"+ "\n"
|
table += r"\\"+ "\n"
|
||||||
|
|
||||||
table += "\\end{DARCtabular}"
|
table += "\\end{DARCtabular}"
|
||||||
|
if token.caption != "" :
|
||||||
|
table += f"\\captionof{{figure}}{{{token.caption}}}\n"
|
||||||
|
table += f"\\label{{{token.name}}}\n"
|
||||||
|
|
||||||
return table
|
return table
|
||||||
|
|||||||
Reference in New Issue
Block a user