Alignment
Global
By default, the generated images appears centered.
You can change default behavior by setting the variable align
in table preprocesso.pikchr
at your book.toml
file .
If you would prefer that the pictures be left-justifed, put the value "left"
.
If you would prefer that the pictures be right-justifed, put the value "right"
.
The value "center"
also possible, but it will do nothing.
Per-picture
Additionaly you can control alignment for individual picture by adding similar keyword after the pikchr
class tag.
Thus:
```pikchr,left
box "left" radius 10px fill white
```
Results in the following:
Then:
```pikchr,center
box "center" radius 10px fill white
```
Results in the following:
And:
```pikchr,right
box "right" radius 10px fill white
```
Reults in the following: