| ... | ... | @@ -70,3 +70,27 @@ Tables in LaTeX are quite intimidating at first, but once you learn them you can |
|
|
|
```
|
|
|
|
|
|
|
|
This code snippet creates a 3x3 table without any separator lines and the cells centered. Documentation for creating more complex tables can be found at: https://www.overleaf.com/learn/latex/Tables
|
|
|
|
|
|
|
|
## Images
|
|
|
|
|
|
|
|
There are multiple ways of adding images into your document using LaTeX. However, we have created a custom command so that the formatting of the image suits the JAMK guidelines automatically. To add an image into the document, it has to exist in a locatable path. I personally recommend that you create a directory called "images" into the same directory that you are working on the document with. This way you can insert images effortlessly by referring to them as ```images/image1.png```.
|
|
|
|
|
|
|
|
Adding an image is done via the ```\jamkfigure``` command. Below you can find an example
|
|
|
|
|
|
|
|
```
|
|
|
|
\jamkfigure[2in]{images/image1.png}{This is a caption}{fig:image1}
|
|
|
|
|
|
|
|
[2in] - the size of the image. You can modify this to suit your needs
|
|
|
|
{images/image1.png} - refers to the path of the image you want to add
|
|
|
|
{This is a caption} - is the caption that is inserted below the image with a running number
|
|
|
|
{fig:image1} - The tag that can be used within the text to refer to the image - just like with citations!
|
|
|
|
```
|
|
|
|
|
|
|
|
If, however, this method does not suit your needs when it comes to adding images, you can refer to https://www.overleaf.com/learn/latex/Inserting_Images for more help!
|
|
|
|
|
|
|
|
**NOTE:** Latex supports almost every common image and vector format with appropriate
|
|
|
|
packages. Vector formats such as ```.eps``` or ```.pdf``` (with an embedded vector image) are highly recommended.
|
|
|
|
|
|
|
|
For pictures that can not be vectorized, ```.png``` format is recommended. You
|
|
|
|
may also use ```.jpeg``` for photographs. Note, that if you require accurate
|
|
|
|
reproduction of colors in print, you may need to use CMYK colors, and worry about different gamuts. |
|
|
\ No newline at end of file |