(Please don't move my post to Tex, I can't post image there.) I have a long UML diagram, I use the following code. The figure is about two and a half page long, but only the first page is showing, and the lower part of the figure is missing. How do I display the whole diagram in multiple page?
Exactly what code should I add?
\usepackage{graphicx}
......
\includegraphics[height= 81.3cm, width=18cm]{myImage.png}
\captionof{figure}{Sequence Diagram}
Screenshot:
You can use the viewport
option of \includegraphics
to display a specific portion of the image. By using this command three times you can display your image in three portions.
The viewport
option takes 4 arguments:
For example, the command \includegraphics*[viewport=0 0 100 100]{myImage.png}
would display the bottom-left corner of the image. Note that you need the *
in order to actually crop the image; otherwise it will only be shifted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With