Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. documentclass[11pt,a4paper]{report}
  2. usepackage{
  3. subfigure,
  4. }
  5.  
  6. begin{document}
  7. begin{figure}[htb]
  8. small
  9. centering
  10. subfigure[label{fig:sub1}This is the first subfigure.]
  11. {
  12. centering
  13. small
  14. begin{tabular}{l}
  15. First sub figure
  16. end{tabular}
  17. }
  18. \
  19. centering
  20. small
  21. subfigure[label{fig:sub2} Second subfigure.]
  22. {
  23. centering
  24. small
  25. begin{tabular}{l c*{2}{p{0.2cm}}}
  26. $a$& 1 & 1 \
  27. $b$ & 2& 2 \
  28. end{tabular}
  29. }
  30. \
  31. centering
  32. small
  33. subfigure[label{fig:sub3} Third subfigure.]
  34. {
  35. centering
  36. small
  37. begin{tabular}{l c*{2}{p{0.2cm}}}
  38. $a$& 1 & 1 \
  39. $b$ & 2& 2 \
  40. end{tabular}
  41. }
  42. caption{label{figure} This figure has 3 subfigures.}
  43. end{figure}
  44. end{document}
  45.  
  46. documentclass[11pt,a4paper]{report}
  47. usepackage{subfig}
  48.  
  49. begin{document}
  50. begin{figure}[htb]
  51. small
  52. centering
  53. subfloat[label{fig:sub1}This is the first subfigure.]
  54. {%
  55. makebox[.4textwidth]{begin{tabular}{l}
  56. First sub figure
  57. end{tabular}}%
  58. }
  59. \
  60. subfloat[label{fig:sub2}Second subfigure.]
  61. {%
  62. makebox[.4textwidth]{begin{tabular}{l c*{2}{p{0.2cm}}}
  63. $a$& 1 & 1 \
  64. $b$ & 2& 2 \
  65. end{tabular}}%
  66. }
  67. \
  68. subfloat[label{fig:sub3}Third subfigure.]
  69. {%
  70. makebox[.4textwidth]{begin{tabular}{l c*{2}{p{0.2cm}}}
  71. $a$& 1 & 1 \
  72. $b$ & 2& 2 \
  73. end{tabular}}%
  74. }
  75. caption{label{figure} This figure has 3 subfigures.}
  76. end{figure}
  77. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement