Formatting fixes
This commit is contained in:
+1
-5
@@ -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("\\", "/")}}}}}";
|
||||
}
|
||||
Reference in New Issue
Block a user