7 Extra Tips
Simple tables can also be made in this way:
| Name | Value | Units |
|---|---|---|
| x | 2 | meters |
| y | 3 | cm |
| z | 5 | seconds |
It is possible to insert a figure into a table:
| Name | Value | Units |
|---|---|---|
| x | 2 | meters |
| y | 3 | cm |
| slide rule | 4058 | ![]() |
| z | 5 | seconds |
Notice how the “:”s are used to determine the justification of the columns.
By leaving the column labels blank, one can put pictures side-by-side and make nice displays on the page:
![]() |
4058 images | ![]() |
If you just put

then the picture will take up the whole width of the page. You can make it smaller this way:

but the image will be left-justified on the page; to center it do this:

(Reminder: Look at the .Rmd file to see what we did here!)