You are not logged in.

#1 2013-12-25 11:37:01

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

[Latex] how to force images to stay in order after text

Hello.

I've got some problems with Latex. For example I have this code.

Le informazioni provenienti dai sensori mostrano chi si sta allenando e chi no. L'applicazione darà una rappresentazione visiva di ciò mostrando una cornice verde intorno agli avatar degli utenti attivi e rossa intorno a quelli degli utenti inattivi.

\begin{figure}
  \centering
  \includegraphics[width=90mm]{/home/egidio/documents/laurea/img/design-2.png}
  \caption{Design 1: social}
\end{figure}

Dato che i sensori sono impegnati a rilevare chi si sta esercitando, le informazioni sullo stato delle attività vengono inserite manualmente.

I get a PDF file where all the images are placed at the end of the document, one per page.
I need that order of images and text be respected, cause text refers next images.

Do you know how can I get it?

Offline

#2 2013-12-25 12:49:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [Latex] how to force images to stay in order after text

Use the float placement options \begin{figure}[<options>].  In this case it sounds like you want the image "here":

\begin{figure}[h]
   \centering
...

Or if that doesn't do it, you can use [h!]


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB