Additional environment for Tex export
This commit is contained in:
parent
47f79a9e1d
commit
306f695617
@ -236,6 +236,7 @@ fn tex_export(tree: &TreeNode) -> String {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out.push_str("\\begin{schemabody}\n");
|
||||||
out.push_str("\\begin{schemaprops}\n");
|
out.push_str("\\begin{schemaprops}\n");
|
||||||
for child in children {
|
for child in children {
|
||||||
tex_export_inner(
|
tex_export_inner(
|
||||||
@ -252,6 +253,7 @@ fn tex_export(tree: &TreeNode) -> String {
|
|||||||
out.push_str("\\begin{jsonsample}\n");
|
out.push_str("\\begin{jsonsample}\n");
|
||||||
out.push_str(&format!("\\usebox{{{box_name}}}\n"));
|
out.push_str(&format!("\\usebox{{{box_name}}}\n"));
|
||||||
out.push_str("\\end{jsonsample}\n");
|
out.push_str("\\end{jsonsample}\n");
|
||||||
|
out.push_str("\\end{schemabody}\n");
|
||||||
}
|
}
|
||||||
_ => tex_export_inner(
|
_ => tex_export_inner(
|
||||||
&ObjectChild {
|
&ObjectChild {
|
||||||
|
Loading…
Reference in New Issue
Block a user