SCfigure vuela alrededor

SCfigure vuela alrededor

He utilizado el SCfigureentorno para hacer un título lateral. El título/comentario funciona muy bien, pero la imagen no está ubicada donde quiero que esté. Por ejemplo, me gustaría acoplar la siguiente imagen debajo del subtítulo (4.4.3.....)

ingrese la descripción de la imagen aquí

Aquí está el código

\subsubsection*{4.4.3 Variance-covariance propagation: some examples}
\begin{SCfigure}[\sidecaptionrelwidth][!htb]
\centering
\includegraphics[scale=0.65]{E:/CloudStore/Dropbox/3SM/AdjOne/PicSet/4_43a.jpg}
\caption{\minibox{Angles $\alpha$ $\&$ $\beta$ have been measured with \\ standard deviation of $s_\alpha=s_\beta=1$ mgon \\
\\ Compute the Standard Deviation $S_\gamma$}}
\end{SCfigure}

Saludos SL

Respuesta1

Dado que SCfiguredefine un objeto flotante, flotará según los algoritmos implementados en LaTeX. Puedes intentar restringir el posicionamiento usando el segundo argumento opcional (como ya lo estás haciendo), pero esto no obligará a LaTeX a colocar la figura exactamente donde quieras en todos los casos.

En el código siguiente muestro una opción; También hice algunos cambios en su código: no es necesario usar a minipagepara componer el título estrecho (además, no estaba usando la sintaxis correcta para minipage; es un entorno con un argumento obligatorio (el ancho)); en su lugar, utilice la raggedrightopción para sidecap, de modo que los títulos de los lados angostos se muestren automáticamente irregulares.

Además, ¿por qué numeras las subsecciones a mano? Deje que LaTeX haga la numeración automática por usted:

\documentclass{article}
\usepackage{graphicx}
\usepackage[raggedright]{sidecap}

\begin{document}

text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

\subsubsection{Variance-covariance propagation: some examples}
\begin{SCfigure}[\sidecaptionrelwidth][!hb]
  \centering
  \includegraphics[scale=0.65]{example-image-a}
  \caption{Angles $\alpha$ $\&$ $\beta$ have been measured with standard deviation of $s_\alpha=s_\beta=1$ mgon Compute the Standard Deviation $S_\gamma$}
\end{SCfigure}

\end{document}

ingrese la descripción de la imagen aquí

Si quieres colocar la figura exactamente donde aparece en el código, cambia al potentefloatrowpaquete que le permite utilizar el especificador flotante de ubicación H:

\documentclass{article}
\usepackage{graphicx}
\usepackage{floatrow}

\begin{document}

text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

\subsubsection{Variance-covariance propagation: some examples}

\thisfloatsetup{
  capposition=beside,
  capbesideposition={bottom,right},
  capbesidewidth=.3\textwidth,
  justification=raggedright
}
\begin{figure}[H]
  \floatbox{figure}[\FBwidth]{\caption{Angles $\alpha$ $\&$ $\beta$ have been measured with standard deviation of $s_\alpha=s_\beta=1$ mgon Compute the Standard Deviation $S_\gamma$}
}{\includegraphics[width=0.65\textwidth]{example-image-a}}
\end{figure}

\end{document}

Tenga en cuenta que, en general, es mejor utilizar las opciones widthy/o para que .height\includegraphicsscale

ingrese la descripción de la imagen aquí

información relacionada