Advertisement
c00p3r22

Inserting figures using latex syntax

Nov 18th, 2019
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.29 KB | None | 0 0
  1. % FIGURE INSERTION IN OVERLEAF PLATFORM%
  2.  
  3. % 1- In Overleaf click on "New Folder" to create a folder. This folder will be used to insert the pictures of your project.
  4. % 2- After creating this folder right click on it and click "Upload File" to insert the desired picture.
  5. % 3- After inserting the desired picture, use the syntax a below. The only change that should be made to syntax is in the image directory.
  6.  
  7. % Example: If your folder is named "Figures" and your illustration is named "Statistics", the syntax should be:
  8. % \ includegraphics [width = 15cm] {Figures/Statistics.png}
  9. % Width resizes the picture size.
  10.  
  11. % Some options for <position>
  12. % [h] places the picture at the position (here) where the picture environment was defined. There is not always room for this.
  13. % [t] places the figure at the top of the page (default option).
  14. % [b] places the figure at the bottom of the page (botton). There is not always room for this.
  15. % [!] places the picture in the best possible position (can be used with other options [! htb]).
  16.  
  17. % More At: pastebin.com/u/c00p3r22
  18.  
  19. \begin {figure} [h]
  20. \caption {NAME OF YOUR PICTURE} % Give your picture name
  21.  
  22. \centering% to center the figure
  23. \includegraphics [width = 15cm] {Directory/image.png} % LATEX PICTURE DIRECTORY
  24. \label {picture:name}
  25. \end {figure}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement