Page LayoutSplit included Graphics

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
kornaros
Posts: 40
Joined: Wed Nov 30, 2011 12:11 am

Split included Graphics

Post by kornaros »

I have to comment some scanned (A4 size) old book in maths. The problem is the following. I start an A4 LaTeX document. Then I insert some comments (lets say 5-10 lines of text) and then put the fist A4 photo exactly under the comments. Then I continue with some new comments and then insert the next scanned page.... Is it possible to define a new command let say of the form \split{image.jpg} or \split["splitting point"]{image.jpg} that automatically splits the scanned page "image.jpg" to the current and to the next page (maybe without any loss of information i.e some parts of the image.jpg near the "splitting point" are duplicated in the next page) or manually splits the photo at the "splitting point"?

Thanks

Charis

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Split included Graphics

Post by localghost »

The graphicx package offers some options to cut and clip included graphics to the desired part (like trim or viewpoint). So you can include the same graphics file with different segments.


Thorsten
kornaros
Posts: 40
Joined: Wed Nov 30, 2011 12:11 am

Re: Split included Graphics

Post by kornaros »

Thanks for your replay! Is it possible to make this automatically with the help of a new command like \split{image.jpg} ? If I understand well the command has to measure the horizontal space left from the point where I want to insert the image.jpg to the bottom of the current page so that to use it to properly split the image in two parts. Is it possible to have such a distance?
Post Reply