순서 없이 움직이는 피규어

순서 없이 움직이는 피규어

이것은 LaTeX로 만드는 첫 번째 문서인데 이미지에 몇 가지 문제가 있습니다.

보시다시피 "Metologia y Procedimiento" 섹션에 그림을 배치했지만 "Marco Teorico" 섹션의 첫 번째 이미지 바로 다음 페이지 상단에 표시됩니다. 다른 포럼/페이지에서 몇 가지 답변을 보았지만 캡션을 제거해야 했지만(내가 이해한 대로) 캡션은 교수님이 요구했습니다.

\documentclass[12pt,letterpaper]{report}

% % %Package loading
\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{gensymb}

다음은 나에게 문제를 일으키는 부분입니다(긴 내용을 피하기 위해 텍스트를 임의의 것으로 대체했습니다).

\section{Marco Teórico}

 Random Paragraph

\begin{figure} 
\centering 
\includegraphics[width=0.57\textwidth]{diferenciales}
\caption[Long caption]{Elemento de fuerza hidrostática sobre una placa plana}
\label{fig: diferenciales}
\end{figure}

\section{Objetivos}

\begin{itemize}
\item Item 1
\item Item 3
\item Item 3
\end{itemize}

\section{Metodología y Procedimiento}

Random paragraph

\begin{figure} 
\centering 
\includegraphics[width=0.4\textwidth]{Equipo}
\caption[Long caption]{Equipo utilizado para la medición de fuerzas hidroestáticas}
\label{fig: equipo}
\end{figure}

\chapter{Datos y Ejemplos del Laboratorio}

미리 감사드립니다.

첫 페이지

두 번째 페이지

답변1

나는 다른 경로로 가서 float에 [H] 옵션을 사용하고 문서에 \usepackage{float}를 추가했습니다.

\begin{figure}[H]
\centering
\includegraphics[width=0.4\textwidth]{Equipo}
\caption[Long caption]{Equipo utilizado para la medición de fuerzas hidroestáticas}
\label{fig: equipo}
\end{figure}

에 대한 두 번째 답변LaTeX에서 그림 및 표와 같은 부동 소수점 환경의 위치에 영향을 미치는 방법은 무엇입니까?나를 이 해결책으로 이끌었습니다.

여기에 이미지 설명을 입력하세요

관련 정보