Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. documentclass[a4paper,12pt,onecolumn]{report}
  2. usepackage{graphicx}
  3. usepackage{wrapfig}
  4.  
  5. begin{document}
  6.  
  7. begin{wrapfigure}[9]{l}{0.25textwidth}
  8. includegraphics[width=0.25textwidth]{figs/Poly}
  9. caption{Wrapfigure used to put this figure here!!}label{fig:right_fig}
  10. end{wrapfigure}
  11. Finally, lets try multi-figure commands and see how it works. An example is shown in Fig.~ref{fig:Multifigure} where we have a $2times2$ image which is inserted by the following code.
  12. begin{verbatim}
  13. begin{figure}
  14. begin{subfigure}{.5textwidth}
  15. centering
  16. includegraphics[width=.9linewidth]{figs/Poly}
  17. caption{} label{fig:Multifigure1}
  18. end{verbatim}
  19.  
  20. To plot data -- either save in a .txt file or some numbers -- using LaTeX, the "pgfplots" package should be added at the preamble. To import data from a .txt file, the "tikz" package should be added, too. The following is an example...
  21. end{document}
  22.  
  23. documentclass[a4paper,12pt,onecolumn]{report}
  24. usepackage{graphicx}
  25. usepackage{wrapfig}
  26.  
  27. begin{document}
  28.  
  29. begin{wrapfigure}[5]{l}{0.25textwidth}
  30. includegraphics[width=0.25textwidth]{Poly}
  31. caption{Wrapfigure used to put this figure here!!}label{fig:right_fig}
  32. end{wrapfigure}
  33.  
  34. Finally, lets try multi-figure commands and see how it works. An example is shown in Fig.~ref{fig:Multifigure} where we have a $2times2$ image which is inserted by the following code.
  35.  
  36. hskip -7mm
  37. begin{minipage}{0.65textwidth}
  38. begin{verbatim}
  39. begin{figure}
  40. begin{subfigure}{.5textwidth}
  41. centering
  42. includegraphics[width=.9linewidth]{figs/Poly}
  43. caption{} label{fig:Multifigure1}
  44. end{verbatim}
  45. end{minipage}
  46.  
  47. To plot data -- either save in a .txt file or some numbers -- using LaTeX, the "pgfplots" package should be added at the preamble. To import data from a .txt file, the "tikz" package should be added, too. The following is an example...
  48. end{document}
  49.  
  50. documentclass[a4paper,12pt,onecolumn]{report}
  51. usepackage{graphicx}
  52. usepackage{wrapfig}
  53. usepackage{showframe}
  54. usepackage{fancyvrb}
  55.  
  56. begin{document}
  57.  
  58. begin{wrapfigure}[9]{l}{0.25textwidth}
  59. includegraphics[width=0.25textwidth]{example-image}
  60. caption{Wrapfigure used to put this figure here!!}label{fig:right_fig}
  61. end{wrapfigure}
  62. Finally, lets try multi-figure commands and see how it works. An example is shown in Fig.~ref{fig:Multifigure} where we have a $2times2$ image which is inserted by the following code.
  63. begin{Verbatim}
  64. begin{figure}
  65. begin{subfigure}{.5textwidth}
  66. centering
  67. includegraphics[width=.9linewidth]{figs/Poly}
  68. caption{} label{fig:Multifigure1}
  69. end{Verbatim}
  70.  
  71. To plot data -- either save in a .txt file or some numbers -- using LaTeX, the "pgfplots" package should be added at the preamble. To import data from a .txt file, the "tikz" package should be added, too. The following is an example...
  72. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement