Formatting fixes

This commit is contained in:
Simon
2024-01-15 00:05:04 +01:00
parent 22800639d0
commit b21afe6121
45 changed files with 434 additions and 4016 deletions
@@ -86,9 +86,5 @@ public class LatexIncludeDocumentGenerator : DocumentGeneratorBase
#endregion
public override string FormatImage(string path, IBounds? bounds = default) => @$"
\begin{{figure}}[ht]
\centering
\fbox{{\includegraphics[width=.7\textwidth]{{{path}}}}}
\end{{figure}}";
public override string FormatImage(string path, IBounds? bounds = default) => @$"\includegraphics[width=3cm,height=2cm,keepaspectratio]{{\detokenize{{{"include/" + path.Replace("\\", "/")}}}}}";
}