tufte-style-thesis icon indicating copy to clipboard operation
tufte-style-thesis copied to clipboard

figure* env sliding out of page margin

Open gabs1234 opened this issue 2 years ago • 1 comments

Not sure if I'm doing something of-the-heretic-style, but getting some weird behaviour from figure* env when using some big subfigs (with widths bigger than .5\linewidth).

\documentclass[
	11pt,
	colorful,
	boxey,
]{tufte-style-thesis}
\usepackage{amssymb}
\usepackage{svg}
\usepackage{float}
\usepackage{hyperref}
\usepackage{siunitx}
\usepackage[acronym]{glossaries}
\usepackage{epigraph}
\usepackage{colortbl}
\usepackage{subcaption}
\usepackage{graphicx}

\captionsetup[subfigure]{justification=centering}

[...]
\begin{figure*}
    \centering
    \begin{subfigure}{.54\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figures/squares.png}
        \subcaption{Cubic glyphs}
        \label{subfig:squares}
    \end{subfigure}%
    \begin{subfigure}{.54\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figures/cylinders.png}
        \subcaption{Cylindrical glyphs}
        \label{subfig:cylinders}
    \end{subfigure}
    \begin{subfigure}{.54\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figures/ellipsoids.png}
        \subcaption{Ellipsoid glyphs}
        \label{subfig:ellipsoids}
    \end{subfigure}%
    \begin{subfigure}{.54\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figures/arrows.png}
        \subcaption{Arrow glyphs}
        \label{subfig:arrows}
    \end{subfigure}
    \begin{subfigure}{.6\linewidth}
        \centering
        \includegraphics[width=\linewidth]{figures/superquadrics.png}
        \subcaption{Superquadric glyphs}
        \label{subfig:superquadrics}
    \end{subfigure}
    \caption{Panel of 4 different types of glyphs. For each series of glyphs, we vary the eigenvalues over three barycentric points: $(\lambda_1, \lambda_2, \lambda_3)$, $(\lambda_1, \lambda_2, \lambda_3)$ \label{fig:glyphs}}
\end{figure*}

[...]

image

gabs1234 avatar Aug 26 '22 10:08 gabs1234

Not sure if this is related, but margin figures also run out of the page. They then have to placed manually to be visible completely.

eliasgruenewald avatar Aug 28 '23 11:08 eliasgruenewald