From 706902983a90866fe2fba557e13656ba93b53ffe Mon Sep 17 00:00:00 2001 From: Hasan al Rasyid Date: Sat, 19 Mar 2022 17:28:40 +0900 Subject: [PATCH] diagram DONE --- manuscript.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manuscript.md b/manuscript.md index 50ecfad..4ce1211 100644 --- a/manuscript.md +++ b/manuscript.md @@ -387,15 +387,16 @@ Above paragraph was included from `include/addition1.md`. We can include a diagram script, following an Embedded domain-specific Language from Haskell package [`diagrams`](https://hackage.haskell.org/package/diagrams). The implementation of following CodeBlock can be seen at Figure \ref{fig:dia1}. +Please be aware that the `width` will be considered as a multiplier from `\textwidth`. ``` -~~~{#fig:dia1 .diagram width=100 caption="dia"} +~~~{#fig:dia1 .diagram width=0.8 caption="dia"} let x = circle 10 in x ~~~ ``` -~~~{#fig:dia1 .diagram width=100 caption="from Diagrams"} +~~~{#fig:dia1 .diagram width=0.8 caption="from Diagrams"} let t = circle 100 in t ~~~