float, wrapfig y rotating en Scissor LaTeX
Los paquetes float, wrapfig y rotating funcionan en parte en Scissor LaTeX: [H] de float mantiene una figura exactamente donde la escribiste, mientras que wrapfigure y wraptable se convierten en flotantes normales centrados sin texto a su alrededor, sidewaysfigure y sidewaystable no se giran, y \newfloat y \restylefloat son desconocidos.
Qué hacen los paquetes
floatañade la colocación[H]("exactamente aquí, no la muevas"), y\newfloaty\restylefloatpara tus propios tipos y estilos de flotante.wrapfigañadewrapfigureywraptable, que se sitúan al lado del texto con el párrafo fluyendo a su alrededor.rotatingañadesidewaysfigureysidewaystable, que giran un flotante 90 grados en una página propia, y los entornosturnyrotatepara cualquier contenido.
Qué funciona aquí
| Función | En Scissor LaTeX | Notas |
|---|---|---|
\begin{figure}[H] | Funciona | La figura se queda donde está en el texto. |
\newfloat, \floatstyle, \restylefloat | No compatible | Se omiten con una nota en Problemas, y sus argumentos se imprimen como texto. |
wrapfigure, wraptable | En parte | Una figura o tabla normal centrada, con su pie. El texto no fluye a su alrededor y el ancho se ignora. |
sidewaysfigure, sidewaystable | En parte | Una figura o tabla normal, sin girar. |
landscape (pdflscape, lscape) | En parte | El contenido se mantiene en una página normal. |
Entornos turn, rotate | No compatible | El contenido se mantiene, sin girar, y el ángulo se imprime como texto. |
Ejemplos
[H] mantiene la figura entre los dos párrafos:
[H] coloca la figura aquí
John Doe measured the length of 44 rods.
\begin{figure}[H]
\centering
\fbox{Histogram of the rod lengths}
\caption{Rod lengths.}
\end{figure}
Most rods are close to the mean.Un wrapfigure se convierte en una figura normal centrada, y el texto continúa debajo:
wrapfigure sin texto alrededor
\begin{wrapfigure}{r}{0.4\textwidth}
\centering
\fbox{Portrait}
\caption{Erika Mustermann.}
\end{wrapfigure}
Erika Mustermann has led the lab since 2021. In a TeX installation
this paragraph would flow around the portrait on the right; here it
starts below the figure.Un sidewaystable conserva su contenido, sin girar:
sidewaystable no se gira
\begin{sidewaystable}
\centering
\caption{A wide table.}
\begin{tabular}{lrrrr}
Year & Q1 & Q2 & Q3 & Q4 \\
2025 & 44 & 47 & 51 & 50 \\
\end{tabular}
\end{sidewaystable}Compatibilidad
- De una instalación de TeX a aquí: los documentos se componen. Las figuras rodeadas de texto aparecen como flotantes de todo el ancho, y los flotantes girados quedan derechos, así que una tabla muy ancha puede salirse del margen.
- De aquí a una instalación de TeX: los documentos se compilan allí sin cambios, y se aplican el texto alrededor y el giro.
Los manuales completos están en CTAN: ctan.org/pkg/float, ctan.org/pkg/wrapfig y ctan.org/pkg/rotating. Para la colocación en general, consulta Flotantes: colocar figuras y tablas.
Consulta también Flotantes, Figuras e imágenes y caption, subcaption.
Preguntas y respuestas
¿Cómo evito que una figura se mueva?
Carga float y escribe \begin{figure}[H]. Aquí las colocaciones con h también mantienen la figura en su sitio.
¿Puede el texto fluir alrededor de una imagen?
Todavía no. Un wrapfigure se muestra como una figura normal encima del texto que la sigue.
Scissor LaTeX compone cada ejemplo de esta página al generar el sitio. Última actualización: 2026-11-07.