Fixed alignment of code in Asymptote example
This commit is contained in:
parent
3c273f6d2a
commit
19156d51fa
|
@ -225,7 +225,7 @@ $\sum x^3$ is displayed as-is, like the rest of the text.
|
||||||
As an example, the the code
|
As an example, the the code
|
||||||
|
|
||||||
@scribbleblock|{
|
@scribbleblock|{
|
||||||
@asymptote{
|
@asymptote{
|
||||||
import drawtree;
|
import drawtree;
|
||||||
size(4cm, 0);
|
size(4cm, 0);
|
||||||
TreeNode root = makeNode("let");
|
TreeNode root = makeNode("let");
|
||||||
|
@ -240,7 +240,7 @@ $\sum x^3$ is displayed as-is, like the rest of the text.
|
||||||
draw(root, (0,0));
|
draw(root, (0,0));
|
||||||
shipout(scale(2)*currentpicture.fit());
|
shipout(scale(2)*currentpicture.fit());
|
||||||
}
|
}
|
||||||
}|
|
}|
|
||||||
|
|
||||||
renders as:
|
renders as:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user