Graphics, Figures & TablesPictures out of Line on Page Break

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
71GA
Posts: 5
Joined: Fri Aug 27, 2010 8:40 pm

Pictures out of Line on Page Break

Post by 71GA »

Hello.

First hello everybody, I am new on this forum and this is my first post. I get this problem, when pictures get out of line when they reach new page. I am sure it is an easy fix, but i dont know how to do it. My code is:

Code: Select all

\begin{center}
\includegraphics[width=6cm,keepaspectratio=true]{../raziskava/01.png}\\
\includegraphics[width=6cm,keepaspectratio=true]{../raziskava/02.png}\\ 
\includegraphics[width=6cm,keepaspectratio=true]{../raziskava/03.png} 
\end{center}
I have attached a screenshot showing the problem.
Attachments
outofline.png
outofline.png (26.68 KiB) Viewed 1299 times
Last edited by localghost on Thu Jul 07, 2011 1:43 pm, edited 1 time in total.

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

71GA
Posts: 5
Joined: Fri Aug 27, 2010 8:40 pm

Pictures out of Line on Page Break

Post by 71GA »

I figured it out. My problem was, that i chose book as a document class and LaTeX was mooving one side left and one right in order to create a paper book in the end. I solved my problem by simply choosing another document class, which allso suports chapters. And i chose report.

Best wishes, Ziga.
Post Reply